Module regex_cursor::engines::pikevm
source · Structs§
- A builder for a
PikeVM
. - A cache represents mutable state that a
PikeVM
requires during a search. - The configuration used for building a
PikeVM
. - An iterator over all non-overlapping matches for a particular search.
- A virtual machine for executing regex searches with capturing groups.
Functions§
- Returns an iterator over all non-overlapping leftmost matches in the given bytes. If no match exists, then the iterator yields no elements.
- Returns true if and only if this
PikeVM
matches the given haystack. - Executes a leftmost forward search and writes the spans of capturing groups that participated in a match into the provided
Captures
value. If no match was found, thenCaptures::is_match
is guaranteed to returnfalse
.