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

    Interface MachineRepeat

    A part matched a number of times.

    interface MachineRepeat {
        description: string;
        parts: readonly TextPart[];
        type: "repeat";
        body: MachinePart;
        min: number;
        max: number;
        greedy: boolean;
    }

    Hierarchy

    • Described
      • MachineRepeat
    Index
    description: string

    What the part matches, which may contain Markdown code spans.

    parts: readonly TextPart[]

    The description split into plain text and code.

    type: "repeat"

    Discriminates the part.

    The repeated part.

    min: number

    The fewest repetitions.

    max: number

    The most repetitions; Infinity when unbounded.

    greedy: boolean

    Whether it repeats as many times as possible rather than as few.