1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 10:57:35 +00:00

LibJS: Hook up the 'v' (unicodeSets) RegExp flag

This commit is contained in:
Ali Mohammad Pur 2022-07-16 10:14:03 +04:30 committed by Linus Groh
parent 598dc74a76
commit f4b26b0cea
8 changed files with 80 additions and 30 deletions

View file

@ -5,8 +5,11 @@ test("basic functionality", () => {
expect(/foo/i.flags).toBe("i");
expect(/foo/m.flags).toBe("m");
expect(/foo/s.flags).toBe("s");
expect(/foo/v.flags).toBe("v");
expect(/foo/u.flags).toBe("u");
expect(/foo/y.flags).toBe("y");
// prettier-ignore
expect(/foo/dsgimyu.flags).toBe("dgimsuy");
// prettier-ignore
expect(/foo/dgimsvy.flags).toBe("dgimsvy");
});