You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, if a regexp contains a character class and that
character class contains a hex-specified code point -- either
\uNNNN or \xNN --, then the character 'u' or 'x' is added to the
character class as well. This patch fixes the error and also adds
a regression test covering the issue.
Fixesjerryscript-project#962
JerryScript-DCO-1.0-Signed-off-by: Akos Kiss [email protected]
Test code:
Output:
The first and last results are incorrect.
This could either be fixed in #961 or handled separately (in which case a regtest could be added to the test suite as well, based on the above).
The text was updated successfully, but these errors were encountered: