mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 19:07:36 +00:00
LibJS: Hook up the 'v' (unicodeSets) RegExp flag
This commit is contained in:
parent
598dc74a76
commit
f4b26b0cea
8 changed files with 80 additions and 30 deletions
|
@ -124,13 +124,14 @@
|
|||
__JS_ENUMERATE(toPrimitive, to_primitive) \
|
||||
__JS_ENUMERATE(toStringTag, to_string_tag)
|
||||
|
||||
#define JS_ENUMERATE_REGEXP_FLAGS \
|
||||
__JS_ENUMERATE(hasIndices, has_indices, d) \
|
||||
__JS_ENUMERATE(global, global, g) \
|
||||
__JS_ENUMERATE(ignoreCase, ignore_case, i) \
|
||||
__JS_ENUMERATE(multiline, multiline, m) \
|
||||
__JS_ENUMERATE(dotAll, dot_all, s) \
|
||||
__JS_ENUMERATE(unicode, unicode, u) \
|
||||
#define JS_ENUMERATE_REGEXP_FLAGS \
|
||||
__JS_ENUMERATE(hasIndices, has_indices, d) \
|
||||
__JS_ENUMERATE(global, global, g) \
|
||||
__JS_ENUMERATE(ignoreCase, ignore_case, i) \
|
||||
__JS_ENUMERATE(multiline, multiline, m) \
|
||||
__JS_ENUMERATE(dotAll, dot_all, s) \
|
||||
__JS_ENUMERATE(unicodeSets, unicode_sets, v) \
|
||||
__JS_ENUMERATE(unicode, unicode, u) \
|
||||
__JS_ENUMERATE(sticky, sticky, y)
|
||||
|
||||
namespace JS {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue