#escaping #string #unicode

unescape

Unescapes strings with escape sequences written out as literal characters

1 unstable release

Uses old Rust 2015

0.1.0 Mar 5, 2016

#695 in Text processing

Download history 28593/week @ 2024-02-27 26661/week @ 2024-03-05 30507/week @ 2024-03-12 30555/week @ 2024-03-19 29877/week @ 2024-03-26 27008/week @ 2024-04-02 27194/week @ 2024-04-09 31755/week @ 2024-04-16 28557/week @ 2024-04-23 29396/week @ 2024-04-30 33231/week @ 2024-05-07 32546/week @ 2024-05-14 28054/week @ 2024-05-21 29949/week @ 2024-05-28 34477/week @ 2024-06-04 27619/week @ 2024-06-11

124,553 downloads per month
Used in 77 crates (34 directly)

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