pub fn from_regexes(regexes: &[&str]) -> Result<PatternSet, MatchError>Expand description
Convenience: compile a set of regex patterns for matching.
Each regex gets an ID equal to its index in the slice.
pub fn from_regexes(regexes: &[&str]) -> Result<PatternSet, MatchError>Convenience: compile a set of regex patterns for matching.
Each regex gets an ID equal to its index in the slice.