Skip to main content

unescape

Function unescape 

Source
pub fn unescape(s: &str) -> String
Expand description

Reverse fish’s two-rule escaping: \\\, \n → newline. No other escape exists, so a lone backslash before any other char is kept verbatim.