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

    Interface MatchRequest

    Text to match against a regex. g is added to the flags if missing, so every match is found.

    interface MatchRequest {
        pattern: string;
        flags: string;
        text: string;
        limit: number;
        entries?: boolean;
    }

    Hierarchy (View Summary)

    Index
    pattern: string

    The pattern, without slashes.

    flags: string

    The flags.

    text: string

    The text to search.

    limit: number

    The most matches to return.

    entries?: boolean

    Whether each line of the text is a separate entry, matched on its own, so that ^ and $ match at its ends and no match spans lines. A line break at the end of the text does not start another entry.