Trait safe_regex::IsMatch [−][src]
Provides an is_match function.
Required methods
fn is_match(&self, data: &[u8]) -> bool[src]
Returns true if data matches the regular expression,
otherwise returns false.
This is a whole-string match.
For sub-string search, put .* at the beginning and end of the regex.