about summary refs log tree commit diff stats
path: root/lib/quickjs/libregexp.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/quickjs/libregexp.h')
-rw-r--r--lib/quickjs/libregexp.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/quickjs/libregexp.h b/lib/quickjs/libregexp.h
index 7c03b1ad..757b2773 100644
--- a/lib/quickjs/libregexp.h
+++ b/lib/quickjs/libregexp.h
@@ -34,10 +34,9 @@
 #define LRE_FLAG_IGNORECASE (1 << 1)
 #define LRE_FLAG_MULTILINE  (1 << 2)
 #define LRE_FLAG_DOTALL     (1 << 3)
-#define LRE_FLAG_UTF16      (1 << 4)
+#define LRE_FLAG_UNICODE    (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 */
 
 uint8_t *lre_compile(int *plen, char *error_msg, int error_msg_size,