Home
last modified time | relevance | path

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

12345678910>>...21

/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 …]
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
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 …]
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
DassignFromStringInterface2.types41 >match : { (regexp: string): string[]; (regexp: RegExp): string[]; }
44 match(regexp: RegExp): string[];
45 >match : { (regexp: string): string[]; (regexp: RegExp): string[]; }
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 …]
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
DparseRegularExpressionMixedWithComments.types3 >regex1 : RegExp
4 >/ asdf / : RegExp
7 >regex2 : RegExp
8 >/ asdf / : RegExp
19 >/ / : RegExp
20 >/asdf / : RegExp
25 >/ asdf/ : RegExp
26 >/ / : 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 …]
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 …]
DvalidRegexp.types3 >x : RegExp
4 >/ [a - z /]$ / : RegExp
8 >x1 : RegExp
9 >/[a-z/]$/i : RegExp
12 >x2 : RegExp
13 >/[a-z/]$ /i : RegExp
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, --, --))
DconstDeclarationShadowedByVarDeclaration3.types6 public regex: RegExp = new RegExp('');
7 >regex : RegExp
8 >new RegExp('') : RegExp
9 >RegExp : RegExpConstructor
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 …]
Dliterals1.types47 >m : RegExp
48 >/q/ : RegExp
51 >n : RegExp
52 >/\d+/g : RegExp
55 >o : RegExp
56 >/[3-5]+/i : RegExp
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 …]
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, --, --))
DbestChoiceType.types10 >''.match : (regexp: string | RegExp) => RegExpMatchArray | null
12 >match : (regexp: string | RegExp) => RegExpMatchArray | null
13 >/ / : RegExp
31 >''.match : (regexp: string | RegExp) => RegExpMatchArray | null
33 >match : (regexp: string | RegExp) => RegExpMatchArray | null
34 >/ / : RegExp
62 >''.match : (regexp: string | RegExp) => RegExpMatchArray | null
64 >match : (regexp: string | RegExp) => RegExpMatchArray | null
65 >/ / : RegExp
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 …]
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/flutter/flutter/packages/flutter_test/lib/src/
Dstack_manipulation.dart18 final RegExp line0 = RegExp(r'^#0 +fail \(.+\)$');
19 final RegExp line1 = RegExp(r'^#1 +_expect \(.+\)$');
20 final RegExp line2 = RegExp(r'^#2 +expect \(.+\)$');
21 final RegExp line3 = RegExp(r'^#3 +expect \(.+\)$');
22 final RegExp line4 = RegExp(r'^#4 +[^(]+ \((.+?):([0-9]+)(?::[0-9]+)?\)$');
/third_party/flutter/engine/flutter/tools/licenses/lib/
Dpatterns.dart9 final RegExp stripDecorations = RegExp(
15 final RegExp newlinePattern = RegExp(r'\r\n?');
17 final RegExp beginLicenseBlock = RegExp(
22 final RegExp endLicenseBlock = RegExp(
27 final RegExp nonSpace = RegExp('[^ ]');
28 final RegExp trailingComma = RegExp(r',[ */]*$');
29 final RegExp trailingColon = RegExp(r':(?: |\*|/|\n|=|-)*$');
30 final RegExp copyrightMentionPattern = RegExp(r'©| \(c\) (?!{)|copy\s*right\b|copy\s*left', caseSen…
31 final RegExp licenseMentionPattern = RegExp(r'license|warrant[iy]', caseSensitive: false);
32 final RegExp copyrightMentionOkPattern = RegExp(
[all …]

12345678910>>...21