regex-explain - v1.6.0
    Preparing search index...

    Interface RegexSource

    A regex as new RegExp(pattern, flags) takes it: the pattern without slashes, and the flags.

    interface RegexSource {
        pattern: string;
        flags: string;
    }

    Hierarchy (View Summary)

    Index
    pattern: string

    The pattern, without slashes.

    flags: string

    The flags.