Module iter

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