use regex::RegexSet;
#[derive(Clone, Debug)]
pub struct Includes {
pub regex: RegexSet,
}
impl Includes {
#[inline]
#[must_use]
pub fn is_match(&self, input: &str) -> bool {
self.regex.is_match(input)
}
#[inline]
#[must_use]
pub fn is_empty(&self) -> bool {
self.regex.is_empty()
}
}