Macro lazy_regex::regex [−][src]
regex!() { /* proc-macro */ }
Expand description
return a lazy static Regex checked at compilation time.
Flags can be specified as suffix:
let case_insensitive_regex = regex!("^ab+$"i);
regex!() { /* proc-macro */ }
return a lazy static Regex checked at compilation time.
Flags can be specified as suffix:
let case_insensitive_regex = regex!("^ab+$"i);