[−][src]Function mruby::extn::core::regexp::syntax::escape_into
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.