Module regex_automata::util::iter
source · Expand description
Generic helpers for iteration of matches from a regex engine in a haystack.
The principle type in this module is a Searcher
. A Searcher
provides
its own lower level iterator-like API in addition to methods for constructing
types that implement Iterator
. The documentation for Searcher
explains a
bit more about why these different APIs exist.
Currently, this module supports iteration over any regex engine that works
with the HalfMatch
, Match
or Captures
types.
Structs§
- An iterator over all non-overlapping captures for an infallible search.
- An iterator over all non-overlapping half matches for an infallible search.
- An iterator over all non-overlapping matches for an infallible search.
- A searcher for creating iterators and performing lower level iteration.
- An iterator over all non-overlapping captures for a fallible search.
- An iterator over all non-overlapping half matches for a fallible search.
- An iterator over all non-overlapping matches for a fallible search.