Macro lazy_regex::regex_is_match
source ยท regex_is_match!() { /* proc-macro */ }
Expand description
Test whether an expression matches a lazy static regular expression (the regex is checked at compile time)
Example:
let b = regex_is_match!("[ab]+", "car");
assert_eq!(b, true);