pub fn escape(text: &str) -> String
escape all resharp meta characters in text, returning a pattern that matches the literal string.
text
assert_eq!(resharp::escape("a+b"), r"a\+b");
escapes all resharp meta characters in text.