Available on crate feature
regexp
only.Expand description
Regular expression parser combinators for bytes.
Functions
- re_capture
alloc
Compares the input with a regular expression and returns the capture groups of the first match in aVec
. - re_captures
alloc
Compares the input with a regular expression and returns the capture groups of all matches in a nestedVec
. - Compares the input with a regular expression and returns the first match.
- Compares the input with a regular expression and returns the whole input if a match is found.
- re_matches
alloc
Compares the input with a regular expression and returns all matches in aVec
.