#unicode #escape #string #strings #unescape

unescape

Unescapes strings with escape sequences written out as literal characters

1 unstable release

0.1.0 Mar 5, 2016

#8 in #escape

Download history 314/week @ 2019-12-10 284/week @ 2019-12-17 224/week @ 2019-12-24 102/week @ 2019-12-31 276/week @ 2020-01-07 242/week @ 2020-01-14 350/week @ 2020-01-21 332/week @ 2020-01-28 927/week @ 2020-02-04 853/week @ 2020-02-11 495/week @ 2020-02-18 782/week @ 2020-02-25 568/week @ 2020-03-03 909/week @ 2020-03-10 969/week @ 2020-03-17 732/week @ 2020-03-24

888 downloads per month
Used in 7 crates

MIT license

4KB
79 lines

js.rs — Parser Build Status

"Unescapes" (JavaScript) strings with escape sequences written out as literal characters.

extern crate unescape;

use unescape::unescape;

fn main() {
  println!("{}", unescape(r"\u0038\u0039")); // prints out "89"
}

No runtime deps