mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-09 09:18:42 +09:00
Issue #1284 - Implement /s (dotAll) for regular expressions, v2.
Resolves #1284.
This commit is contained in:
parent
8e5c2bcaaa
commit
8148cf0001
11 changed files with 117 additions and 23 deletions
|
|
@ -5704,6 +5704,7 @@ JS_ObjectIsDate(JSContext* cx, JS::HandleObject obj, bool* isDate);
|
|||
#define JSREG_MULTILINE 0x04u /* treat ^ and $ as begin and end of line */
|
||||
#define JSREG_STICKY 0x08u /* only match starting at lastIndex */
|
||||
#define JSREG_UNICODE 0x10u /* unicode */
|
||||
#define JSREG_DOTALL 0x20u /* match . to everything including newlines */
|
||||
|
||||
extern JS_PUBLIC_API(JSObject*)
|
||||
JS_NewRegExpObject(JSContext* cx, const char* bytes, size_t length, unsigned flags);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue