RegExpConstructor | typescript
Interface RegExpConstructor
Callable
- __call(pattern: RegExp | string): RegExp
- __call(pattern: string, flags?: string): RegExp
-
Parameters
Returns RegExp
-
Parameters
-
pattern: string
-
Optional flags: string
Returns RegExp
Constructors
constructor
- new RegExpConstructor(pattern: RegExp | string): RegExp
- new RegExpConstructor(pattern: string, flags?: string): RegExp
-
Parameters
Returns RegExp
-
Parameters
-
pattern: string
-
Optional flags: string
Returns RegExp
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
lastMatch
lastMatch: string
prototype
prototype: RegExp