Expand description
Regular expressions over byte slices. All match offsets are measured in bytes.
Structsยง
- Captures
- Capture groups for one match. Group zero is the whole match.
- Match
- A match borrowing its input. The end offset is exclusive.
- Regex
- A compiled regex. Clones share the native pattern and may match concurrently.
- Regex
Builder - Options for compiling a regex. By default, matching operates on bytes with ASCII character classes and case-sensitive matching.