Function escape
pub fn escape(pattern: &str) -> String ⓘ
Available on crate feature
dep_regex_lite
only.Expand description
Escapes all regular expression meta characters in pattern
.
The string returned may be safely used as a literal in a regular expression.