about summary refs log tree commit diff stats
path: root/lib/quickjs/libregexp.h
diff options
context:
space:
mode:
authorCharlie Gordon <github@chqrlie.org>2024-02-19 16:30:08 +0100
committerbptato <nincsnevem662@gmail.com>2024-03-02 18:12:24 +0100
commit566a850964945d12e95fa6290f63783977038f53 (patch)
treeb99c3649ea4b98d23a012be72c42dd696947f12d /lib/quickjs/libregexp.h
parentff2bae1b5519b6ec5dd5abadfe8eead622f6de85 (diff)
downloadchawan-566a850964945d12e95fa6290f63783977038f53.tar.gz
Rename regex flag and field utf16 -> unicode
- rename is_utf16 structure member to is_unicode
- rename flag LRE_FLAG_UTF16 as LRE_FLAG_UNICODE
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,