Module regex

Source

Structsยง

Builder
A builder for configuring and constructing a Regex.
Cache
Represents mutable scratch space used by regex engines during a search.
CapturesMatches
An iterator over all non-overlapping leftmost matches with their capturing groups.
Config
An object describing the configuration of a Regex.
FindMatches
An iterator over all non-overlapping matches.
Regex
A regex matcher that works by composing several other regex matchers automatically.
RegexI ๐Ÿ”’
The internal implementation of Regex, split out so that it can be wrapped in an Arc.
RegexInfo ๐Ÿ”’
RegexInfoI ๐Ÿ”’
Split
Yields all substrings delimited by a regular expression match.
SplitN
Yields at most N spans delimited by a regular expression match.

Type Aliasesยง

CachePool ๐Ÿ”’
A type alias for our pool of meta::Cache that fixes the type parameters to what we use for the meta regex below.
CachePoolFn ๐Ÿ”’
The type of the closure we use to create new caches. We need to spell out all of the marker traits or else we risk leaking !MARKER impls.
CachePoolGuard ๐Ÿ”’
Same as above, but for the guard returned by a pool.