Trait vec_reg::CompiledRegex
source · [−]pub trait CompiledRegex<I> {
fn is_match(&self, input: &[I]) -> bool;
fn find(&self, input: &'t [I]) -> Option<Match<'t, I>>;
fn captures(&self, input: &'t [I]) -> Option<Captures<'t, I>>;
fn is_full_match(&self, input: &[I]) -> bool { ... }
}Required Methods
Returns true if and only if there is a match for the regex in the slice given.
Returns the start and end range of the leftmost-first match in slice. If no match exists, then None is returned.
Provided Methods
sourcefn is_full_match(&self, input: &[I]) -> bool
fn is_full_match(&self, input: &[I]) -> bool
Returns true if and only if match the entire input slice.