pub type DenseDfaIter<T> = DfaIter<DFA<T>>;
Expand description
A DfaIter
using dense::DFA
representation
Aliased Type§
struct DenseDfaIter<T> { /* private fields */ }
Implementations§
Source§impl DenseDfaIter<Vec<u32>>
impl DenseDfaIter<Vec<u32>>
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 dense DfaIter
.
If you want a non-default configuration, then use the
dense::Builder
to set your own configuration.
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 dense multi-DfaIter
.
If you want a non-default configuration, then use the
dense::Builder
to set your own configuration.
See [DFA
] for details