Struct fst::Regex [] [src]

pub struct Regex {
    // some fields omitted
}

Methods

impl Regex
[src]

fn new(re: &str) -> Result<Regex>

fn with_size_limit(size: usize, re: &str) -> Result<Regex>

Trait Implementations

impl Automaton for Regex
[src]

type State = usize

fn start(&self) -> usize

fn is_match(&self, state: usize) -> bool

fn accept(&self, state: usize, byte: u8) -> Option<usize>

impl Debug for Regex
[src]

fn fmt(&self, f: &mut Formatter) -> Result

Formats the value using the given formatter.