RegexGroup
Defined in: packages/format-regex/src/ast.ts:61
(...) (capturing) or (?:...) (non-capturing).
Properties
Section titled “Properties”
readonlybody:AnyRegexNode
Defined in: packages/format-regex/src/ast.ts:69
capturing
Section titled “capturing”
readonlycapturing:boolean
Defined in: packages/format-regex/src/ast.ts:63
index?
Section titled “index?”
readonlyoptionalindex?:number
Defined in: packages/format-regex/src/ast.ts:68
1-based capture index, in left-to-right order of opening parens. Only set
when capturing.
readonlykind:"group"
Defined in: packages/format-regex/src/ast.ts:62
readonlyspan:Span
Defined in: packages/format-regex/src/ast.ts:70