Function regex_syntax::escape_into [−][src]
pub fn escape_into(text: &str, buf: &mut String)
Escapes all meta characters in text
and writes the result into buf
.
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.