Module bytes

Module bytes 

Source
Expand description

Search for regex matches in &[u8] haystacks.

TODO: Adapt documentation from src/bytes.rs?

Structs§

CaptureLocations
A low level representation of the byte offsets of each capture group.
CaptureMatches
An iterator over all non-overlapping capture matches in a haystack.
CaptureNames
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.
RegexBuilder
A configurable builder for a Regex.
ReplacerRef
A by-reference adaptor for a Replacer.
Split
An iterator over all substrings delimited by a regex match.
SplitN
An iterator over at most N substrings delimited by a regex match.
SubCaptureMatches
An iterator over all group matches in a Captures value.

Traits§

Replacer
A trait for types that can be used to replace matches in a haystack.