# Unescaper ### Unescape strings with escape sequences written out as literal characters. [![License](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0) [![Checks](https://github.com/hack-ink/unescaper/workflows/checks/badge.svg)](https://github.com/hack-ink/unescaper/actions/workflows/checks.yml) [![GitHub tag (latest by date)](https://img.shields.io/github/v/tag/hack-ink/unescaper)](https://github.com/hack-ink/unescaper/tags) [![GitHub code lines](https://tokei.rs/b1/github/hack-ink/unescaper)](https://github.com/hack-ink/unescaper) [![GitHub last commit](https://img.shields.io/github/last-commit/hack-ink/unescaper?color=red&style=plastic)](https://github.com/hack-ink/unescaper)

Usage

More Examples rust fn main() { assert_eq!(unescaper::unescape(r"\u000a").unwrap(), "\n"); assert_eq!(unescaper::unescape(r"\u{a}").unwrap(), "\n"); assert_eq!(unescaper::unescape(r"\x0a").unwrap(), "\n"); assert_eq!(unescaper::unescape(r"\12").unwrap(), "\n"); }

Thanks

The idea comes from unescape-rs.
The last commit of that repository was seven years ago.
So, I think it is no longer maintained.
That's why I created this repository, and I have made some improvements.