#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

#990 in Text processing

Download history 33375/week @ 2024-06-18 30539/week @ 2024-06-25 27722/week @ 2024-07-02 30473/week @ 2024-07-09 30408/week @ 2024-07-16 34228/week @ 2024-07-23 29578/week @ 2024-07-30 33350/week @ 2024-08-06 36702/week @ 2024-08-13 33693/week @ 2024-08-20 34339/week @ 2024-08-27 34335/week @ 2024-09-03 34269/week @ 2024-09-10 31456/week @ 2024-09-17 34811/week @ 2024-09-24 31118/week @ 2024-10-01

137,315 downloads per month
Used in 78 crates (33 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