Regex module

Parsed

structSource

Fields

root: *Node
groups: int
capture groups, not counting the whole match
names: [..] string
names[i] is group i's name; names[0] is ""
ok: bool
error: string
offset: int
where in the pattern the error is

See also