Skip to content

RegexProgram

Defined in: packages/format-regex/src/vm/program.ts:29

A compiled regex program: a flat instruction array plus how many capture slots it uses.

readonly groupCount: number

Defined in: packages/format-regex/src/vm/program.ts:35

Number of capturing groups (slots 0/1 are the overall match, not counted here).


readonly instructions: readonly Instruction[]

Defined in: packages/format-regex/src/vm/program.ts:30