pub trait IsMatch {
    fn is_match(&self, data: &[u8]) -> bool;
}
Expand description

Provides an is_match function.

Required methods

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.

Implementors