Home
last modified time | relevance | path

Searched refs:RegExp (Results 1 – 25 of 445) sorted by relevance

12345678910>>...18

/third_party/node/test/parallel/
Dtest-startup-empty-regexp-statics.mjs7 assert.strictEqual(RegExp.$_, '');
8 assert.strictEqual(RegExp.$0, undefined);
9 assert.strictEqual(RegExp.$1, '');
10 assert.strictEqual(RegExp.$2, '');
11 assert.strictEqual(RegExp.$3, '');
12 assert.strictEqual(RegExp.$4, '');
13 assert.strictEqual(RegExp.$5, '');
14 assert.strictEqual(RegExp.$6, '');
15 assert.strictEqual(RegExp.$7, '');
16 assert.strictEqual(RegExp.$8, '');
[all …]
/third_party/typescript/tests/baselines/reference/
DconstructorOverloads5.symbols8 export function RegExp(pattern: string): RegExp;
9 >RegExp : Symbol(RegExp, Decl(constructorOverloads5.ts, 2, 19), Decl(constructorOverloads5.ts, 3, 5…
11 >RegExp : Symbol(RegExp, Decl(constructorOverloads5.ts, 2, 19), Decl(constructorOverloads5.ts, 3, 5…
13 export function RegExp(pattern: string, flags: string): RegExp;
14 >RegExp : Symbol(RegExp, Decl(constructorOverloads5.ts, 2, 19), Decl(constructorOverloads5.ts, 3, 5…
17 >RegExp : Symbol(RegExp, Decl(constructorOverloads5.ts, 2, 19), Decl(constructorOverloads5.ts, 3, 5…
19 export class RegExp {
20 >RegExp : Symbol(RegExp, Decl(constructorOverloads5.ts, 2, 19), Decl(constructorOverloads5.ts, 3, 5…
30 >exec : Symbol(RegExp.exec, Decl(constructorOverloads5.ts, 7, 52))
34 >test : Symbol(RegExp.test, Decl(constructorOverloads5.ts, 8, 39))
[all …]
DassignmentTypeNarrowing.types2 let x: string | number | boolean | RegExp;
3 >x : string | number | boolean | RegExp
7 >x : string | number | boolean | RegExp
15 >[x] : [string | number | boolean | RegExp]
16 >x : string | number | boolean | RegExp
27 >x : string | number | boolean | RegExp
38 >{x} : { x: string | number | boolean | RegExp; }
39 >x : string | number | boolean | RegExp
50 >{y: x} : { y: string | number | boolean | RegExp; }
51 >y : string | number | boolean | RegExp
[all …]
DregExpWithSlashInCharClass.types5 >"a/".replace : { (searchValue: string | RegExp, replaceValue: string): string; (searchValue: strin…
7 >replace : { (searchValue: string | RegExp, replaceValue: string): string; (searchValue: string | R…
8 >/.[/]/ : RegExp
14 >"a//".replace : { (searchValue: string | RegExp, replaceValue: string): string; (searchValue: stri…
16 >replace : { (searchValue: string | RegExp, replaceValue: string): string; (searchValue: string | R…
17 >/.[//]/g : RegExp
23 >"a/".replace : { (searchValue: string | RegExp, replaceValue: string): string; (searchValue: strin…
25 >replace : { (searchValue: string | RegExp, replaceValue: string): string; (searchValue: string | R…
26 >/.[/no sleep /till/]/ : RegExp
DassignFromStringInterface2.types41 >match : { (regexp: string): RegExpMatchArray; (regexp: RegExp): RegExpMatchArray; }
44 match(regexp: RegExp): RegExpMatchArray;
45 >match : { (regexp: string): RegExpMatchArray; (regexp: RegExp): RegExpMatchArray; }
46 >regexp : RegExp
49 …args: any[]) => string): string; (searchValue: RegExp, replaceValue: string): string; (searchValue…
54 …args: any[]) => string): string; (searchValue: RegExp, replaceValue: string): string; (searchValue…
60 replace(searchValue: RegExp, replaceValue: string): string;
61 …args: any[]) => string): string; (searchValue: RegExp, replaceValue: string): string; (searchValue…
62 >searchValue : RegExp
65 … replace(searchValue: RegExp, replaceValue: (substring: string, ...args: any[]) => string): string;
[all …]
DconstructorOverloads5.types7 export function RegExp(pattern: string): RegExp;
8 >RegExp : typeof RegExp
11 export function RegExp(pattern: string, flags: string): RegExp;
12 >RegExp : typeof RegExp
16 export class RegExp {
17 >RegExp : RegExp
DcontrolFlowDoWhileStatement.types133 let x: string | number | boolean | RegExp | Function;
134 >x : string | number | boolean | Function | RegExp
138 >x : string | number | boolean | Function | RegExp
147 >x : string | number | boolean | Function | RegExp
157 >x : string | number | boolean | Function | RegExp
163 >x = /a/ : RegExp
164 >x : string | number | boolean | Function | RegExp
165 >/a/ : RegExp
170 x; // number | boolean | RegExp
171 >x : number | true | RegExp
[all …]
DcontrolFlowForInStatement.types2 let x: string | number | boolean | RegExp | Function;
3 >x : string | number | boolean | Function | RegExp
12 >x = /a/ : RegExp
13 >x : string | number | boolean | Function | RegExp
14 >/a/ : RegExp
22 >x : string | number | boolean | Function | RegExp
30 >x : string | number | boolean | Function | RegExp
40 >x : string | number | boolean | Function | RegExp
46 x; // RegExp | string | number | boolean
47 >x : string | number | true | RegExp
DobjectTypeWithStringNamedNumericProperty.types27 "-1.0": RegExp;
28 >"-1.0" : RegExp
107 >r8 : RegExp
108 >i["-1.0"] : RegExp
163 "-1.0": RegExp;
164 >"-1.0" : RegExp
243 >r8 : RegExp
244 >i["-1.0"] : RegExp
281 …".1": Object; "1": number; "1.": string; "1..": boolean; "1.0": Date; "-1.0": RegExp; "-1": Date; }
301 "-1.0": RegExp;
[all …]
DparseRegularExpressionMixedWithComments.types3 >regex1 : RegExp
4 >/ asdf / : RegExp
7 >regex2 : RegExp
8 >/ asdf / : RegExp
19 >/ / : RegExp
20 >/asdf / : RegExp
25 >/ asdf/ : RegExp
26 >/ / : RegExp
DcontrolFlowWhileStatement.types137 let x: string | number | boolean | RegExp | Function;
138 >x : string | number | boolean | Function | RegExp
142 >x : string | number | boolean | Function | RegExp
153 >x : string | number | boolean | Function | RegExp
163 >x : string | number | boolean | Function | RegExp
169 >x = /a/ : RegExp
170 >x : string | number | boolean | Function | RegExp
171 >/a/ : RegExp
173 x; // string | number | boolean | RegExp
174 >x : string | number | true | RegExp
[all …]
DobjectTypesIdentityWithConstructSignatures2.types34 var b = { new(x: RegExp) { return ''; } }; // not a construct signature, function called new
35 >b : { new(x: RegExp): string; }
36 >{ new(x: RegExp) { return ''; } } : { new(x: RegExp): string; }
37 >new : (x: RegExp) => string
38 >x : RegExp
92 >foo4 : { (x: typeof b): any; (x: { new(x: RegExp): string; }): any; }
93 >x : { new(x: RegExp): string; }
94 >b : { new(x: RegExp): string; }
97 >foo4 : { (x: { new(x: RegExp): string; }): any; (x: typeof b): any; }
98 >x : { new(x: RegExp): string; }
[all …]
DparserRegularExpression4.symbols3 >/(\\?|&)adurl=/.test : Symbol(RegExp.test, Decl(lib.es5.d.ts, --, --))
4 >test : Symbol(RegExp.test, Decl(lib.es5.d.ts, --, --))
5 >/(\\?|&)q=/.test : Symbol(RegExp.test, Decl(lib.es5.d.ts, --, --))
6 >test : Symbol(RegExp.test, Decl(lib.es5.d.ts, --, --))
7 >/ (\\ ? | & ) rct = j / .test : Symbol(RegExp.test, Decl(lib.es5.d.ts, --, --))
8 >test : Symbol(RegExp.test, Decl(lib.es5.d.ts, --, --))
9 >/(\\?|&)q=/.test : Symbol(RegExp.test, Decl(lib.es5.d.ts, --, --))
10 >test : Symbol(RegExp.test, Decl(lib.es5.d.ts, --, --))
DvalidRegexp.types3 >x : RegExp
4 >/ [a - z /]$ / : RegExp
8 >x1 : RegExp
9 >/[a-z/]$/i : RegExp
12 >x2 : RegExp
13 >/[a-z/]$ /i : RegExp
DobjectTypesIdentity2.types30 var a: { foo: RegExp; }
31 >a : { foo: RegExp; }
32 >foo : RegExp
83 >foo7 : { (x: A): any; (x: { foo: RegExp; }): any; }
88 >x : { foo: RegExp; }
89 >a : { foo: RegExp; }
92 >foo7 : { (x: A): any; (x: { foo: RegExp; }): any; }
120 >foo10 : { (x: B): any; (x: { foo: RegExp; }): any; }
125 >x : { foo: RegExp; }
126 >a : { foo: RegExp; }
[all …]
DconstDeclarationShadowedByVarDeclaration3.types6 public regex: RegExp = new RegExp('');
7 >regex : RegExp
8 >new RegExp('') : RegExp
9 >RegExp : RegExpConstructor
DcontrolFlowIfStatement.types2 let x: string | number | boolean | RegExp;
3 >x : string | number | boolean | RegExp
9 >x = /a/ : RegExp
10 >x : string | number | boolean | RegExp
11 >/a/ : RegExp
13 if (x /* RegExp */, (x = true)) {
14 >x /* RegExp */, (x = true) : true
15 >x : RegExp
18 >x : string | number | boolean | RegExp
26 >x : string | number | boolean | RegExp
[all …]
DobjectTypesIdentityWithGenericConstructSignaturesDifferingByConstraints.types36 var b = { new<T extends RegExp>(x: T) { return ''; } }; // not a construct signature, function call…
37 >b : { new<T extends RegExp>(x: T): string; }
38 >{ new<T extends RegExp>(x: T) { return ''; } } : { new<T extends RegExp>(x: T): string; }
39 >new : <T extends RegExp>(x: T) => string
94 >foo4 : { (x: typeof b): any; (x: { new<T extends RegExp>(x: T): string; }): any; }
95 >x : { new<T extends RegExp>(x: T): string; }
96 >b : { new<T extends RegExp>(x: T): string; }
99 >foo4 : { (x: { new<T extends RegExp>(x: T): string; }): any; (x: typeof b): any; }
100 >x : { new<T extends RegExp>(x: T): string; }
101 >b : { new<T extends RegExp>(x: T): string; }
[all …]
DobjectTypesIdentityWithCallSignatures2.types48 var b = { foo(x: RegExp) { return ''; } };
49 >b : { foo(x: RegExp): string; }
50 >{ foo(x: RegExp) { return ''; } } : { foo(x: RegExp): string; }
51 >foo : (x: RegExp) => string
52 >x : RegExp
118 >foo4 : { (x: typeof b): any; (x: { foo(x: RegExp): string; }): any; }
119 >x : { foo(x: RegExp): string; }
120 >b : { foo(x: RegExp): string; }
123 >foo4 : { (x: { foo(x: RegExp): string; }): any; (x: typeof b): any; }
124 >x : { foo(x: RegExp): string; }
[all …]
Dliterals1.types47 >m : RegExp
48 >/q/ : RegExp
51 >n : RegExp
52 >/\d+/g : RegExp
55 >o : RegExp
56 >/[3-5]+/i : RegExp
DconstDeclarationShadowedByVarDeclaration3.symbols6 public regex: RegExp = new RegExp('');
8 >RegExp : Symbol(RegExp, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
9 >RegExp : Symbol(RegExp, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
DoverloadResolutionWithAny.types32 …, t: string): number; (s: any, t: string): boolean; (s: string, t: any): RegExp; (s: any, t: any):…
42 (s: string, t: any): RegExp;
53 …, t: string): number; (s: any, t: string): boolean; (s: string, t: any): RegExp; (s: any, t: any):…
59 …, t: string): number; (s: any, t: string): boolean; (s: string, t: any): RegExp; (s: any, t: any):…
65 …, t: string): number; (s: any, t: string): boolean; (s: string, t: any): RegExp; (s: any, t: any):…
69 func2("", x); // RegExp
70 >func2("", x) : RegExp
71 …, t: string): number; (s: any, t: string): boolean; (s: string, t: any): RegExp; (s: any, t: any):…
DunusedVariablesinNamespaces2.types6 >lettersRegexp : RegExp
7 >/^[A-Za-z]+$/ : RegExp
10 >numberRegexp : RegExp
11 >/^[0-9]+$/ : RegExp
23 >lettersRegexp : RegExp
/third_party/node/deps/v8/src/regexp/
Dregexp-interpreter.h20 FAILURE = RegExp::kInternalRegExpFailure,
21 SUCCESS = RegExp::kInternalRegExpSuccess,
22 EXCEPTION = RegExp::kInternalRegExpException,
23 RETRY = RegExp::kInternalRegExpRetry,
24 FALLBACK_TO_EXPERIMENTAL = RegExp::kInternalRegExpFallbackToExperimental,
49 RegExp::CallOrigin call_origin,
56 RegExp::CallOrigin call_origin,
62 int start_position, RegExp::CallOrigin call_origin);
/third_party/node/deps/v8/src/regexp/experimental/
Dexperimental.cc84 USE(RegExp::ThrowRegExpException(isolate, regexp, source, in CompileImpl()
95 RegExp::CreateCaptureNameMap(isolate, parse_result.named_captures); in CompileImpl()
136 int32_t ExecRawImpl(Isolate* isolate, RegExp::CallOrigin call_origin, in ExecRawImpl()
154 } while (result == RegExp::kInternalRegExpRetry && in ExecRawImpl()
155 call_origin == RegExp::kFromRuntime); in ExecRawImpl()
163 RegExp::CallOrigin call_origin, in ExecRaw()
187 RegExp::CallOrigin call_origin, Isolate* isolate, Address regexp) { in MatchForCallFromJs()
191 DCHECK(call_origin == RegExp::CallOrigin::kFromJs); in MatchForCallFromJs()
202 return ExecRaw(isolate, RegExp::kFromJs, regexp_obj, subject_string, in MatchForCallFromJs()
209 RegExp::ExecQuirks exec_quirks) { in Exec()
[all …]

12345678910>>...18