Function regex_syntax::source ·
pub fn escape_into(text: &str, buf: &mut String)
Escapes all meta characters in
text and writes the result into
This will append escape characters into the given buffer. The characters that are appended are safe to use as a literal in a regular expression.