jacket
Search the docs
/
API
Tools
Playground
0.31.0
Regex module
← Regex
Types
Options
Regex
Error
Match
Captures
Static
Look
Node_Kind
Node
Parsed
Inst_Kind
Inst
Transition
Program
OnePass
Edge
Dfa
Skip
Skip_Kind
Engine
Field_Kind
Field_Plan
On this page
Fields
See also
std
/
Extensions
/
Regex
/
Captures
Captures
struct
Source
Where each group matched. Group 0 is the whole match; a group that did not take part has start -1.
Fields
text
:
string
the whole searched string
slots
:
[]
int
start and end of each group, in pairs
names
:
[]
string
See also
Error
Match
Static
Look