Update RegExp unicode mode case folding to conform to the standard (#4004)
JerryScript-DCO-1.0-Signed-off-by: Dániel Bátyai daniel.batyai@h-lab.eu
This commit is contained in:
@@ -359,3 +359,8 @@ try {
|
||||
} catch (e) {
|
||||
assert (e instanceof SyntaxError);
|
||||
}
|
||||
|
||||
assert(/\w/iu.test("ſ"));
|
||||
assert(/\w/iu.test("\u212a"));
|
||||
assert(/k/iu.test("\u212a"));
|
||||
assert(/\u{10c90}/iu.test("\u{10cd0}"));
|
||||
|
||||
Reference in New Issue
Block a user