diff options
author | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-11-18 16:50:40 +0100 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-11-18 16:50:40 +0100 |
commit | 122e1ee6cd24b5de80a1702313db732c8961202a (patch) | |
tree | 4c79ac5ab8d11c15375c42867f9c47f575c5e54f /js/src/jsapi.h | |
parent | 62a72e3d281ea48e7b311a1c153a0e5ae7586da8 (diff) | |
download | UXP-122e1ee6cd24b5de80a1702313db732c8961202a.tar UXP-122e1ee6cd24b5de80a1702313db732c8961202a.tar.gz UXP-122e1ee6cd24b5de80a1702313db732c8961202a.tar.lz UXP-122e1ee6cd24b5de80a1702313db732c8961202a.tar.xz UXP-122e1ee6cd24b5de80a1702313db732c8961202a.zip |
Issue #1284 - Implement /s (dotAll) for regular expressions, v2.
Resolves #1284.
Diffstat (limited to 'js/src/jsapi.h')
-rw-r--r-- | js/src/jsapi.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/js/src/jsapi.h b/js/src/jsapi.h index dc00c650d..1a69b1513 100644 --- a/js/src/jsapi.h +++ b/js/src/jsapi.h @@ -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); |