summaryrefslogtreecommitdiff
path: root/libregexp.h
diff options
context:
space:
mode:
authorFabrice Bellard <fabrice@bellard.org>2023-12-27 17:19:44 +0100
committerFabrice Bellard <fabrice@bellard.org>2023-12-27 17:19:44 +0100
commita47f40cde88219357e621758f3a941dee773b048 (patch)
tree36d3d6897e64f5039e4b9463960084343df8103f /libregexp.h
parent5fc27dc7cf7a388e3f4ac7c9adb904c17a286333 (diff)
downloadquickjs-a47f40cde88219357e621758f3a941dee773b048.tar.gz
quickjs-a47f40cde88219357e621758f3a941dee773b048.zip
added RegExp 'd' flag (bnoordhuis)
Diffstat (limited to 'libregexp.h')
-rw-r--r--libregexp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libregexp.h b/libregexp.h
index 9aedb7e..c0bc58d 100644
--- a/libregexp.h
+++ b/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 */