Module regex_automata::util::search
source · Expand description
Types and routines that support the search APIs of most regex engines.
This sub-module isn’t exposed directly, but rather, its contents are exported at the crate root due to the universality of most of the types and routines in this module.
Structs§
- A representation of “half” of a match reported by a DFA.
- The parameters for a regex search including the haystack to search.
- A representation of a match reported by a regex engine.
- An error indicating that a search stopped before reporting whether a match exists or not.
- A set of
PatternID
s. - An error that occurs when a
PatternID
failed to insert into aPatternSet
. - An iterator over all pattern identifiers in a
PatternSet
. - A representation of a span reported by a regex engine.
Enums§
- The type of anchored search to perform.
- The underlying kind of a
MatchError
. - The kind of match semantics to use for a regex pattern.