Function regex_lite::escape
source ยท pub fn escape(pattern: &str) -> String
Expand description
Escapes all regular expression meta characters in pattern
.
The string returned may be safely used as a literal in a regular expression.
pub fn escape(pattern: &str) -> String
Escapes all regular expression meta characters in pattern
.
The string returned may be safely used as a literal in a regular expression.