mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-24 10:18:59 +00:00
LibJS: Hook up the 'v' (unicodeSets) RegExp flag
This commit is contained in:
parent
598dc74a76
commit
f4b26b0cea
Notes:
sideshowbarker
2024-07-17 17:06:59 +09:00
Author: https://github.com/alimpfard
Commit: f4b26b0cea
Pull-request: https://github.com/SerenityOS/serenity/pull/14592
Reviewed-by: https://github.com/linusg ✅
8 changed files with 80 additions and 30 deletions
|
@ -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");
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue