pub trait IntoRegexCI {
// Required method
fn into_regex_ci(self) -> Result<Regex, Error>;
}
Expand description
This trait is implemented for &str
and Regex
such that one can pass either to certain
functions in this library, with a &str
being parsed into a case-insensitive Regex
, and a
Regex
being accepted with its case-sensitivity unchanged.