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