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

    Interface LocatedRegex

    A regex found in source text. The pattern has the source language's string escapes decoded, and the flags are translated to JavaScript.

    interface LocatedRegex {
        pattern: string;
        flags: string;
        start: number;
        end: number;
    }

    Hierarchy (View Summary)

    Index
    pattern: string

    The pattern, without slashes.

    flags: string

    The flags.

    start: number

    Offset where the regex starts, inclusive.

    end: number

    Offset where the regex ends, exclusive.