about summary refs log tree commit diff stats
path: root/lib/quickjs/libregexp.h
diff options
context:
space:
mode:
authorFabrice Bellard <fabrice@bellard.org>2023-12-27 17:19:44 +0100
committerbptato <nincsnevem662@gmail.com>2023-12-28 22:14:38 +0100
commit281e650fbcc4529a7d5835ac2389ffa575a57ea0 (patch)
tree479d09574fc444fcdec4272b7198c02fbf94aa58 /lib/quickjs/libregexp.h
parentab87f26797cbef4b228d4b2399861d2f86766ff9 (diff)
downloadchawan-281e650fbcc4529a7d5835ac2389ffa575a57ea0.tar.gz
added RegExp 'd' flag (bnoordhuis)
Diffstat (limited to 'lib/quickjs/libregexp.h')
-rw-r--r--lib/quickjs/libregexp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/quickjs/libregexp.h b/lib/quickjs/libregexp.h
index 9aedb7e9..c0bc58d0 100644
--- a/lib/quickjs/libregexp.h
+++ b/lib/quickjs/libregexp.h
@@ -36,6 +36,7 @@
 #define LRE_FLAG_DOTALL     (1 << 3)
 #define LRE_FLAG_UTF16      (1 << 4)
 #define LRE_FLAG_STICKY     (1 << 5)
+#define LRE_FLAG_INDICES    (1 << 6) /* Unused by libregexp, just recorded. */
 
 #define LRE_FLAG_NAMED_GROUPS (1 << 7) /* named groups are present in the regexp */