pub type SparseDfaIter<T> = DfaIter<DFA<T>>;Expand description
A DfaIter using sparse::DFA representation
Aliased Type§
pub struct SparseDfaIter<T> { /* private fields */ }Implementations§
Source§impl SparseDfaIter<Vec<u8>>
impl SparseDfaIter<Vec<u8>>
Sourcepub fn new(pattern: &str) -> Result<Self, BuildError>
pub fn new(pattern: &str) -> Result<Self, BuildError>
Parse the given regular expression using a default configuration and
return the corresponding sparse DfaIter.
If you want a non-default configuration, then use
the dense::Builder to set your own configuration, and then call
dense::DFA::to_sparse to create a sparse DFA.
See [DFA] for details
Sourcepub fn new_many<P: AsRef<str>>(patterns: &[P]) -> Result<Self, BuildError>
pub fn new_many<P: AsRef<str>>(patterns: &[P]) -> Result<Self, BuildError>
Parse the given regular expressions using a default configuration and
return the corresponding sparse multi-DfaIter.
If you want a non-default configuration, then use
the dense::Builder to set your own configuration, and then call
dense::DFA::to_sparse to create a sparse DFA.
See [DFA] for details