[go: up one dir, main page]

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 = Option<usize>

fn start(&self) -> Option<usize>

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

fn can_match(&self, state: &Option<usize>) -> bool

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

impl Debug for Regex
[src]

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

Formats the value using the given formatter.