Skip to content

"Unescapes" strings with escape sequences written with literal characters and converts it into a properly escaped one.

License

Notifications You must be signed in to change notification settings

saghm/unescape-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

crates.io Build Status

unescape

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

extern crate unescape;

use unescape::unescape;

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

About

"Unescapes" strings with escape sequences written with literal characters and converts it into a properly escaped one.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages