This implements support for the \u{1234} Unicode form which allows for an arbitrary number of hex digits. Rust is using these for escaping as well, so by implementing this unescape should now cover most cases of str::escape_default. A test for this has been added as well.
This implements support for the
\u{1234}
Unicode form which allows for an arbitrary number of hex digits. Rust is using these for escaping as well, so by implementing thisunescape
should now cover most cases ofstr::escape_default
. A test for this has been added as well.