saghm / unescape-rs

"Unescapes" strings with escape sequences written with literal characters and converts it into a properly escaped one.
MIT License
11 stars 4 forks source link

Implement full LegacyOctalEscapeSequence support #7

Open DarkDust opened 4 years ago

DarkDust commented 4 years ago

This adds full support for parsing octal sequences as specified by section B.1.2 in ECMAScript 6.0.

Main motivation: This also fixes/implements support for \0.

AurevoirXavier commented 2 years ago

It is included in https://github.com/hack-ink/unescaper now.