fn escape_for_ref(s: &str) -> Result<String>
Escape a single string; this is a backend of prefix_escape_for_ref.
prefix_escape_for_ref