Interface RegExpConstructor
Callable
- __call(pattern: RegExp | string): RegExp
- __call(pattern: string, flags?: undefined | string): RegExp
- __call(pattern: RegExp | string, flags?: undefined | string): RegExp
-
Parameters
-
Parameters
-
pattern: string
-
Optional flags: undefined | string
-
Parameters
-
pattern: RegExp | string
-
Optional flags: undefined | string
Constructors
constructor
- new RegExpConstructor(pattern: RegExp | string): RegExp
- new RegExpConstructor(pattern: string, flags?: undefined | string): RegExp
- new RegExpConstructor(pattern: RegExp | string, flags?: undefined | string): RegExp
-
Parameters
-
Parameters
-
pattern: string
-
Optional flags: undefined | string
-
Parameters
-
pattern: RegExp | string
-
Optional flags: undefined | string
Properties
$1
$1: string
$2
$2: string
$3
$3: string
$4
$4: string
$5
$5: string
$6
$6: string
$7
$7: string
$8
$8: string
$9
$9: string
[Symbol.species]
lastMatch
lastMatch: string
prototype