hyperlark (TypeScript)
    Preparing search index...

    Interface Pattern

    A terminal's compiled pattern.

    interface Pattern {
        flags: string[];
        type: "str" | "re";
        value: string;
    }
    Index
    flags: string[]

    Per-terminal inline regex flags (e.g. ["i"]).

    type: "str" | "re"

    "str" = literal, "re" = regular expression.

    value: string

    The literal text or the regex source (unwrapped).