Function grep_cli::unescape_os
source · pub fn unescape_os(string: &OsStr) -> Vec<u8> ⓘ
Expand description
Unescapes an OS string.
This is like unescape
, but accepts an OS string.
Note that this first lossily decodes the given OS string as UTF-8. That is, an escaped string (the thing given) should be valid UTF-8.