Interface RegExpConstructor

    interface RegExpConstructor {
        new RegExpConstructornew (pattern: string | RegExp): RegExp;
        new RegExpConstructornew (pattern: string, flags?: string): RegExp;
        new RegExpConstructornew (pattern: string | RegExp, flags?: string): RegExp;
        [species]: RegExpConstructor;
        $_: string;
        $': string;
        $&: string;
        $`: string;
        $+: string;
        $1: string;
        $2: string;
        $3: string;
        $4: string;
        $5: string;
        $6: string;
        $7: string;
        $8: string;
        $9: string;
        input: string;
        lastMatch: string;
        lastParen: string;
        leftContext: string;
        prototype: RegExp;
        rightContext: string;
        (pattern: string | RegExp): RegExp;
        (pattern: string, flags?: string): RegExp;
        (pattern: string | RegExp, flags?: string): RegExp;
    }
    • Parameters

      Returns RegExp

    • Parameters

      • pattern: string
      • Optionalflags: string

      Returns RegExp

    • Parameters

      • pattern: string | RegExp
      • Optionalflags: string

      Returns RegExp

    Constructors

    • Parameters

      Returns RegExp

    • Parameters

      • pattern: string
      • Optionalflags: string

      Returns RegExp

    • Parameters

      • pattern: string | RegExp
      • Optionalflags: string

      Returns RegExp

    Properties

    $_: string

    A legacy feature for browser compatibility

    $': string

    A legacy feature for browser compatibility

    $&: string

    A legacy feature for browser compatibility

    $`: string

    A legacy feature for browser compatibility

    $+: string

    A legacy feature for browser compatibility

    $1: string

    A legacy feature for browser compatibility

    $2: string

    A legacy feature for browser compatibility

    $3: string

    A legacy feature for browser compatibility

    $4: string

    A legacy feature for browser compatibility

    $5: string

    A legacy feature for browser compatibility

    $6: string

    A legacy feature for browser compatibility

    $7: string

    A legacy feature for browser compatibility

    $8: string

    A legacy feature for browser compatibility

    $9: string

    A legacy feature for browser compatibility

    input: string

    A legacy feature for browser compatibility

    lastMatch: string

    A legacy feature for browser compatibility

    lastParen: string

    A legacy feature for browser compatibility

    leftContext: string

    A legacy feature for browser compatibility

    prototype: RegExp
    rightContext: string

    A legacy feature for browser compatibility