Struct fst::Regex
[−]
[src]
pub struct Regex {
// some fields omitted
}Methods
impl Regex[src]
Trait Implementations
impl Automaton for Regex[src]
type State = Option<usize>
The type of the state used in the automaton.
fn start(&self) -> Option<usize>
Returns a single start state for this automaton. Read more
fn is_match(&self, state: &Option<usize>) -> bool
Returns true if and only if state is a match state.
fn can_match(&self, state: &Option<usize>) -> bool
Returns true if and only if state can lead to a match in zero or more steps. Read more
fn accept(&self, state: &Option<usize>, byte: u8) -> Option<usize>
Return the next state given state and an input.