This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perluniprops: Show property name without braces
[perl5.git] / regcharclass.h
CommitLineData
8770da0e 1/* -*- buffer-read-only: t -*-
58fbde93
RGS
2 *
3 * regcharclass.h
4 *
2eee27d7 5 * Copyright (C) 2007, 2011 by Larry Wall and others
58fbde93
RGS
6 *
7 * You may distribute under the terms of either the GNU General Public
8 * License or the Artistic License, as specified in the README file.
9 *
10 * !!!!!!! DO NOT EDIT THIS FILE !!!!!!!
98e310af 11 * This file is built by regen/regcharclass.pl.
58fbde93 12 * Any changes made here will be lost!
212b6c86
KW
13 * WARNING: These macros are for internal Perl core use only, and may be
14 * changed or removed without notice.
58fbde93 15 */
12b72891 16
d10c72f2
KW
17
18#ifndef H_REGCHARCLASS /* Guard against nested #includes */
19#define H_REGCHARCLASS 1
20
12b72891
RGS
21/*
22 LNBREAK: Line Break: \R
23
58fbde93 24 "\x0D\x0A" # CRLF - Network (Windows) line ending
05b688d9 25 \p{VertSpace}
12b72891
RGS
26*/
27/*** GENERATED CODE ***/
28#define is_LNBREAK(s,is_utf8) \
c4c8e615
KW
29( ( 0x0A <= NATIVE_TO_LATIN1(((U8*)s)[0]) && NATIVE_TO_LATIN1(((U8*)s)[0]) <= 0x0C ) ? 1\
30: ( 0x0D == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ? \
31 ( ( 0x0A == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ? 2 : 1 ) \
e64b1bd1 32: ( is_utf8 ) ? \
c4c8e615
KW
33 ( ( 0xC2 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ? \
34 ( ( 0x85 == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ? 2 : 0 ) \
35 : ( ( ( 0xE2 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) && ( 0x80 == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ) && ( ( NATIVE_TO_LATIN1(((U8*)s)[2]) & 0xFE ) == 0xA8 ) ) ? 3 : 0 )\
36: ( 0x85 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) )
e1d1eefb 37
12b72891
RGS
38/*** GENERATED CODE ***/
39#define is_LNBREAK_safe(s,e,is_utf8) \
e64b1bd1 40( ((e)-(s) > 2) ? \
c4c8e615
KW
41 ( ( 0x0A <= NATIVE_TO_LATIN1(((U8*)s)[0]) && NATIVE_TO_LATIN1(((U8*)s)[0]) <= 0x0C ) ? 1\
42 : ( 0x0D == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ? \
43 ( ( 0x0A == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ? 2 : 1 ) \
e64b1bd1 44 : ( is_utf8 ) ? \
c4c8e615
KW
45 ( ( 0xC2 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ? \
46 ( ( 0x85 == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ? 2 : 0 ) \
47 : ( ( ( 0xE2 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) && ( 0x80 == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ) && ( ( NATIVE_TO_LATIN1(((U8*)s)[2]) & 0xFE ) == 0xA8 ) ) ? 3 : 0 )\
48 : ( 0x85 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ) \
e64b1bd1 49: ((e)-(s) > 1) ? \
c4c8e615
KW
50 ( ( 0x0A <= NATIVE_TO_LATIN1(((U8*)s)[0]) && NATIVE_TO_LATIN1(((U8*)s)[0]) <= 0x0C ) ? 1\
51 : ( 0x0D == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ? \
52 ( ( 0x0A == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ? 2 : 1 ) \
e64b1bd1 53 : ( is_utf8 ) ? \
c4c8e615
KW
54 ( ( ( 0xC2 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) && ( 0x85 == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ) ? 2 : 0 )\
55 : ( 0x85 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ) \
e64b1bd1 56: ((e)-(s) > 0) ? \
c4c8e615 57 ( ( 0x0A <= NATIVE_TO_LATIN1(((U8*)s)[0]) && NATIVE_TO_LATIN1(((U8*)s)[0]) <= 0x0D ) ? 1\
e64b1bd1 58 : ( !( is_utf8 ) ) ? \
c4c8e615 59 ( 0x85 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) \
e64b1bd1
YO
60 : 0 ) \
61: 0 )
e1d1eefb 62
12b72891
RGS
63/*** GENERATED CODE ***/
64#define is_LNBREAK_utf8(s) \
c4c8e615
KW
65( ( 0x0A <= NATIVE_TO_LATIN1(((U8*)s)[0]) && NATIVE_TO_LATIN1(((U8*)s)[0]) <= 0x0C ) ? 1\
66: ( 0x0D == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ? \
67 ( ( 0x0A == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ? 2 : 1 ) \
68: ( 0xC2 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ? \
69 ( ( 0x85 == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ? 2 : 0 ) \
70: ( ( ( 0xE2 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) && ( 0x80 == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ) && ( ( NATIVE_TO_LATIN1(((U8*)s)[2]) & 0xFE ) == 0xA8 ) ) ? 3 : 0 )
e1d1eefb 71
12b72891
RGS
72/*** GENERATED CODE ***/
73#define is_LNBREAK_utf8_safe(s,e) \
e64b1bd1 74( ((e)-(s) > 2) ? \
c4c8e615
KW
75 ( ( 0x0A <= NATIVE_TO_LATIN1(((U8*)s)[0]) && NATIVE_TO_LATIN1(((U8*)s)[0]) <= 0x0C ) ? 1\
76 : ( 0x0D == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ? \
77 ( ( 0x0A == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ? 2 : 1 ) \
78 : ( 0xC2 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ? \
79 ( ( 0x85 == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ? 2 : 0 ) \
80 : ( ( ( 0xE2 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) && ( 0x80 == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ) && ( ( NATIVE_TO_LATIN1(((U8*)s)[2]) & 0xFE ) == 0xA8 ) ) ? 3 : 0 )\
e64b1bd1 81: ((e)-(s) > 1) ? \
c4c8e615
KW
82 ( ( 0x0A <= NATIVE_TO_LATIN1(((U8*)s)[0]) && NATIVE_TO_LATIN1(((U8*)s)[0]) <= 0x0C ) ? 1\
83 : ( 0x0D == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ? \
84 ( ( 0x0A == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ? 2 : 1 ) \
85 : ( ( 0xC2 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) && ( 0x85 == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ) ? 2 : 0 )\
e64b1bd1 86: ((e)-(s) > 0) ? \
c4c8e615 87 ( 0x0A <= NATIVE_TO_LATIN1(((U8*)s)[0]) && NATIVE_TO_LATIN1(((U8*)s)[0]) <= 0x0D )\
e64b1bd1 88: 0 )
e1d1eefb 89
12b72891
RGS
90/*** GENERATED CODE ***/
91#define is_LNBREAK_latin1(s) \
c4c8e615
KW
92( ( ( 0x0A <= NATIVE_TO_LATIN1(((U8*)s)[0]) && NATIVE_TO_LATIN1(((U8*)s)[0]) <= 0x0C ) || 0x85 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ? 1\
93: ( 0x0D == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ? \
94 ( ( 0x0A == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ? 2 : 1 ) \
9a3182e9 95: 0 )
e1d1eefb 96
12b72891
RGS
97/*** GENERATED CODE ***/
98#define is_LNBREAK_latin1_safe(s,e) \
e64b1bd1 99( ((e)-(s) > 1) ? \
c4c8e615
KW
100 ( ( ( 0x0A <= NATIVE_TO_LATIN1(((U8*)s)[0]) && NATIVE_TO_LATIN1(((U8*)s)[0]) <= 0x0C ) || 0x85 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ? 1\
101 : ( 0x0D == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ? \
102 ( ( 0x0A == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ? 2 : 1 ) \
9a3182e9 103 : 0 ) \
e64b1bd1 104: ((e)-(s) > 0) ? \
c4c8e615 105 ( ( 0x0A <= NATIVE_TO_LATIN1(((U8*)s)[0]) && NATIVE_TO_LATIN1(((U8*)s)[0]) <= 0x0D ) || 0x85 == NATIVE_TO_LATIN1(((U8*)s)[0]) )\
e64b1bd1 106: 0 )
12b72891
RGS
107
108/*
109 HORIZWS: Horizontal Whitespace: \h \H
110
05b688d9 111 \p{HorizSpace}
12b72891
RGS
112*/
113/*** GENERATED CODE ***/
114#define is_HORIZWS(s,is_utf8) \
c4c8e615 115( ( 0x09 == NATIVE_TO_LATIN1(((U8*)s)[0]) || 0x20 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ? 1\
e64b1bd1 116: ( is_utf8 ) ? \
c4c8e615
KW
117 ( ( 0xC2 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ? \
118 ( ( 0xA0 == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ? 2 : 0 ) \
119 : ( 0xE1 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ? \
a9c9e371 120 ( ( ( 0x9A == NATIVE_TO_LATIN1(((U8*)s)[1]) ) && ( 0x80 == NATIVE_TO_LATIN1(((U8*)s)[2]) ) ) ? 3 : 0 )\
c4c8e615
KW
121 : ( 0xE2 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ? \
122 ( ( 0x80 == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ? \
123 ( ( ( 0x80 <= NATIVE_TO_LATIN1(((U8*)s)[2]) && NATIVE_TO_LATIN1(((U8*)s)[2]) <= 0x8A ) || 0xAF == NATIVE_TO_LATIN1(((U8*)s)[2]) ) ? 3 : 0 )\
124 : ( ( 0x81 == NATIVE_TO_LATIN1(((U8*)s)[1]) ) && ( 0x9F == NATIVE_TO_LATIN1(((U8*)s)[2]) ) ) ? 3 : 0 )\
125 : ( ( ( 0xE3 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) && ( 0x80 == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ) && ( 0x80 == NATIVE_TO_LATIN1(((U8*)s)[2]) ) ) ? 3 : 0 )\
126: ( 0xA0 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) )
e1d1eefb 127
12b72891
RGS
128/*** GENERATED CODE ***/
129#define is_HORIZWS_safe(s,e,is_utf8) \
5ab0c3af 130( ((e) > (s)) ? \
c4c8e615 131 ( ( 0x09 == NATIVE_TO_LATIN1(((U8*)s)[0]) || 0x20 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ? 1\
5ab0c3af
KW
132 : (! is_utf8 ) ? \
133 ( 0xA0 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) \
134 : (((e) - (s)) >= UTF8SKIP(s)) ? \
135 ( ( 0xC2 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ? \
136 ( ( 0xA0 == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ? 2 : 0 ) \
137 : ( 0xE1 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ? \
138 ( ( ( 0x9A == NATIVE_TO_LATIN1(((U8*)s)[1]) ) && ( 0x80 == NATIVE_TO_LATIN1(((U8*)s)[2]) ) ) ? 3 : 0 )\
139 : ( 0xE2 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ? \
140 ( ( 0x80 == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ? \
141 ( ( ( 0x80 <= NATIVE_TO_LATIN1(((U8*)s)[2]) && NATIVE_TO_LATIN1(((U8*)s)[2]) <= 0x8A ) || 0xAF == NATIVE_TO_LATIN1(((U8*)s)[2]) ) ? 3 : 0 )\
142 : ( ( 0x81 == NATIVE_TO_LATIN1(((U8*)s)[1]) ) && ( 0x9F == NATIVE_TO_LATIN1(((U8*)s)[2]) ) ) ? 3 : 0 )\
143 : ( ( ( 0xE3 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) && ( 0x80 == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ) && ( 0x80 == NATIVE_TO_LATIN1(((U8*)s)[2]) ) ) ? 3 : 0 )\
144 : 0 ) \
e64b1bd1 145: 0 )
e1d1eefb 146
12b72891
RGS
147/*** GENERATED CODE ***/
148#define is_HORIZWS_utf8(s) \
c4c8e615
KW
149( ( 0x09 == NATIVE_TO_LATIN1(((U8*)s)[0]) || 0x20 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ? 1\
150: ( 0xC2 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ? \
151 ( ( 0xA0 == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ? 2 : 0 ) \
152: ( 0xE1 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ? \
a9c9e371 153 ( ( ( 0x9A == NATIVE_TO_LATIN1(((U8*)s)[1]) ) && ( 0x80 == NATIVE_TO_LATIN1(((U8*)s)[2]) ) ) ? 3 : 0 )\
c4c8e615
KW
154: ( 0xE2 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ? \
155 ( ( 0x80 == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ? \
156 ( ( ( NATIVE_TO_LATIN1(((U8*)s)[2]) <= 0x8A ) || 0xAF == NATIVE_TO_LATIN1(((U8*)s)[2]) ) ? 3 : 0 )\
157 : ( ( 0x81 == NATIVE_TO_LATIN1(((U8*)s)[1]) ) && ( 0x9F == NATIVE_TO_LATIN1(((U8*)s)[2]) ) ) ? 3 : 0 )\
158: ( ( ( 0xE3 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) && ( 0x80 == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ) && ( 0x80 == NATIVE_TO_LATIN1(((U8*)s)[2]) ) ) ? 3 : 0 )
e1d1eefb 159
12b72891
RGS
160/*** GENERATED CODE ***/
161#define is_HORIZWS_utf8_safe(s,e) \
5ab0c3af 162( ((e) > (s)) ? \
c4c8e615 163 ( ( 0x09 == NATIVE_TO_LATIN1(((U8*)s)[0]) || 0x20 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ? 1\
5ab0c3af
KW
164 : (((e) - (s)) >= UTF8SKIP(s)) ? \
165 ( ( 0xC2 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ? \
166 ( ( 0xA0 == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ? 2 : 0 ) \
167 : ( 0xE1 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ? \
168 ( ( ( 0x9A == NATIVE_TO_LATIN1(((U8*)s)[1]) ) && ( 0x80 == NATIVE_TO_LATIN1(((U8*)s)[2]) ) ) ? 3 : 0 )\
169 : ( 0xE2 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ? \
170 ( ( 0x80 == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ? \
171 ( ( ( 0x80 <= NATIVE_TO_LATIN1(((U8*)s)[2]) && NATIVE_TO_LATIN1(((U8*)s)[2]) <= 0x8A ) || 0xAF == NATIVE_TO_LATIN1(((U8*)s)[2]) ) ? 3 : 0 )\
172 : ( ( 0x81 == NATIVE_TO_LATIN1(((U8*)s)[1]) ) && ( 0x9F == NATIVE_TO_LATIN1(((U8*)s)[2]) ) ) ? 3 : 0 )\
173 : ( ( ( 0xE3 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) && ( 0x80 == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ) && ( 0x80 == NATIVE_TO_LATIN1(((U8*)s)[2]) ) ) ? 3 : 0 )\
174 : 0 ) \
e64b1bd1 175: 0 )
e1d1eefb 176
12b72891
RGS
177/*** GENERATED CODE ***/
178#define is_HORIZWS_latin1(s) \
c4c8e615 179( NATIVE_TO_LATIN1(((U8*)s)[0]) == 0x09 || ( ( NATIVE_TO_LATIN1(((U8*)s)[0]) & 0x7F ) == 0x20 ) )
e1d1eefb 180
12b72891
RGS
181/*** GENERATED CODE ***/
182#define is_HORIZWS_latin1_safe(s,e) \
5ab0c3af 183( ( ((e) - (s)) >= 1 ) ? \
c4c8e615 184 ( NATIVE_TO_LATIN1(((U8*)s)[0]) == 0x09 || ( ( NATIVE_TO_LATIN1(((U8*)s)[0]) & 0x7F ) == 0x20 ) )\
e64b1bd1 185: 0 )
e1d1eefb 186
12b72891 187/*** GENERATED CODE ***/
2cafb56b 188#define is_HORIZWS_high(s) \
c4c8e615 189( ( 0xE1 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ? \
a9c9e371 190 ( ( ( 0x9A == NATIVE_TO_LATIN1(((U8*)s)[1]) ) && ( 0x80 == NATIVE_TO_LATIN1(((U8*)s)[2]) ) ) ? 3 : 0 )\
c4c8e615
KW
191: ( 0xE2 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ? \
192 ( ( 0x80 == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ? \
193 ( ( ( NATIVE_TO_LATIN1(((U8*)s)[2]) <= 0x8A ) || 0xAF == NATIVE_TO_LATIN1(((U8*)s)[2]) ) ? 3 : 0 )\
194 : ( ( 0x81 == NATIVE_TO_LATIN1(((U8*)s)[1]) ) && ( 0x9F == NATIVE_TO_LATIN1(((U8*)s)[2]) ) ) ? 3 : 0 )\
195: ( ( ( 0xE3 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) && ( 0x80 == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ) && ( 0x80 == NATIVE_TO_LATIN1(((U8*)s)[2]) ) ) ? 3 : 0 )
2cafb56b
KW
196
197/*** GENERATED CODE ***/
198#define is_HORIZWS_high_safe(s,e) \
5ab0c3af 199( ( ((e) - (s)) >= 3 ) ? \
c4c8e615 200 ( ( 0xE1 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ? \
a9c9e371 201 ( ( ( 0x9A == NATIVE_TO_LATIN1(((U8*)s)[1]) ) && ( 0x80 == NATIVE_TO_LATIN1(((U8*)s)[2]) ) ) ? 3 : 0 )\
c4c8e615
KW
202 : ( 0xE2 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ? \
203 ( ( 0x80 == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ? \
204 ( ( ( 0x80 <= NATIVE_TO_LATIN1(((U8*)s)[2]) && NATIVE_TO_LATIN1(((U8*)s)[2]) <= 0x8A ) || 0xAF == NATIVE_TO_LATIN1(((U8*)s)[2]) ) ? 3 : 0 )\
205 : ( ( 0x81 == NATIVE_TO_LATIN1(((U8*)s)[1]) ) && ( 0x9F == NATIVE_TO_LATIN1(((U8*)s)[2]) ) ) ? 3 : 0 )\
206 : ( ( ( 0xE3 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) && ( 0x80 == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ) && ( 0x80 == NATIVE_TO_LATIN1(((U8*)s)[2]) ) ) ? 3 : 0 )\
2cafb56b
KW
207: 0 )
208
209/*** GENERATED CODE ***/
12b72891 210#define is_HORIZWS_cp(cp) \
c4c8e615
KW
211( 0x09 == NATIVE_TO_UNI(cp) || ( 0x09 < NATIVE_TO_UNI(cp) && \
212( 0x20 == NATIVE_TO_UNI(cp) || ( 0x20 < NATIVE_TO_UNI(cp) && \
213( 0xA0 == NATIVE_TO_UNI(cp) || ( 0xA0 < NATIVE_TO_UNI(cp) && \
214( 0x1680 == NATIVE_TO_UNI(cp) || ( 0x1680 < NATIVE_TO_UNI(cp) && \
c4c8e615
KW
215( ( 0x2000 <= NATIVE_TO_UNI(cp) && NATIVE_TO_UNI(cp) <= 0x200A ) || ( 0x200A < NATIVE_TO_UNI(cp) &&\
216( 0x202F == NATIVE_TO_UNI(cp) || ( 0x202F < NATIVE_TO_UNI(cp) && \
a9c9e371 217( 0x205F == NATIVE_TO_UNI(cp) || 0x3000 == NATIVE_TO_UNI(cp) ) ) ) ) ) ) ) ) ) ) ) ) )
e1d1eefb 218
2cafb56b
KW
219/*** GENERATED CODE ***/
220#define is_HORIZWS_cp_high(cp) \
c4c8e615 221( 0x1680 == NATIVE_TO_UNI(cp) || ( 0x1680 < NATIVE_TO_UNI(cp) && \
c4c8e615
KW
222( ( 0x2000 <= NATIVE_TO_UNI(cp) && NATIVE_TO_UNI(cp) <= 0x200A ) || ( 0x200A < NATIVE_TO_UNI(cp) &&\
223( 0x202F == NATIVE_TO_UNI(cp) || ( 0x202F < NATIVE_TO_UNI(cp) && \
a9c9e371 224( 0x205F == NATIVE_TO_UNI(cp) || 0x3000 == NATIVE_TO_UNI(cp) ) ) ) ) ) ) )
2cafb56b 225
12b72891
RGS
226/*
227 VERTWS: Vertical Whitespace: \v \V
e1d1eefb 228
05b688d9 229 \p{VertSpace}
12b72891
RGS
230*/
231/*** GENERATED CODE ***/
232#define is_VERTWS(s,is_utf8) \
c4c8e615 233( ( 0x0A <= NATIVE_TO_LATIN1(((U8*)s)[0]) && NATIVE_TO_LATIN1(((U8*)s)[0]) <= 0x0D ) ? 1\
e64b1bd1 234: ( is_utf8 ) ? \
c4c8e615
KW
235 ( ( 0xC2 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ? \
236 ( ( 0x85 == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ? 2 : 0 ) \
237 : ( ( ( 0xE2 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) && ( 0x80 == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ) && ( ( NATIVE_TO_LATIN1(((U8*)s)[2]) & 0xFE ) == 0xA8 ) ) ? 3 : 0 )\
238: ( 0x85 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) )
e1d1eefb 239
12b72891
RGS
240/*** GENERATED CODE ***/
241#define is_VERTWS_safe(s,e,is_utf8) \
5ab0c3af 242( ((e) > (s)) ? \
c4c8e615 243 ( ( 0x0A <= NATIVE_TO_LATIN1(((U8*)s)[0]) && NATIVE_TO_LATIN1(((U8*)s)[0]) <= 0x0D ) ? 1\
5ab0c3af
KW
244 : (! is_utf8 ) ? \
245 ( 0x85 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) \
246 : (((e) - (s)) >= UTF8SKIP(s)) ? \
247 ( ( 0xC2 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ? \
248 ( ( 0x85 == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ? 2 : 0 ) \
249 : ( ( ( 0xE2 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) && ( 0x80 == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ) && ( ( NATIVE_TO_LATIN1(((U8*)s)[2]) & 0xFE ) == 0xA8 ) ) ? 3 : 0 )\
250 : 0 ) \
e64b1bd1 251: 0 )
e1d1eefb 252
12b72891
RGS
253/*** GENERATED CODE ***/
254#define is_VERTWS_utf8(s) \
c4c8e615
KW
255( ( 0x0A <= NATIVE_TO_LATIN1(((U8*)s)[0]) && NATIVE_TO_LATIN1(((U8*)s)[0]) <= 0x0D ) ? 1\
256: ( 0xC2 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ? \
257 ( ( 0x85 == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ? 2 : 0 ) \
258: ( ( ( 0xE2 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) && ( 0x80 == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ) && ( ( NATIVE_TO_LATIN1(((U8*)s)[2]) & 0xFE ) == 0xA8 ) ) ? 3 : 0 )
e1d1eefb 259
12b72891
RGS
260/*** GENERATED CODE ***/
261#define is_VERTWS_utf8_safe(s,e) \
5ab0c3af 262( ((e) > (s)) ? \
c4c8e615 263 ( ( 0x0A <= NATIVE_TO_LATIN1(((U8*)s)[0]) && NATIVE_TO_LATIN1(((U8*)s)[0]) <= 0x0D ) ? 1\
5ab0c3af
KW
264 : (((e) - (s)) >= UTF8SKIP(s)) ? \
265 ( ( 0xC2 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ? \
266 ( ( 0x85 == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ? 2 : 0 ) \
267 : ( ( ( 0xE2 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) && ( 0x80 == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ) && ( ( NATIVE_TO_LATIN1(((U8*)s)[2]) & 0xFE ) == 0xA8 ) ) ? 3 : 0 )\
268 : 0 ) \
e64b1bd1 269: 0 )
e1d1eefb 270
12b72891 271/*** GENERATED CODE ***/
840f8e92 272#define is_VERTWS_high(s) \
c4c8e615 273( ( ( ( 0xE2 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) && ( 0x80 == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ) && ( ( NATIVE_TO_LATIN1(((U8*)s)[2]) & 0xFE ) == 0xA8 ) ) ? 3 : 0 )
840f8e92
KW
274
275/*** GENERATED CODE ***/
276#define is_VERTWS_high_safe(s,e) \
5ab0c3af 277( ( ( ( ( ((e) - (s)) >= 3 ) && ( 0xE2 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ) && ( 0x80 == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ) && ( ( NATIVE_TO_LATIN1(((U8*)s)[2]) & 0xFE ) == 0xA8 ) ) ? 3 : 0 )
840f8e92
KW
278
279/*** GENERATED CODE ***/
12b72891 280#define is_VERTWS_latin1(s) \
c4c8e615 281( ( 0x0A <= NATIVE_TO_LATIN1(((U8*)s)[0]) && NATIVE_TO_LATIN1(((U8*)s)[0]) <= 0x0D ) || 0x85 == NATIVE_TO_LATIN1(((U8*)s)[0]) )
e1d1eefb 282
12b72891
RGS
283/*** GENERATED CODE ***/
284#define is_VERTWS_latin1_safe(s,e) \
5ab0c3af 285( ( ((e) - (s)) >= 1 ) ? \
c4c8e615 286 ( ( 0x0A <= NATIVE_TO_LATIN1(((U8*)s)[0]) && NATIVE_TO_LATIN1(((U8*)s)[0]) <= 0x0D ) || 0x85 == NATIVE_TO_LATIN1(((U8*)s)[0]) )\
e64b1bd1 287: 0 )
e1d1eefb 288
12b72891
RGS
289/*** GENERATED CODE ***/
290#define is_VERTWS_cp(cp) \
c4c8e615
KW
291( ( 0x0A <= NATIVE_TO_UNI(cp) && NATIVE_TO_UNI(cp) <= 0x0D ) || ( 0x0D < NATIVE_TO_UNI(cp) &&\
292( 0x85 == NATIVE_TO_UNI(cp) || ( 0x85 < NATIVE_TO_UNI(cp) && \
293( 0x2028 == NATIVE_TO_UNI(cp) || 0x2029 == NATIVE_TO_UNI(cp) ) ) ) ) )
e1d1eefb 294
840f8e92
KW
295/*** GENERATED CODE ***/
296#define is_VERTWS_cp_high(cp) \
c4c8e615 297( 0x2028 == NATIVE_TO_UNI(cp) || 0x2029 == NATIVE_TO_UNI(cp) )
840f8e92 298
612ead59 299/*
4ac6419d
KW
300 XDIGIT: Hexadecimal digits
301
302 \p{XDigit}
303*/
304/*** GENERATED CODE ***/
305#define is_XDIGIT_utf8(s) \
c4c8e615
KW
306( ( ( 0x30 <= NATIVE_TO_LATIN1(((U8*)s)[0]) && NATIVE_TO_LATIN1(((U8*)s)[0]) <= 0x39 ) || ( 0x41 <= NATIVE_TO_LATIN1(((U8*)s)[0]) && NATIVE_TO_LATIN1(((U8*)s)[0]) <= 0x46 ) || ( 0x61 <= NATIVE_TO_LATIN1(((U8*)s)[0]) && NATIVE_TO_LATIN1(((U8*)s)[0]) <= 0x66 ) ) ? 1\
307: ( 0xEF == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ? \
308 ( ( 0xBC == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ? \
309 ( ( ( 0x90 <= NATIVE_TO_LATIN1(((U8*)s)[2]) && NATIVE_TO_LATIN1(((U8*)s)[2]) <= 0x99 ) || ( 0xA1 <= NATIVE_TO_LATIN1(((U8*)s)[2]) && NATIVE_TO_LATIN1(((U8*)s)[2]) <= 0xA6 ) ) ? 3 : 0 )\
310 : ( ( 0xBD == NATIVE_TO_LATIN1(((U8*)s)[1]) ) && ( 0x81 <= NATIVE_TO_LATIN1(((U8*)s)[2]) && NATIVE_TO_LATIN1(((U8*)s)[2]) <= 0x86 ) ) ? 3 : 0 )\
4ac6419d
KW
311: 0 )
312
313/*** GENERATED CODE ***/
314#define is_XDIGIT_high(s) \
c4c8e615
KW
315( ( 0xEF == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ? \
316 ( ( 0xBC == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ? \
317 ( ( ( 0x90 <= NATIVE_TO_LATIN1(((U8*)s)[2]) && NATIVE_TO_LATIN1(((U8*)s)[2]) <= 0x99 ) || ( 0xA1 <= NATIVE_TO_LATIN1(((U8*)s)[2]) && NATIVE_TO_LATIN1(((U8*)s)[2]) <= 0xA6 ) ) ? 3 : 0 )\
318 : ( ( 0xBD == NATIVE_TO_LATIN1(((U8*)s)[1]) ) && ( 0x81 <= NATIVE_TO_LATIN1(((U8*)s)[2]) && NATIVE_TO_LATIN1(((U8*)s)[2]) <= 0x86 ) ) ? 3 : 0 )\
4ac6419d
KW
319: 0 )
320
321/*** GENERATED CODE ***/
322#define is_XDIGIT_cp_high(cp) \
c4c8e615
KW
323( ( 0xFF10 <= NATIVE_TO_UNI(cp) && NATIVE_TO_UNI(cp) <= 0xFF19 ) || ( 0xFF19 < NATIVE_TO_UNI(cp) &&\
324( ( 0xFF21 <= NATIVE_TO_UNI(cp) && NATIVE_TO_UNI(cp) <= 0xFF26 ) || ( 0xFF41 <= NATIVE_TO_UNI(cp) && NATIVE_TO_UNI(cp) <= 0xFF46 ) ) ) )
4ac6419d
KW
325
326/*
bedac28b
KW
327 XPERLSPACE: \p{XPerlSpace}
328
329 \p{XPerlSpace}
330*/
331/*** GENERATED CODE ***/
332#define is_XPERLSPACE(s,is_utf8) \
c4c8e615 333( ( ( 0x09 <= NATIVE_TO_LATIN1(((U8*)s)[0]) && NATIVE_TO_LATIN1(((U8*)s)[0]) <= 0x0D ) || 0x20 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ? 1\
bedac28b 334: ( is_utf8 ) ? \
c4c8e615
KW
335 ( ( 0xC2 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ? \
336 ( ( 0x85 == NATIVE_TO_LATIN1(((U8*)s)[1]) || 0xA0 == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ? 2 : 0 )\
337 : ( 0xE1 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ? \
a9c9e371 338 ( ( ( 0x9A == NATIVE_TO_LATIN1(((U8*)s)[1]) ) && ( 0x80 == NATIVE_TO_LATIN1(((U8*)s)[2]) ) ) ? 3 : 0 )\
c4c8e615
KW
339 : ( 0xE2 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ? \
340 ( ( 0x80 == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ? \
341 ( ( ( 0x80 <= NATIVE_TO_LATIN1(((U8*)s)[2]) && NATIVE_TO_LATIN1(((U8*)s)[2]) <= 0x8A ) || ( NATIVE_TO_LATIN1(((U8*)s)[2]) & 0xFE ) == 0xA8 || 0xAF == NATIVE_TO_LATIN1(((U8*)s)[2]) ) ? 3 : 0 )\
342 : ( ( 0x81 == NATIVE_TO_LATIN1(((U8*)s)[1]) ) && ( 0x9F == NATIVE_TO_LATIN1(((U8*)s)[2]) ) ) ? 3 : 0 )\
343 : ( ( ( 0xE3 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) && ( 0x80 == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ) && ( 0x80 == NATIVE_TO_LATIN1(((U8*)s)[2]) ) ) ? 3 : 0 )\
344: ( 0x85 == NATIVE_TO_LATIN1(((U8*)s)[0]) || 0xA0 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) )
bedac28b
KW
345
346/*** GENERATED CODE ***/
347#define is_XPERLSPACE_utf8(s) \
c4c8e615
KW
348( ( ( 0x09 <= NATIVE_TO_LATIN1(((U8*)s)[0]) && NATIVE_TO_LATIN1(((U8*)s)[0]) <= 0x0D ) || 0x20 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ? 1\
349: ( 0xC2 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ? \
350 ( ( 0x85 == NATIVE_TO_LATIN1(((U8*)s)[1]) || 0xA0 == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ? 2 : 0 )\
351: ( 0xE1 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ? \
a9c9e371 352 ( ( ( 0x9A == NATIVE_TO_LATIN1(((U8*)s)[1]) ) && ( 0x80 == NATIVE_TO_LATIN1(((U8*)s)[2]) ) ) ? 3 : 0 )\
c4c8e615
KW
353: ( 0xE2 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ? \
354 ( ( 0x80 == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ? \
355 ( ( ( NATIVE_TO_LATIN1(((U8*)s)[2]) <= 0x8A ) || ( NATIVE_TO_LATIN1(((U8*)s)[2]) & 0xFE ) == 0xA8 || 0xAF == NATIVE_TO_LATIN1(((U8*)s)[2]) ) ? 3 : 0 )\
356 : ( ( 0x81 == NATIVE_TO_LATIN1(((U8*)s)[1]) ) && ( 0x9F == NATIVE_TO_LATIN1(((U8*)s)[2]) ) ) ? 3 : 0 )\
357: ( ( ( 0xE3 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) && ( 0x80 == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ) && ( 0x80 == NATIVE_TO_LATIN1(((U8*)s)[2]) ) ) ? 3 : 0 )
bedac28b
KW
358
359/*** GENERATED CODE ***/
360#define is_XPERLSPACE_high(s) \
c4c8e615 361( ( 0xE1 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ? \
a9c9e371 362 ( ( ( 0x9A == NATIVE_TO_LATIN1(((U8*)s)[1]) ) && ( 0x80 == NATIVE_TO_LATIN1(((U8*)s)[2]) ) ) ? 3 : 0 )\
c4c8e615
KW
363: ( 0xE2 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ? \
364 ( ( 0x80 == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ? \
365 ( ( ( NATIVE_TO_LATIN1(((U8*)s)[2]) <= 0x8A ) || ( NATIVE_TO_LATIN1(((U8*)s)[2]) & 0xFE ) == 0xA8 || 0xAF == NATIVE_TO_LATIN1(((U8*)s)[2]) ) ? 3 : 0 )\
366 : ( ( 0x81 == NATIVE_TO_LATIN1(((U8*)s)[1]) ) && ( 0x9F == NATIVE_TO_LATIN1(((U8*)s)[2]) ) ) ? 3 : 0 )\
367: ( ( ( 0xE3 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) && ( 0x80 == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ) && ( 0x80 == NATIVE_TO_LATIN1(((U8*)s)[2]) ) ) ? 3 : 0 )
bedac28b
KW
368
369/*** GENERATED CODE ***/
370#define is_XPERLSPACE_cp_high(cp) \
c4c8e615 371( 0x1680 == NATIVE_TO_UNI(cp) || ( 0x1680 < NATIVE_TO_UNI(cp) && \
c4c8e615
KW
372( ( 0x2000 <= NATIVE_TO_UNI(cp) && NATIVE_TO_UNI(cp) <= 0x200A ) || ( 0x200A < NATIVE_TO_UNI(cp) &&\
373( 0x2028 == NATIVE_TO_UNI(cp) || ( 0x2028 < NATIVE_TO_UNI(cp) && \
374( 0x2029 == NATIVE_TO_UNI(cp) || ( 0x2029 < NATIVE_TO_UNI(cp) && \
375( 0x202F == NATIVE_TO_UNI(cp) || ( 0x202F < NATIVE_TO_UNI(cp) && \
a9c9e371 376( 0x205F == NATIVE_TO_UNI(cp) || 0x3000 == NATIVE_TO_UNI(cp) ) ) ) ) ) ) ) ) ) ) )
bedac28b
KW
377
378/*
b96a92fb
KW
379 REPLACEMENT: Unicode REPLACEMENT CHARACTER
380
381 0xFFFD
382*/
383/*** GENERATED CODE ***/
384#define is_REPLACEMENT_utf8_safe(s,e) \
5ab0c3af 385( ( ( ( ( ((e) - (s)) >= 3 ) && ( 0xEF == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ) && ( 0xBF == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ) && ( 0xBD == NATIVE_TO_LATIN1(((U8*)s)[2]) ) ) ? 3 : 0 )
b96a92fb
KW
386
387/*
388 NONCHAR: Non character code points
389
390 \p{Nchar}
391*/
392/*** GENERATED CODE ***/
393#define is_NONCHAR_utf8(s) \
c4c8e615
KW
394( ( 0xEF == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ? \
395 ( ( 0xB7 == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ? \
396 ( ( 0x90 <= NATIVE_TO_LATIN1(((U8*)s)[2]) && NATIVE_TO_LATIN1(((U8*)s)[2]) <= 0xAF ) ? 3 : 0 )\
397 : ( ( 0xBF == NATIVE_TO_LATIN1(((U8*)s)[1]) ) && ( NATIVE_TO_LATIN1(((U8*)s)[2]) >= 0xBE ) ) ? 3 : 0 )\
398: ( 0xF0 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ? \
399 ( ( ( ( NATIVE_TO_LATIN1(((U8*)s)[1]) == 0x9F || ( ( NATIVE_TO_LATIN1(((U8*)s)[1]) & 0xEF ) == 0xAF ) ) && ( 0xBF == NATIVE_TO_LATIN1(((U8*)s)[2]) ) ) && ( NATIVE_TO_LATIN1(((U8*)s)[3]) >= 0xBE ) ) ? 4 : 0 )\
400: ( 0xF1 <= NATIVE_TO_LATIN1(((U8*)s)[0]) && NATIVE_TO_LATIN1(((U8*)s)[0]) <= 0xF3 ) ?\
401 ( ( ( ( ( NATIVE_TO_LATIN1(((U8*)s)[1]) & 0xCF ) == 0x8F ) && ( 0xBF == NATIVE_TO_LATIN1(((U8*)s)[2]) ) ) && ( NATIVE_TO_LATIN1(((U8*)s)[3]) >= 0xBE ) ) ? 4 : 0 )\
402: ( ( ( ( 0xF4 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) && ( 0x8F == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ) && ( 0xBF == NATIVE_TO_LATIN1(((U8*)s)[2]) ) ) && ( NATIVE_TO_LATIN1(((U8*)s)[3]) >= 0xBE ) ) ? 4 : 0 )
b96a92fb
KW
403
404/*
405 SURROGATE: Surrogate characters
406
407 \p{Gc=Cs}
408*/
409/*** GENERATED CODE ***/
410#define is_SURROGATE_utf8(s) \
c4c8e615 411( ( ( 0xED == NATIVE_TO_LATIN1(((U8*)s)[0]) ) && ( NATIVE_TO_LATIN1(((U8*)s)[1]) >= 0xA0 ) ) ? 3 : 0 )
b96a92fb
KW
412
413/*
612ead59
KW
414 GCB_L: Grapheme_Cluster_Break=L
415
416 \p{_X_GCB_L}
417*/
418/*** GENERATED CODE ***/
419#define is_GCB_L_utf8(s) \
c4c8e615
KW
420( ( 0xE1 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ? \
421 ( ( 0x84 == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ? \
6e130234 422 3 \
c4c8e615
KW
423 : ( ( 0x85 == NATIVE_TO_LATIN1(((U8*)s)[1]) ) && ( NATIVE_TO_LATIN1(((U8*)s)[2]) <= 0x9F ) ) ? 3 : 0 )\
424: ( ( ( 0xEA == NATIVE_TO_LATIN1(((U8*)s)[0]) ) && ( 0xA5 == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ) && ( 0xA0 <= NATIVE_TO_LATIN1(((U8*)s)[2]) && NATIVE_TO_LATIN1(((U8*)s)[2]) <= 0xBC ) ) ? 3 : 0 )
612ead59
KW
425
426/*
427 GCB_LV_LVT_V: Grapheme_Cluster_Break=(LV or LVT or V)
428
429 \p{_X_LV_LVT_V}
430*/
431/*** GENERATED CODE ***/
432#define is_GCB_LV_LVT_V_utf8(s) \
c4c8e615
KW
433( ( 0xE1 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ? \
434 ( ( 0x85 == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ? \
435 ( ( NATIVE_TO_LATIN1(((U8*)s)[2]) >= 0xA0 ) ? 3 : 0 ) \
436 : ( ( 0x86 == NATIVE_TO_LATIN1(((U8*)s)[1]) ) && ( NATIVE_TO_LATIN1(((U8*)s)[2]) <= 0xA7 ) ) ? 3 : 0 )\
437: ( 0xEA == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ? \
438 ( ( NATIVE_TO_LATIN1(((U8*)s)[1]) >= 0xB0 ) ? \
6e130234
KW
439 3 \
440 : 0 ) \
c4c8e615 441: ( 0xEB == NATIVE_TO_LATIN1(((U8*)s)[0]) || 0xEC == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ?\
6e130234 442 3 \
c4c8e615
KW
443: ( 0xED == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ? \
444 ( ( NATIVE_TO_LATIN1(((U8*)s)[1]) <= 0x9D ) ? \
6e130234 445 3 \
c4c8e615
KW
446 : ( 0x9E == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ? \
447 ( ( ( NATIVE_TO_LATIN1(((U8*)s)[2]) <= 0xA3 ) || ( NATIVE_TO_LATIN1(((U8*)s)[2]) >= 0xB0 ) ) ? 3 : 0 )\
448 : ( ( 0x9F == NATIVE_TO_LATIN1(((U8*)s)[1]) ) && ( NATIVE_TO_LATIN1(((U8*)s)[2]) <= 0x86 ) ) ? 3 : 0 )\
612ead59
KW
449: 0 )
450
451/*
452 GCB_Prepend: Grapheme_Cluster_Break=Prepend
453
454 \p{_X_GCB_Prepend}
455*/
456/*** GENERATED CODE ***/
457#define is_GCB_Prepend_utf8(s) \
458( 0 )
459
460/*
461 GCB_RI: Grapheme_Cluster_Break=RI
462
463 \p{_X_RI}
464*/
465/*** GENERATED CODE ***/
466#define is_GCB_RI_utf8(s) \
c4c8e615 467( ( ( ( ( 0xF0 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) && ( 0x9F == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ) && ( 0x87 == NATIVE_TO_LATIN1(((U8*)s)[2]) ) ) && ( NATIVE_TO_LATIN1(((U8*)s)[3]) >= 0xA6 ) ) ? 4 : 0 )
612ead59
KW
468
469/*
bff53399 470 GCB_SPECIAL_BEGIN_START: Grapheme_Cluster_Break=special_begin_starts
612ead59 471
bff53399 472 \p{_X_Special_Begin_Start}
612ead59
KW
473*/
474/*** GENERATED CODE ***/
bff53399 475#define is_GCB_SPECIAL_BEGIN_START_utf8(s) \
c4c8e615
KW
476( ( 0xE1 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ? \
477 ( ( ( NATIVE_TO_LATIN1(((U8*)s)[1]) & 0xFC ) == 0x84 ) ? \
6e130234
KW
478 3 \
479 : 0 ) \
c4c8e615
KW
480: ( 0xEA == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ? \
481 ( ( 0xA5 == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ? \
482 ( ( 0xA0 <= NATIVE_TO_LATIN1(((U8*)s)[2]) && NATIVE_TO_LATIN1(((U8*)s)[2]) <= 0xBC ) ? 3 : 0 )\
483 : ( NATIVE_TO_LATIN1(((U8*)s)[1]) >= 0xB0 ) ? \
6e130234 484 3 \
612ead59 485 : 0 ) \
c4c8e615 486: ( 0xEB == NATIVE_TO_LATIN1(((U8*)s)[0]) || 0xEC == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ?\
6e130234 487 3 \
c4c8e615
KW
488: ( 0xED == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ? \
489 ( ( NATIVE_TO_LATIN1(((U8*)s)[1]) <= 0x9D ) ? \
6e130234 490 3 \
c4c8e615
KW
491 : ( 0x9E == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ? \
492 ( ( ( NATIVE_TO_LATIN1(((U8*)s)[2]) <= 0xA3 ) || ( NATIVE_TO_LATIN1(((U8*)s)[2]) >= 0xB0 ) ) ? 3 : 0 )\
493 : ( ( 0x9F == NATIVE_TO_LATIN1(((U8*)s)[1]) ) && ( ( NATIVE_TO_LATIN1(((U8*)s)[2]) <= 0x86 ) || ( 0x8B <= NATIVE_TO_LATIN1(((U8*)s)[2]) && NATIVE_TO_LATIN1(((U8*)s)[2]) <= 0xBB ) ) ) ? 3 : 0 )\
494: ( ( ( ( 0xF0 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) && ( 0x9F == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ) && ( 0x87 == NATIVE_TO_LATIN1(((U8*)s)[2]) ) ) && ( NATIVE_TO_LATIN1(((U8*)s)[3]) >= 0xA6 ) ) ? 4 : 0 )
612ead59
KW
495
496/*
497 GCB_T: Grapheme_Cluster_Break=T
498
499 \p{_X_GCB_T}
500*/
501/*** GENERATED CODE ***/
502#define is_GCB_T_utf8(s) \
c4c8e615
KW
503( ( 0xE1 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ? \
504 ( ( 0x86 == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ? \
505 ( ( NATIVE_TO_LATIN1(((U8*)s)[2]) >= 0xA8 ) ? 3 : 0 ) \
506 : ( 0x87 == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ? \
6e130234 507 3 \
612ead59 508 : 0 ) \
c4c8e615 509: ( ( ( 0xED == NATIVE_TO_LATIN1(((U8*)s)[0]) ) && ( 0x9F == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ) && ( 0x8B <= NATIVE_TO_LATIN1(((U8*)s)[2]) && NATIVE_TO_LATIN1(((U8*)s)[2]) <= 0xBB ) ) ? 3 : 0 )
612ead59
KW
510
511/*
512 GCB_V: Grapheme_Cluster_Break=V
513
514 \p{_X_GCB_V}
515*/
516/*** GENERATED CODE ***/
517#define is_GCB_V_utf8(s) \
c4c8e615
KW
518( ( 0xE1 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ? \
519 ( ( 0x85 == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ? \
520 ( ( NATIVE_TO_LATIN1(((U8*)s)[2]) >= 0xA0 ) ? 3 : 0 ) \
521 : ( ( 0x86 == NATIVE_TO_LATIN1(((U8*)s)[1]) ) && ( NATIVE_TO_LATIN1(((U8*)s)[2]) <= 0xA7 ) ) ? 3 : 0 )\
522: ( 0xED == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ? \
523 ( ( 0x9E == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ? \
524 ( ( NATIVE_TO_LATIN1(((U8*)s)[2]) >= 0xB0 ) ? 3 : 0 ) \
525 : ( ( 0x9F == NATIVE_TO_LATIN1(((U8*)s)[1]) ) && ( NATIVE_TO_LATIN1(((U8*)s)[2]) <= 0x86 ) ) ? 3 : 0 )\
612ead59
KW
526: 0 )
527
685289b5
KW
528/*
529 QUOTEMETA: Meta-characters that \Q should quote
530
531 \p{_Perl_Quotemeta}
532*/
533/*** GENERATED CODE ***/
534#define is_QUOTEMETA_high(s) \
c4c8e615
KW
535( ( 0xCD == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ? \
536 ( ( 0x8F == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ? 2 : 0 ) \
a9c9e371
KW
537: ( 0xD8 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ? \
538 ( ( 0x9C == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ? 2 : 0 ) \
c4c8e615
KW
539: ( 0xE1 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ? \
540 ( ( 0x85 == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ? \
541 ( ( 0x9F == NATIVE_TO_LATIN1(((U8*)s)[2]) || 0xA0 == NATIVE_TO_LATIN1(((U8*)s)[2]) ) ? 3 : 0 )\
542 : ( 0x9A == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ? \
543 ( ( 0x80 == NATIVE_TO_LATIN1(((U8*)s)[2]) ) ? 3 : 0 ) \
544 : ( 0x9E == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ? \
545 ( ( ( NATIVE_TO_LATIN1(((U8*)s)[2]) & 0xFE ) == 0xB4 ) ? 3 : 0 ) \
546 : ( ( 0xA0 == NATIVE_TO_LATIN1(((U8*)s)[1]) ) && ( 0x8B <= NATIVE_TO_LATIN1(((U8*)s)[2]) && NATIVE_TO_LATIN1(((U8*)s)[2]) <= 0x8E ) ) ? 3 : 0 )\
547: ( 0xE2 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ? \
548 ( ( 0x80 == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ? \
549 ( ( NATIVE_TO_LATIN1(((U8*)s)[2]) <= 0xBE ) ? 3 : 0 ) \
550 : ( 0x81 == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ? \
551 ( ( ( 0x81 <= NATIVE_TO_LATIN1(((U8*)s)[2]) && NATIVE_TO_LATIN1(((U8*)s)[2]) <= 0x93 ) || ( 0x95 <= NATIVE_TO_LATIN1(((U8*)s)[2]) && NATIVE_TO_LATIN1(((U8*)s)[2]) <= 0xAF ) ) ? 3 : 0 )\
552 : ( 0x86 == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ? \
553 ( ( NATIVE_TO_LATIN1(((U8*)s)[2]) >= 0x90 ) ? 3 : 0 ) \
554 : ( ( 0x87 <= NATIVE_TO_LATIN1(((U8*)s)[1]) && NATIVE_TO_LATIN1(((U8*)s)[1]) <= 0x90 ) || ( 0x94 <= NATIVE_TO_LATIN1(((U8*)s)[1]) && NATIVE_TO_LATIN1(((U8*)s)[1]) <= 0x9C ) || ( 0x9F <= NATIVE_TO_LATIN1(((U8*)s)[1]) && NATIVE_TO_LATIN1(((U8*)s)[1]) <= 0xAF ) || ( NATIVE_TO_LATIN1(((U8*)s)[1]) & 0xFE ) == 0xB8 ) ?\
6e130234 555 3 \
c4c8e615
KW
556 : ( 0x91 == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ? \
557 ( ( NATIVE_TO_LATIN1(((U8*)s)[2]) <= 0x9F ) ? 3 : 0 ) \
558 : ( 0x9D == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ? \
559 ( ( NATIVE_TO_LATIN1(((U8*)s)[2]) <= 0xB5 ) ? 3 : 0 ) \
560 : ( ( 0x9E == NATIVE_TO_LATIN1(((U8*)s)[1]) ) && ( NATIVE_TO_LATIN1(((U8*)s)[2]) >= 0x94 ) ) ? 3 : 0 )\
561: ( 0xE3 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ? \
562 ( ( 0x80 == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ? \
563 ( ( ( NATIVE_TO_LATIN1(((U8*)s)[2]) <= 0x83 ) || ( 0x88 <= NATIVE_TO_LATIN1(((U8*)s)[2]) && NATIVE_TO_LATIN1(((U8*)s)[2]) <= 0xA0 ) || 0xB0 == NATIVE_TO_LATIN1(((U8*)s)[2]) ) ? 3 : 0 )\
564 : ( ( 0x85 == NATIVE_TO_LATIN1(((U8*)s)[1]) ) && ( 0xA4 == NATIVE_TO_LATIN1(((U8*)s)[2]) ) ) ? 3 : 0 )\
565: ( 0xEF == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ? \
566 ( ( 0xB4 == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ? \
567 ( ( NATIVE_TO_LATIN1(((U8*)s)[2]) >= 0xBE ) ? 3 : 0 ) \
568 : ( 0xB8 == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ? \
569 ( ( NATIVE_TO_LATIN1(((U8*)s)[2]) <= 0x8F ) ? 3 : 0 ) \
570 : ( 0xB9 == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ? \
571 ( ( 0x85 == NATIVE_TO_LATIN1(((U8*)s)[2]) || 0x86 == NATIVE_TO_LATIN1(((U8*)s)[2]) ) ? 3 : 0 )\
572 : ( 0xBB == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ? \
573 ( ( 0xBF == NATIVE_TO_LATIN1(((U8*)s)[2]) ) ? 3 : 0 ) \
574 : ( 0xBE == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ? \
575 ( ( 0xA0 == NATIVE_TO_LATIN1(((U8*)s)[2]) ) ? 3 : 0 ) \
576 : ( ( 0xBF == NATIVE_TO_LATIN1(((U8*)s)[1]) ) && ( 0xB0 <= NATIVE_TO_LATIN1(((U8*)s)[2]) && NATIVE_TO_LATIN1(((U8*)s)[2]) <= 0xB8 ) ) ? 3 : 0 )\
577: ( 0xF0 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ? \
578 ( ( ( ( 0x9D == NATIVE_TO_LATIN1(((U8*)s)[1]) ) && ( 0x85 == NATIVE_TO_LATIN1(((U8*)s)[2]) ) ) && ( 0xB3 <= NATIVE_TO_LATIN1(((U8*)s)[3]) && NATIVE_TO_LATIN1(((U8*)s)[3]) <= 0xBA ) ) ? 4 : 0 )\
579: ( ( 0xF3 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) && ( 0xA0 == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ) ? 4 : 0 )
685289b5 580
8769f413
KW
581/*
582 MULTI_CHAR_FOLD: multi-char strings that are folded to by a single character
583
584 do regen/regcharclass_multi_char_folds.pl
585 &regcharclass_multi_char_folds::multi_char_folds(1)
586*/
587/*** GENERATED CODE ***/
3a8bbffb
KW
588#define is_MULTI_CHAR_FOLD_utf8_part0(s) \
589( ( ( 0xCC == NATIVE_TO_LATIN1(((U8*)s)[1]) ) && ( 0xB1 == NATIVE_TO_LATIN1(((U8*)s)[2]) ) ) ? 3 : 0 )
590
591
592/*** GENERATED CODE ***/
593#define is_MULTI_CHAR_FOLD_utf8_part1(s) \
594( ( 0x69 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ? \
595 ( ( ( 0xCC == NATIVE_TO_LATIN1(((U8*)s)[1]) ) && ( 0x87 == NATIVE_TO_LATIN1(((U8*)s)[2]) ) ) ? 3 : 0 )\
596: ( 0x6A == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ? \
597 ( ( ( 0xCC == NATIVE_TO_LATIN1(((U8*)s)[1]) ) && ( 0x8C == NATIVE_TO_LATIN1(((U8*)s)[2]) ) ) ? 3 : 0 )\
598: ( 0x73 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ? \
599 ( ( 0x73 == NATIVE_TO_LATIN1(((U8*)s)[1]) || 0x74 == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ? 2 : 0 )\
600: ( 0x74 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ? \
601 ( ( ( 0xCC == NATIVE_TO_LATIN1(((U8*)s)[1]) ) && ( 0x88 == NATIVE_TO_LATIN1(((U8*)s)[2]) ) ) ? 3 : 0 )\
602: ( 0x77 == NATIVE_TO_LATIN1(((U8*)s)[0]) || 0x79 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ?\
603 ( ( ( 0xCC == NATIVE_TO_LATIN1(((U8*)s)[1]) ) && ( 0x8A == NATIVE_TO_LATIN1(((U8*)s)[2]) ) ) ? 3 : 0 )\
604: ( 0xC5 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ? \
605 ( ( ( ( 0xBF == NATIVE_TO_LATIN1(((U8*)s)[1]) ) && ( 0xC5 == NATIVE_TO_LATIN1(((U8*)s)[2]) ) ) && ( 0xBF == NATIVE_TO_LATIN1(((U8*)s)[3]) ) ) ? 4 : 0 )\
606: ( 0xCA == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ? \
607 ( ( ( 0xBC == NATIVE_TO_LATIN1(((U8*)s)[1]) ) && ( 0x6E == NATIVE_TO_LATIN1(((U8*)s)[2]) ) ) ? 3 : 0 )\
608: ( 0xCE == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ? \
609 ( ( ( NATIVE_TO_LATIN1(((U8*)s)[1]) & 0xFD ) == 0xAC ) ? \
610 ( ( ( 0xCE == NATIVE_TO_LATIN1(((U8*)s)[2]) ) && ( 0xB9 == NATIVE_TO_LATIN1(((U8*)s)[3]) ) ) ? 4 : 0 )\
611 : ( 0xB1 == NATIVE_TO_LATIN1(((U8*)s)[1]) || 0xB7 == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ?\
612 ( ( 0xCD == NATIVE_TO_LATIN1(((U8*)s)[2]) ) ? \
613 ( ( 0x82 == NATIVE_TO_LATIN1(((U8*)s)[3]) ) ? \
614 ( ( ( 0xCE == NATIVE_TO_LATIN1(((U8*)s)[4]) ) && ( 0xB9 == NATIVE_TO_LATIN1(((U8*)s)[5]) ) ) ? 6 : 4 )\
615 : 0 ) \
616 : ( ( 0xCE == NATIVE_TO_LATIN1(((U8*)s)[2]) ) && ( 0xB9 == NATIVE_TO_LATIN1(((U8*)s)[3]) ) ) ? 4 : 0 )\
617 : ( 0xB9 == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ? \
618 ( ( 0xCC == NATIVE_TO_LATIN1(((U8*)s)[2]) ) ? \
619 ( ( 0x88 == NATIVE_TO_LATIN1(((U8*)s)[3]) ) ? \
620 ( ( 0xCC == NATIVE_TO_LATIN1(((U8*)s)[4]) ) ? \
621 ( ( NATIVE_TO_LATIN1(((U8*)s)[5]) <= 0x81 ) ? 6 : 0 ) \
622 : ( ( 0xCD == NATIVE_TO_LATIN1(((U8*)s)[4]) ) && ( 0x82 == NATIVE_TO_LATIN1(((U8*)s)[5]) ) ) ? 6 : 0 )\
623 : 0 ) \
624 : ( ( 0xCD == NATIVE_TO_LATIN1(((U8*)s)[2]) ) && ( 0x82 == NATIVE_TO_LATIN1(((U8*)s)[3]) ) ) ? 4 : 0 )\
625 : 0 ) \
626: ( 0xCF == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ? \
627 ( ( 0x81 == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ? \
628 ( ( ( 0xCC == NATIVE_TO_LATIN1(((U8*)s)[2]) ) && ( 0x93 == NATIVE_TO_LATIN1(((U8*)s)[3]) ) ) ? 4 : 0 )\
629 : ( 0x85 == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ? \
630 ( ( 0xCC == NATIVE_TO_LATIN1(((U8*)s)[2]) ) ? \
631 ( ( 0x88 == NATIVE_TO_LATIN1(((U8*)s)[3]) ) ? \
632 ( ( 0xCC == NATIVE_TO_LATIN1(((U8*)s)[4]) ) ? \
633 ( ( NATIVE_TO_LATIN1(((U8*)s)[5]) <= 0x81 ) ? 6 : 0 ) \
634 : ( ( 0xCD == NATIVE_TO_LATIN1(((U8*)s)[4]) ) && ( 0x82 == NATIVE_TO_LATIN1(((U8*)s)[5]) ) ) ? 6 : 0 )\
635 : ( 0x93 == NATIVE_TO_LATIN1(((U8*)s)[3]) ) ? \
636 ( ( 0xCC == NATIVE_TO_LATIN1(((U8*)s)[4]) ) ? \
637 ( ( NATIVE_TO_LATIN1(((U8*)s)[5]) <= 0x81 ) ? 6 : 4 ) \
638 : ( ( 0xCD == NATIVE_TO_LATIN1(((U8*)s)[4]) ) && ( 0x82 == NATIVE_TO_LATIN1(((U8*)s)[5]) ) ) ? 6 : 4 )\
639 : 0 ) \
640 : ( ( 0xCD == NATIVE_TO_LATIN1(((U8*)s)[2]) ) && ( 0x82 == NATIVE_TO_LATIN1(((U8*)s)[3]) ) ) ? 4 : 0 )\
641 : ( 0x89 == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ? \
642 ( ( 0xCD == NATIVE_TO_LATIN1(((U8*)s)[2]) ) ? \
643 ( ( 0x82 == NATIVE_TO_LATIN1(((U8*)s)[3]) ) ? \
644 ( ( ( 0xCE == NATIVE_TO_LATIN1(((U8*)s)[4]) ) && ( 0xB9 == NATIVE_TO_LATIN1(((U8*)s)[5]) ) ) ? 6 : 4 )\
645 : 0 ) \
646 : ( ( 0xCE == NATIVE_TO_LATIN1(((U8*)s)[2]) ) && ( 0xB9 == NATIVE_TO_LATIN1(((U8*)s)[3]) ) ) ? 4 : 0 )\
647 : ( ( ( 0x8E == NATIVE_TO_LATIN1(((U8*)s)[1]) ) && ( 0xCE == NATIVE_TO_LATIN1(((U8*)s)[2]) ) ) && ( 0xB9 == NATIVE_TO_LATIN1(((U8*)s)[3]) ) ) ? 4 : 0 )\
648: ( 0xD5 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ? \
649 ( ( 0xA5 == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ? \
650 ( ( ( 0xD6 == NATIVE_TO_LATIN1(((U8*)s)[2]) ) && ( 0x82 == NATIVE_TO_LATIN1(((U8*)s)[3]) ) ) ? 4 : 0 )\
651 : ( 0xB4 == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ? \
652 ( ( ( 0xD5 == NATIVE_TO_LATIN1(((U8*)s)[2]) ) && ( ( ( NATIVE_TO_LATIN1(((U8*)s)[3]) & 0xF7 ) == 0xA5 ) || NATIVE_TO_LATIN1(((U8*)s)[3]) == 0xAB || NATIVE_TO_LATIN1(((U8*)s)[3]) == 0xB6 ) ) ? 4 : 0 )\
653 : ( ( ( 0xBE == NATIVE_TO_LATIN1(((U8*)s)[1]) ) && ( 0xD5 == NATIVE_TO_LATIN1(((U8*)s)[2]) ) ) && ( 0xB6 == NATIVE_TO_LATIN1(((U8*)s)[3]) ) ) ? 4 : 0 )\
654: ( 0xE1 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ? \
655 ( ( 0xBC == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ? \
656 ( ( ( ( ( NATIVE_TO_LATIN1(((U8*)s)[2]) & 0xD8 ) == 0x80 ) && ( 0xCE == NATIVE_TO_LATIN1(((U8*)s)[3]) ) ) && ( 0xB9 == NATIVE_TO_LATIN1(((U8*)s)[4]) ) ) ? 5 : 0 )\
657 : ( ( ( ( 0xBD == NATIVE_TO_LATIN1(((U8*)s)[1]) ) && ( ( ( NATIVE_TO_LATIN1(((U8*)s)[2]) & 0xF8 ) == 0xA0 ) || ( ( NATIVE_TO_LATIN1(((U8*)s)[2]) & 0xFB ) == 0xB0 ) || NATIVE_TO_LATIN1(((U8*)s)[2]) == 0xBC ) ) && ( 0xCE == NATIVE_TO_LATIN1(((U8*)s)[3]) ) ) && ( 0xB9 == NATIVE_TO_LATIN1(((U8*)s)[4]) ) ) ? 5 : 0 )\
c4c8e615
KW
658: 0 )
659
660
661/*** GENERATED CODE ***/
3a8bbffb 662#define is_MULTI_CHAR_FOLD_utf8(s) \
c4c8e615 663( ( 0x61 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ? \
3a8bbffb
KW
664 ( ( ( 0xCA == NATIVE_TO_LATIN1(((U8*)s)[1]) ) && ( 0xBE == NATIVE_TO_LATIN1(((U8*)s)[2]) ) ) ? 3 : 0 )\
665: ( 0x66 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ? \
666 ( ( 0x66 == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ? \
667 ( ( 0x69 == NATIVE_TO_LATIN1(((U8*)s)[2]) || 0x6C == NATIVE_TO_LATIN1(((U8*)s)[2]) ) ? 3 : 2 )\
668 : ( 0x69 == NATIVE_TO_LATIN1(((U8*)s)[1]) || 0x6C == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ? 2 : 0 )\
669: ( 0x68 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ? is_MULTI_CHAR_FOLD_utf8_part0(s) : is_MULTI_CHAR_FOLD_utf8_part1(s) )
8769f413
KW
670
671/*
40b1ba4f 672 MULTI_CHAR_FOLD: multi-char strings that are folded to by a single character
8769f413
KW
673
674 &regcharclass_multi_char_folds::multi_char_folds(0)
675*/
676/*** GENERATED CODE ***/
3a8bbffb
KW
677#define is_MULTI_CHAR_FOLD_latin1(s) \
678( ( ( NATIVE_TO_LATIN1(((U8*)s)[0]) & 0xDF ) == 0x46 ) ? \
679 ( ( ( NATIVE_TO_LATIN1(((U8*)s)[1]) & 0xDF ) == 0x46 ) ? \
680 ( ( ( ( NATIVE_TO_LATIN1(((U8*)s)[2]) & 0xDF ) == 0x49 ) || ( ( NATIVE_TO_LATIN1(((U8*)s)[2]) & 0xDF ) == 0x4C ) ) ? 3 : 2 )\
681 : ( ( ( NATIVE_TO_LATIN1(((U8*)s)[1]) & 0xDF ) == 0x49 ) || ( ( NATIVE_TO_LATIN1(((U8*)s)[1]) & 0xDF ) == 0x4C ) ) ? 2 : 0 )\
682: ( ( ( NATIVE_TO_LATIN1(((U8*)s)[0]) & 0xDF ) == 0x53 ) && ( ( ( NATIVE_TO_LATIN1(((U8*)s)[1]) & 0xDF ) == 0x53 ) || ( ( NATIVE_TO_LATIN1(((U8*)s)[1]) & 0xDF ) == 0x54 ) ) ) ? 2 : 0 )
8769f413 683
0b50d62a 684/*
1a27eb96
KW
685 FOLDS_TO_MULTI: characters that fold to multi-char strings
686
687 \p{_Perl_Folds_To_Multi_Char}
688*/
689/*** GENERATED CODE ***/
690#define is_FOLDS_TO_MULTI_utf8(s) \
691( ( 0xC3 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ? \
692 ( ( 0x9F == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ? 2 : 0 ) \
693: ( 0xC4 == NATIVE_TO_LATIN1(((U8*)s)[0]) || 0xC7 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ?\
694 ( ( 0xB0 == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ? 2 : 0 ) \
695: ( 0xC5 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ? \
696 ( ( 0x89 == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ? 2 : 0 ) \
697: ( 0xCE == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ? \
698 ( ( ( NATIVE_TO_LATIN1(((U8*)s)[1]) & 0xDF ) == 0x90 ) ? 2 : 0 ) \
699: ( 0xD6 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ? \
700 ( ( 0x87 == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ? 2 : 0 ) \
701: ( 0xE1 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ? \
702 ( ( 0xBA == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ? \
703 ( ( ( 0x96 <= NATIVE_TO_LATIN1(((U8*)s)[2]) && NATIVE_TO_LATIN1(((U8*)s)[2]) <= 0x9A ) || 0x9E == NATIVE_TO_LATIN1(((U8*)s)[2]) ) ? 3 : 0 )\
704 : ( 0xBD == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ? \
705 ( ( ( NATIVE_TO_LATIN1(((U8*)s)[2]) & 0xF9 ) == 0x90 ) ? 3 : 0 ) \
706 : ( 0xBE == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ? \
707 ( ( ( ( NATIVE_TO_LATIN1(((U8*)s)[2]) & 0xE0 ) == 0x80 ) || ( ( NATIVE_TO_LATIN1(((U8*)s)[2]) & 0xF0 ) == 0xA0 ) || ( ( NATIVE_TO_LATIN1(((U8*)s)[2]) & 0xFA ) == 0xB2 ) || ( ( NATIVE_TO_LATIN1(((U8*)s)[2]) & 0xF7 ) == 0xB4 ) ) ? 3 : 0 )\
708 : ( ( 0xBF == NATIVE_TO_LATIN1(((U8*)s)[1]) ) && ( ( ( NATIVE_TO_LATIN1(((U8*)s)[2]) & 0xCA ) == 0x82 ) || ( ( NATIVE_TO_LATIN1(((U8*)s)[2]) & 0xF7 ) == 0x84 ) || NATIVE_TO_LATIN1(((U8*)s)[2]) == 0xA4 || ( ( NATIVE_TO_LATIN1(((U8*)s)[2]) & 0xF7 ) == 0xB4 ) ) ) ? 3 : 0 )\
709: ( ( ( 0xEF == NATIVE_TO_LATIN1(((U8*)s)[0]) ) && ( 0xAC == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ) && ( ( NATIVE_TO_LATIN1(((U8*)s)[2]) <= 0x86 ) || ( 0x93 <= NATIVE_TO_LATIN1(((U8*)s)[2]) && NATIVE_TO_LATIN1(((U8*)s)[2]) <= 0x97 ) ) ) ? 3 : 0 )
710
711/*
31f05a37
KW
712 PROBLEMATIC_LOCALE_FOLD: characters whose fold is problematic under locale
713
714 \p{_Perl_Problematic_Locale_Folds}
715*/
716/*** GENERATED CODE ***/
717#define is_PROBLEMATIC_LOCALE_FOLD_utf8(s) \
718( ( ( NATIVE_TO_LATIN1(((U8*)s)[0]) & 0x80 ) == 0x00 ) ? 1 \
719: ( ( NATIVE_TO_LATIN1(((U8*)s)[0]) & 0xFE ) == 0xC2 ) ? \
720 2 \
721: ( 0xC4 == NATIVE_TO_LATIN1(((U8*)s)[0]) || 0xC7 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ?\
722 ( ( 0xB0 == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ? 2 : 0 ) \
723: ( 0xC5 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ? \
724 ( ( 0x89 == NATIVE_TO_LATIN1(((U8*)s)[1]) || 0xB8 == NATIVE_TO_LATIN1(((U8*)s)[1]) || 0xBF == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ? 2 : 0 )\
725: ( 0xCE == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ? \
726 ( ( ( NATIVE_TO_LATIN1(((U8*)s)[1]) & 0xDF ) == 0x9C ) ? 2 : 0 ) \
727: ( 0xE1 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ? \
728 ( ( ( 0xBA == NATIVE_TO_LATIN1(((U8*)s)[1]) ) && ( ( 0x96 <= NATIVE_TO_LATIN1(((U8*)s)[2]) && NATIVE_TO_LATIN1(((U8*)s)[2]) <= 0x9A ) || 0x9E == NATIVE_TO_LATIN1(((U8*)s)[2]) ) ) ? 3 : 0 )\
729: ( 0xE2 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ? \
730 ( ( ( 0x84 == NATIVE_TO_LATIN1(((U8*)s)[1]) ) && ( ( NATIVE_TO_LATIN1(((U8*)s)[2]) & 0xFE ) == 0xAA ) ) ? 3 : 0 )\
731: ( ( ( 0xEF == NATIVE_TO_LATIN1(((U8*)s)[0]) ) && ( 0xAC == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ) && ( NATIVE_TO_LATIN1(((U8*)s)[2]) <= 0x86 ) ) ? 3 : 0 )
732
733/*** GENERATED CODE ***/
734#define is_PROBLEMATIC_LOCALE_FOLD_cp(cp) \
735( NATIVE_TO_UNI(cp) <= 0xFF || ( 0xFF < NATIVE_TO_UNI(cp) && \
736( 0x130 == NATIVE_TO_UNI(cp) || ( 0x130 < NATIVE_TO_UNI(cp) && \
737( 0x149 == NATIVE_TO_UNI(cp) || ( 0x149 < NATIVE_TO_UNI(cp) && \
738( 0x178 == NATIVE_TO_UNI(cp) || ( 0x178 < NATIVE_TO_UNI(cp) && \
739( 0x17F == NATIVE_TO_UNI(cp) || ( 0x17F < NATIVE_TO_UNI(cp) && \
740( 0x1F0 == NATIVE_TO_UNI(cp) || ( 0x1F0 < NATIVE_TO_UNI(cp) && \
741( 0x39C == NATIVE_TO_UNI(cp) || ( 0x39C < NATIVE_TO_UNI(cp) && \
742( 0x3BC == NATIVE_TO_UNI(cp) || ( 0x3BC < NATIVE_TO_UNI(cp) && \
743( ( 0x1E96 <= NATIVE_TO_UNI(cp) && NATIVE_TO_UNI(cp) <= 0x1E9A ) || ( 0x1E9A < NATIVE_TO_UNI(cp) &&\
744( 0x1E9E == NATIVE_TO_UNI(cp) || ( 0x1E9E < NATIVE_TO_UNI(cp) && \
745( 0x212A == NATIVE_TO_UNI(cp) || ( 0x212A < NATIVE_TO_UNI(cp) && \
746( 0x212B == NATIVE_TO_UNI(cp) || ( 0xFB00 <= NATIVE_TO_UNI(cp) && NATIVE_TO_UNI(cp) <= 0xFB06 ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) )
747
748/*
749 PROBLEMATIC_LOCALE_FOLDEDS_START: The first folded character of folds which are problematic under locale
750
751 \p{_Perl_Problematic_Locale_Foldeds_Start}
752*/
753/*** GENERATED CODE ***/
754#define is_PROBLEMATIC_LOCALE_FOLDEDS_START_utf8(s) \
755( ( ( NATIVE_TO_LATIN1(((U8*)s)[0]) & 0x80 ) == 0x00 ) ? 1 \
756: ( ( NATIVE_TO_LATIN1(((U8*)s)[0]) & 0xFE ) == 0xC2 ) ? \
757 2 \
758: ( 0xC4 == NATIVE_TO_LATIN1(((U8*)s)[0]) || 0xC7 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ?\
759 ( ( 0xB0 == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ? 2 : 0 ) \
760: ( 0xC5 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ? \
761 ( ( 0x89 == NATIVE_TO_LATIN1(((U8*)s)[1]) || 0xB8 == NATIVE_TO_LATIN1(((U8*)s)[1]) || 0xBF == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ? 2 : 0 )\
762: ( 0xCA == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ? \
763 ( ( 0xBC == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ? 2 : 0 ) \
764: ( 0xCE == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ? \
765 ( ( ( NATIVE_TO_LATIN1(((U8*)s)[1]) & 0xDF ) == 0x9C ) ? 2 : 0 ) \
766: ( 0xE1 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ? \
767 ( ( ( 0xBA == NATIVE_TO_LATIN1(((U8*)s)[1]) ) && ( ( 0x96 <= NATIVE_TO_LATIN1(((U8*)s)[2]) && NATIVE_TO_LATIN1(((U8*)s)[2]) <= 0x9A ) || 0x9E == NATIVE_TO_LATIN1(((U8*)s)[2]) ) ) ? 3 : 0 )\
768: ( 0xE2 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ? \
769 ( ( ( 0x84 == NATIVE_TO_LATIN1(((U8*)s)[1]) ) && ( ( NATIVE_TO_LATIN1(((U8*)s)[2]) & 0xFE ) == 0xAA ) ) ? 3 : 0 )\
770: ( ( ( 0xEF == NATIVE_TO_LATIN1(((U8*)s)[0]) ) && ( 0xAC == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ) && ( NATIVE_TO_LATIN1(((U8*)s)[2]) <= 0x86 ) ) ? 3 : 0 )
771
772/*** GENERATED CODE ***/
773#define is_PROBLEMATIC_LOCALE_FOLDEDS_START_cp(cp) \
774( NATIVE_TO_UNI(cp) <= 0xFF || ( 0xFF < NATIVE_TO_UNI(cp) && \
775( 0x130 == NATIVE_TO_UNI(cp) || ( 0x130 < NATIVE_TO_UNI(cp) && \
776( 0x149 == NATIVE_TO_UNI(cp) || ( 0x149 < NATIVE_TO_UNI(cp) && \
777( 0x178 == NATIVE_TO_UNI(cp) || ( 0x178 < NATIVE_TO_UNI(cp) && \
778( 0x17F == NATIVE_TO_UNI(cp) || ( 0x17F < NATIVE_TO_UNI(cp) && \
779( 0x1F0 == NATIVE_TO_UNI(cp) || ( 0x1F0 < NATIVE_TO_UNI(cp) && \
780( 0x2BC == NATIVE_TO_UNI(cp) || ( 0x2BC < NATIVE_TO_UNI(cp) && \
781( 0x39C == NATIVE_TO_UNI(cp) || ( 0x39C < NATIVE_TO_UNI(cp) && \
782( 0x3BC == NATIVE_TO_UNI(cp) || ( 0x3BC < NATIVE_TO_UNI(cp) && \
783( ( 0x1E96 <= NATIVE_TO_UNI(cp) && NATIVE_TO_UNI(cp) <= 0x1E9A ) || ( 0x1E9A < NATIVE_TO_UNI(cp) &&\
784( 0x1E9E == NATIVE_TO_UNI(cp) || ( 0x1E9E < NATIVE_TO_UNI(cp) && \
785( 0x212A == NATIVE_TO_UNI(cp) || ( 0x212A < NATIVE_TO_UNI(cp) && \
786( 0x212B == NATIVE_TO_UNI(cp) || ( 0xFB00 <= NATIVE_TO_UNI(cp) && NATIVE_TO_UNI(cp) <= 0xFB06 ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) )
787
788/*
0b50d62a
KW
789 PATWS: pattern white space
790
791 \p{PatWS}
792*/
793/*** GENERATED CODE ***/
794#define is_PATWS(s,is_utf8) \
c4c8e615 795( ( ( 0x09 <= NATIVE_TO_LATIN1(((U8*)s)[0]) && NATIVE_TO_LATIN1(((U8*)s)[0]) <= 0x0D ) || 0x20 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ? 1\
0b50d62a 796: ( is_utf8 ) ? \
c4c8e615
KW
797 ( ( 0xC2 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ? \
798 ( ( 0x85 == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ? 2 : 0 ) \
799 : ( ( ( 0xE2 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) && ( 0x80 == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ) && ( ( NATIVE_TO_LATIN1(((U8*)s)[2]) & 0xFE ) == 0x8E || ( NATIVE_TO_LATIN1(((U8*)s)[2]) & 0xFE ) == 0xA8 ) ) ? 3 : 0 )\
800: ( 0x85 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) )
0b50d62a
KW
801
802/*** GENERATED CODE ***/
803#define is_PATWS_safe(s,e,is_utf8) \
5ab0c3af 804( ((e) > (s)) ? \
c4c8e615 805 ( ( ( 0x09 <= NATIVE_TO_LATIN1(((U8*)s)[0]) && NATIVE_TO_LATIN1(((U8*)s)[0]) <= 0x0D ) || 0x20 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ? 1\
5ab0c3af
KW
806 : (! is_utf8 ) ? \
807 ( 0x85 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) \
808 : (((e) - (s)) >= UTF8SKIP(s)) ? \
809 ( ( 0xC2 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ? \
810 ( ( 0x85 == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ? 2 : 0 ) \
811 : ( ( ( 0xE2 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) && ( 0x80 == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ) && ( ( NATIVE_TO_LATIN1(((U8*)s)[2]) & 0xFE ) == 0x8E || ( NATIVE_TO_LATIN1(((U8*)s)[2]) & 0xFE ) == 0xA8 ) ) ? 3 : 0 )\
812 : 0 ) \
0b50d62a
KW
813: 0 )
814
815/*** GENERATED CODE ***/
f3b7b534
KW
816#define is_PATWS_non_low(s,is_utf8) \
817( ( is_utf8 ) ? \
c4c8e615
KW
818 ( ( 0xC2 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ? \
819 ( ( 0x85 == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ? 2 : 0 ) \
820 : ( ( ( 0xE2 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) && ( 0x80 == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ) && ( ( NATIVE_TO_LATIN1(((U8*)s)[2]) & 0xFE ) == 0x8E || ( NATIVE_TO_LATIN1(((U8*)s)[2]) & 0xFE ) == 0xA8 ) ) ? 3 : 0 )\
821: ( 0x85 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) )
f3b7b534
KW
822
823/*** GENERATED CODE ***/
824#define is_PATWS_non_low_safe(s,e,is_utf8) \
5ab0c3af
KW
825( ((e) > (s)) ? \
826 ( (! is_utf8) ? \
827 ( 0x85 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) \
828 : (((e) - (s)) >= UTF8SKIP(s)) ? \
c4c8e615
KW
829 ( ( 0xC2 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) ? \
830 ( ( 0x85 == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ? 2 : 0 ) \
831 : ( ( ( 0xE2 == NATIVE_TO_LATIN1(((U8*)s)[0]) ) && ( 0x80 == NATIVE_TO_LATIN1(((U8*)s)[1]) ) ) && ( ( NATIVE_TO_LATIN1(((U8*)s)[2]) & 0xFE ) == 0x8E || ( NATIVE_TO_LATIN1(((U8*)s)[2]) & 0xFE ) == 0xA8 ) ) ? 3 : 0 )\
5ab0c3af
KW
832 : 0 ) \
833: 0 )
f3b7b534
KW
834
835/*** GENERATED CODE ***/
0b50d62a 836#define is_PATWS_cp(cp) \
c4c8e615
KW
837( ( 0x09 <= NATIVE_TO_UNI(cp) && NATIVE_TO_UNI(cp) <= 0x0D ) || ( 0x0D < NATIVE_TO_UNI(cp) &&\
838( 0x20 == NATIVE_TO_UNI(cp) || ( 0x20 < NATIVE_TO_UNI(cp) && \
839( 0x85 == NATIVE_TO_UNI(cp) || ( 0x85 < NATIVE_TO_UNI(cp) && \
840( 0x200E == NATIVE_TO_UNI(cp) || ( 0x200E < NATIVE_TO_UNI(cp) && \
841( 0x200F == NATIVE_TO_UNI(cp) || ( 0x200F < NATIVE_TO_UNI(cp) && \
842( 0x2028 == NATIVE_TO_UNI(cp) || 0x2029 == NATIVE_TO_UNI(cp) ) ) ) ) ) ) ) ) ) ) )
0b50d62a 843
8770da0e 844
d10c72f2
KW
845#endif /* H_REGCHARCLASS */
846
58fbde93 847/* ex: set ro: */