#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

#874 in Text processing

Download history 33761/week @ 2024-07-19 32033/week @ 2024-07-26 31166/week @ 2024-08-02 35433/week @ 2024-08-09 34852/week @ 2024-08-16 35738/week @ 2024-08-23 33377/week @ 2024-08-30 33610/week @ 2024-09-06 32285/week @ 2024-09-13 32831/week @ 2024-09-20 37779/week @ 2024-09-27 38309/week @ 2024-10-04 37106/week @ 2024-10-11 39490/week @ 2024-10-18 36926/week @ 2024-10-25 34711/week @ 2024-11-01

156,790 downloads per month
Used in 80 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