Expand description
Search for regex matches in &[u8] haystacks.
TODO: Adapt documentation from src/bytes.rs?
Structs§
- Capture
Locations - A low level representation of the byte offsets of each capture group.
- Capture
Matches - An iterator over all non-overlapping capture matches in a haystack.
- Capture
Names - An iterator over the names of all capture groups in a regex.
- Captures
- Represents the capture groups for a single match.
- Error
- An error that occurred during parsing or compiling a regular expression.
- Match
- Represents a single match of a regex in a haystack.
- Matches
- An iterator over all non-overlapping matches in a haystack.
- NoExpand
- A helper type for forcing literal string replacement.
- Regex
- A compiled regular expression for searching Unicode haystacks.
- Regex
Builder - A configurable builder for a
Regex. - Replacer
Ref - A by-reference adaptor for a
Replacer. - Split
- An iterator over all substrings delimited by a regex match.
- SplitN
- An iterator over at most
Nsubstrings delimited by a regex match. - SubCapture
Matches - An iterator over all group matches in a
Capturesvalue.
Traits§
- Replacer
- A trait for types that can be used to replace matches in a haystack.