summaryrefslogtreecommitdiff
path: root/regcharclass.h
diff options
context:
space:
mode:
Diffstat (limited to 'regcharclass.h')
-rw-r--r--regcharclass.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/regcharclass.h b/regcharclass.h
index f7b42294d4..497d0914cd 100644
--- a/regcharclass.h
+++ b/regcharclass.h
@@ -269,6 +269,14 @@
: 0 )
/*** GENERATED CODE ***/
+#define is_VERTWS_high(s) \
+( ( ( ( 0xE2 == ((U8*)s)[0] ) && ( 0x80 == ((U8*)s)[1] ) ) && ( ( ((U8*)s)[2] & 0xFE ) == 0xA8 ) ) ? 3 : 0 )
+
+/*** GENERATED CODE ***/
+#define is_VERTWS_high_safe(s,e) \
+( ( ( ( ((e)-(s) > 2) && ( 0xE2 == ((U8*)s)[0] ) ) && ( 0x80 == ((U8*)s)[1] ) ) && ( ( ((U8*)s)[2] & 0xFE ) == 0xA8 ) ) ? 3 : 0 )
+
+/*** GENERATED CODE ***/
#define is_VERTWS_latin1(s) \
( ( 0x0A <= ((U8*)s)[0] && ((U8*)s)[0] <= 0x0D ) || 0x85 == ((U8*)s)[0] )
@@ -284,6 +292,10 @@
( 0x85 == cp || ( 0x85 < cp && \
( 0x2028 == cp || 0x2029 == cp ) ) ) ) )
+/*** GENERATED CODE ***/
+#define is_VERTWS_cp_high(cp) \
+( 0x2028 == cp || 0x2029 == cp )
+
/*
REPLACEMENT: Unicode REPLACEMENT CHARACTER