Skip to main content

unquote

Function unquote 

Source
pub fn unquote(text: &str) -> String
Expand description

Reverse the template’s escape conventions (Perl unquote). Reproduces the original’s exact behavior, including the quirk that \X (X ∈ #?(&,<>\%) is removed entirely (the original ESCAPED_OP regex has no capture group, so the replacement is the empty string), then ### and &amp;&.