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

    Interface RegexExplanationError

    A regex that could not be parsed.

    interface RegexExplanationError {
        pattern: string;
        flags: string;
        ok: false;
        message: string;
        index?: number;
    }

    Hierarchy (View Summary)

    Index
    pattern: string

    The pattern, without slashes.

    flags: string

    The flags.

    ok: false

    Discriminates failure from RegexExplanation.

    message: string

    The parser's error message.

    index?: number

    Offset into the pattern where the error was detected, if known.