captures :: (re: *Regex, text: string, start := 0) -> (Captures, bool)
Parameters
- re: *Regex
- text: string
- start := 0
Returns
- bool
captures :: ($R: Type, text: string, start := 0) -> (R.Groups, bool)
The leftmost match at or after start, with its named groups parsed. False if there is no
match, or a number does not fit its field.
Parameters
- $R: Type
- text: string
- start := 0
Returns
- R.Groups
- bool