pub fn undo(input: &BStr) -> Result<Cow<'_, BStr>, Error>
Expand description

Unquote the given ansi-c quoted input string.

The input is returned unaltered if it doesn’t start with a " character to indicate quotation, otherwise a new unqoted string will always be allocated.

See the tests for quotation examples.