This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
mktables: Get fold generation to work on early Unicodes
[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
a1b2a50f 21#if 'A' == 65 /* ASCII/Latin1 */
12b72891
RGS
22/*
23 LNBREAK: Line Break: \R
24
58fbde93 25 "\x0D\x0A" # CRLF - Network (Windows) line ending
05b688d9 26 \p{VertSpace}
12b72891
RGS
27*/
28/*** GENERATED CODE ***/
12b72891 29#define is_LNBREAK_safe(s,e,is_utf8) \
e64b1bd1 30( ((e)-(s) > 2) ? \
c7c8bf55
KW
31 ( ( 0x0A <= ((U8*)s)[0] && ((U8*)s)[0] <= 0x0C ) ? 1 \
32 : ( 0x0D == ((U8*)s)[0] ) ? \
33 ( ( 0x0A == ((U8*)s)[1] ) ? 2 : 1 ) \
e64b1bd1 34 : ( is_utf8 ) ? \
c7c8bf55
KW
35 ( ( 0xC2 == ((U8*)s)[0] ) ? \
36 ( ( 0x85 == ((U8*)s)[1] ) ? 2 : 0 ) \
37 : ( ( ( 0xE2 == ((U8*)s)[0] ) && ( 0x80 == ((U8*)s)[1] ) ) && ( ( ((U8*)s)[2] & 0xFE ) == 0xA8 ) ) ? 3 : 0 )\
38 : ( 0x85 == ((U8*)s)[0] ) ) \
e64b1bd1 39: ((e)-(s) > 1) ? \
c7c8bf55
KW
40 ( ( 0x0A <= ((U8*)s)[0] && ((U8*)s)[0] <= 0x0C ) ? 1 \
41 : ( 0x0D == ((U8*)s)[0] ) ? \
42 ( ( 0x0A == ((U8*)s)[1] ) ? 2 : 1 ) \
e64b1bd1 43 : ( is_utf8 ) ? \
c7c8bf55
KW
44 ( ( ( 0xC2 == ((U8*)s)[0] ) && ( 0x85 == ((U8*)s)[1] ) ) ? 2 : 0 ) \
45 : ( 0x85 == ((U8*)s)[0] ) ) \
e64b1bd1 46: ((e)-(s) > 0) ? \
c7c8bf55 47 ( ( 0x0A <= ((U8*)s)[0] && ((U8*)s)[0] <= 0x0D ) ? 1 \
e64b1bd1 48 : ( !( is_utf8 ) ) ? \
c7c8bf55 49 ( 0x85 == ((U8*)s)[0] ) \
e64b1bd1
YO
50 : 0 ) \
51: 0 )
e1d1eefb 52
12b72891 53/*** GENERATED CODE ***/
12b72891 54#define is_LNBREAK_utf8_safe(s,e) \
e64b1bd1 55( ((e)-(s) > 2) ? \
c7c8bf55
KW
56 ( ( 0x0A <= ((U8*)s)[0] && ((U8*)s)[0] <= 0x0C ) ? 1 \
57 : ( 0x0D == ((U8*)s)[0] ) ? \
58 ( ( 0x0A == ((U8*)s)[1] ) ? 2 : 1 ) \
59 : ( 0xC2 == ((U8*)s)[0] ) ? \
60 ( ( 0x85 == ((U8*)s)[1] ) ? 2 : 0 ) \
61 : ( ( ( 0xE2 == ((U8*)s)[0] ) && ( 0x80 == ((U8*)s)[1] ) ) && ( ( ((U8*)s)[2] & 0xFE ) == 0xA8 ) ) ? 3 : 0 )\
e64b1bd1 62: ((e)-(s) > 1) ? \
c7c8bf55
KW
63 ( ( 0x0A <= ((U8*)s)[0] && ((U8*)s)[0] <= 0x0C ) ? 1 \
64 : ( 0x0D == ((U8*)s)[0] ) ? \
65 ( ( 0x0A == ((U8*)s)[1] ) ? 2 : 1 ) \
66 : ( ( 0xC2 == ((U8*)s)[0] ) && ( 0x85 == ((U8*)s)[1] ) ) ? 2 : 0 ) \
e64b1bd1 67: ((e)-(s) > 0) ? \
c7c8bf55 68 ( 0x0A <= ((U8*)s)[0] && ((U8*)s)[0] <= 0x0D ) \
e64b1bd1 69: 0 )
e1d1eefb 70
12b72891 71/*** GENERATED CODE ***/
12b72891 72#define is_LNBREAK_latin1_safe(s,e) \
e64b1bd1 73( ((e)-(s) > 1) ? \
c7c8bf55
KW
74 ( ( ( 0x0A <= ((U8*)s)[0] && ((U8*)s)[0] <= 0x0C ) || 0x85 == ((U8*)s)[0] ) ? 1\
75 : ( 0x0D == ((U8*)s)[0] ) ? \
76 ( ( 0x0A == ((U8*)s)[1] ) ? 2 : 1 ) \
9a3182e9 77 : 0 ) \
e64b1bd1 78: ((e)-(s) > 0) ? \
c7c8bf55 79 ( ( 0x0A <= ((U8*)s)[0] && ((U8*)s)[0] <= 0x0D ) || 0x85 == ((U8*)s)[0] )\
e64b1bd1 80: 0 )
12b72891
RGS
81
82/*
83 HORIZWS: Horizontal Whitespace: \h \H
84
05b688d9 85 \p{HorizSpace}
12b72891
RGS
86*/
87/*** GENERATED CODE ***/
2cafb56b 88#define is_HORIZWS_high(s) \
c7c8bf55
KW
89( ( 0xE1 == ((U8*)s)[0] ) ? \
90 ( ( ( 0x9A == ((U8*)s)[1] ) && ( 0x80 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
91: ( 0xE2 == ((U8*)s)[0] ) ? \
92 ( ( 0x80 == ((U8*)s)[1] ) ? \
93 ( ( ( ((U8*)s)[2] <= 0x8A ) || 0xAF == ((U8*)s)[2] ) ? 3 : 0 ) \
94 : ( ( 0x81 == ((U8*)s)[1] ) && ( 0x9F == ((U8*)s)[2] ) ) ? 3 : 0 ) \
95: ( ( ( 0xE3 == ((U8*)s)[0] ) && ( 0x80 == ((U8*)s)[1] ) ) && ( 0x80 == ((U8*)s)[2] ) ) ? 3 : 0 )
2cafb56b
KW
96
97/*** GENERATED CODE ***/
2cafb56b 98#define is_HORIZWS_cp_high(cp) \
c7c8bf55
KW
99( 0x1680 == cp || ( 0x1680 < cp && \
100( ( 0x2000 <= cp && cp <= 0x200A ) || ( 0x200A < cp && \
101( 0x202F == cp || ( 0x202F < cp && \
102( 0x205F == cp || 0x3000 == cp ) ) ) ) ) ) )
2cafb56b 103
12b72891
RGS
104/*
105 VERTWS: Vertical Whitespace: \v \V
e1d1eefb 106
05b688d9 107 \p{VertSpace}
12b72891
RGS
108*/
109/*** GENERATED CODE ***/
840f8e92 110#define is_VERTWS_high(s) \
c7c8bf55 111( ( ( ( 0xE2 == ((U8*)s)[0] ) && ( 0x80 == ((U8*)s)[1] ) ) && ( ( ((U8*)s)[2] & 0xFE ) == 0xA8 ) ) ? 3 : 0 )
840f8e92
KW
112
113/*** GENERATED CODE ***/
840f8e92 114#define is_VERTWS_cp_high(cp) \
c7c8bf55 115( 0x2028 == cp || 0x2029 == cp )
840f8e92 116
612ead59 117/*
4ac6419d
KW
118 XDIGIT: Hexadecimal digits
119
120 \p{XDigit}
121*/
122/*** GENERATED CODE ***/
4ac6419d 123#define is_XDIGIT_high(s) \
c7c8bf55
KW
124( ( 0xEF == ((U8*)s)[0] ) ? \
125 ( ( 0xBC == ((U8*)s)[1] ) ? \
126 ( ( ( 0x90 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x99 ) || ( 0xA1 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0xA6 ) ) ? 3 : 0 )\
127 : ( ( 0xBD == ((U8*)s)[1] ) && ( 0x81 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x86 ) ) ? 3 : 0 )\
4ac6419d
KW
128: 0 )
129
130/*** GENERATED CODE ***/
131#define is_XDIGIT_cp_high(cp) \
c7c8bf55
KW
132( ( 0xFF10 <= cp && cp <= 0xFF19 ) || ( 0xFF19 < cp && \
133( ( 0xFF21 <= cp && cp <= 0xFF26 ) || ( 0xFF41 <= cp && cp <= 0xFF46 ) ) ) )
4ac6419d
KW
134
135/*
bedac28b
KW
136 XPERLSPACE: \p{XPerlSpace}
137
138 \p{XPerlSpace}
139*/
140/*** GENERATED CODE ***/
bedac28b 141#define is_XPERLSPACE_high(s) \
c7c8bf55
KW
142( ( 0xE1 == ((U8*)s)[0] ) ? \
143 ( ( ( 0x9A == ((U8*)s)[1] ) && ( 0x80 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
144: ( 0xE2 == ((U8*)s)[0] ) ? \
145 ( ( 0x80 == ((U8*)s)[1] ) ? \
146 ( ( ( ((U8*)s)[2] <= 0x8A ) || ( ((U8*)s)[2] & 0xFE ) == 0xA8 || 0xAF == ((U8*)s)[2] ) ? 3 : 0 )\
147 : ( ( 0x81 == ((U8*)s)[1] ) && ( 0x9F == ((U8*)s)[2] ) ) ? 3 : 0 ) \
148: ( ( ( 0xE3 == ((U8*)s)[0] ) && ( 0x80 == ((U8*)s)[1] ) ) && ( 0x80 == ((U8*)s)[2] ) ) ? 3 : 0 )
bedac28b
KW
149
150/*** GENERATED CODE ***/
151#define is_XPERLSPACE_cp_high(cp) \
c7c8bf55
KW
152( 0x1680 == cp || ( 0x1680 < cp && \
153( ( 0x2000 <= cp && cp <= 0x200A ) || ( 0x200A < cp && \
154( 0x2028 == cp || ( 0x2028 < cp && \
155( 0x2029 == cp || ( 0x2029 < cp && \
156( 0x202F == cp || ( 0x202F < cp && \
157( 0x205F == cp || 0x3000 == cp ) ) ) ) ) ) ) ) ) ) )
bedac28b
KW
158
159/*
b96a92fb
KW
160 REPLACEMENT: Unicode REPLACEMENT CHARACTER
161
162 0xFFFD
163*/
164/*** GENERATED CODE ***/
165#define is_REPLACEMENT_utf8_safe(s,e) \
c7c8bf55 166( ( ( ( ( ((e) - (s)) >= 3 ) && ( 0xEF == ((U8*)s)[0] ) ) && ( 0xBF == ((U8*)s)[1] ) ) && ( 0xBD == ((U8*)s)[2] ) ) ? 3 : 0 )
b96a92fb
KW
167
168/*
169 NONCHAR: Non character code points
170
171 \p{Nchar}
172*/
173/*** GENERATED CODE ***/
174#define is_NONCHAR_utf8(s) \
c7c8bf55
KW
175( ( 0xEF == ((U8*)s)[0] ) ? \
176 ( ( 0xB7 == ((U8*)s)[1] ) ? \
177 ( ( 0x90 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0xAF ) ? 3 : 0 ) \
178 : ( ( 0xBF == ((U8*)s)[1] ) && ( ((U8*)s)[2] >= 0xBE ) ) ? 3 : 0 ) \
179: ( 0xF0 == ((U8*)s)[0] ) ? \
180 ( ( ( ( ((U8*)s)[1] == 0x9F || ( ( ((U8*)s)[1] & 0xEF ) == 0xAF ) ) && ( 0xBF == ((U8*)s)[2] ) ) && ( ((U8*)s)[3] >= 0xBE ) ) ? 4 : 0 )\
181: ( 0xF1 <= ((U8*)s)[0] && ((U8*)s)[0] <= 0xF3 ) ? \
182 ( ( ( ( ( ((U8*)s)[1] & 0xCF ) == 0x8F ) && ( 0xBF == ((U8*)s)[2] ) ) && ( ((U8*)s)[3] >= 0xBE ) ) ? 4 : 0 )\
183: ( ( ( ( 0xF4 == ((U8*)s)[0] ) && ( 0x8F == ((U8*)s)[1] ) ) && ( 0xBF == ((U8*)s)[2] ) ) && ( ((U8*)s)[3] >= 0xBE ) ) ? 4 : 0 )
b96a92fb
KW
184
185/*
186 SURROGATE: Surrogate characters
187
188 \p{Gc=Cs}
189*/
190/*** GENERATED CODE ***/
191#define is_SURROGATE_utf8(s) \
c7c8bf55 192( ( ( 0xED == ((U8*)s)[0] ) && ( ((U8*)s)[1] >= 0xA0 ) ) ? 3 : 0 )
b96a92fb
KW
193
194/*
685289b5
KW
195 QUOTEMETA: Meta-characters that \Q should quote
196
197 \p{_Perl_Quotemeta}
198*/
199/*** GENERATED CODE ***/
200#define is_QUOTEMETA_high(s) \
c7c8bf55
KW
201( ( 0xCD == ((U8*)s)[0] ) ? \
202 ( ( 0x8F == ((U8*)s)[1] ) ? 2 : 0 ) \
203: ( 0xD8 == ((U8*)s)[0] ) ? \
204 ( ( 0x9C == ((U8*)s)[1] ) ? 2 : 0 ) \
205: ( 0xE1 == ((U8*)s)[0] ) ? \
206 ( ( 0x85 == ((U8*)s)[1] ) ? \
207 ( ( 0x9F == ((U8*)s)[2] || 0xA0 == ((U8*)s)[2] ) ? 3 : 0 ) \
208 : ( 0x9A == ((U8*)s)[1] ) ? \
209 ( ( 0x80 == ((U8*)s)[2] ) ? 3 : 0 ) \
210 : ( 0x9E == ((U8*)s)[1] ) ? \
211 ( ( ( ((U8*)s)[2] & 0xFE ) == 0xB4 ) ? 3 : 0 ) \
212 : ( ( 0xA0 == ((U8*)s)[1] ) && ( 0x8B <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x8E ) ) ? 3 : 0 )\
213: ( 0xE2 == ((U8*)s)[0] ) ? \
214 ( ( 0x80 == ((U8*)s)[1] ) ? \
215 ( ( ((U8*)s)[2] <= 0xBE ) ? 3 : 0 ) \
216 : ( 0x81 == ((U8*)s)[1] ) ? \
217 ( ( ( 0x81 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x93 ) || ( 0x95 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0xAF ) ) ? 3 : 0 )\
218 : ( 0x86 == ((U8*)s)[1] ) ? \
219 ( ( ((U8*)s)[2] >= 0x90 ) ? 3 : 0 ) \
220 : ( ( 0x87 <= ((U8*)s)[1] && ((U8*)s)[1] <= 0x90 ) || ( 0x94 <= ((U8*)s)[1] && ((U8*)s)[1] <= 0x9C ) || ( 0x9F <= ((U8*)s)[1] && ((U8*)s)[1] <= 0xAF ) || ( ((U8*)s)[1] & 0xFE ) == 0xB8 ) ?\
6e130234 221 3 \
c7c8bf55
KW
222 : ( 0x91 == ((U8*)s)[1] ) ? \
223 ( ( ((U8*)s)[2] <= 0x9F ) ? 3 : 0 ) \
224 : ( 0x9D == ((U8*)s)[1] ) ? \
225 ( ( ((U8*)s)[2] <= 0xB5 ) ? 3 : 0 ) \
226 : ( ( 0x9E == ((U8*)s)[1] ) && ( ((U8*)s)[2] >= 0x94 ) ) ? 3 : 0 ) \
227: ( 0xE3 == ((U8*)s)[0] ) ? \
228 ( ( 0x80 == ((U8*)s)[1] ) ? \
229 ( ( ( ((U8*)s)[2] <= 0x83 ) || ( 0x88 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0xA0 ) || 0xB0 == ((U8*)s)[2] ) ? 3 : 0 )\
230 : ( ( 0x85 == ((U8*)s)[1] ) && ( 0xA4 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
231: ( 0xEF == ((U8*)s)[0] ) ? \
232 ( ( 0xB4 == ((U8*)s)[1] ) ? \
233 ( ( ((U8*)s)[2] >= 0xBE ) ? 3 : 0 ) \
234 : ( 0xB8 == ((U8*)s)[1] ) ? \
235 ( ( ((U8*)s)[2] <= 0x8F ) ? 3 : 0 ) \
236 : ( 0xB9 == ((U8*)s)[1] ) ? \
237 ( ( 0x85 == ((U8*)s)[2] || 0x86 == ((U8*)s)[2] ) ? 3 : 0 ) \
238 : ( 0xBB == ((U8*)s)[1] ) ? \
239 ( ( 0xBF == ((U8*)s)[2] ) ? 3 : 0 ) \
240 : ( 0xBE == ((U8*)s)[1] ) ? \
241 ( ( 0xA0 == ((U8*)s)[2] ) ? 3 : 0 ) \
242 : ( ( 0xBF == ((U8*)s)[1] ) && ( 0xB0 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0xB8 ) ) ? 3 : 0 )\
243: ( 0xF0 == ((U8*)s)[0] ) ? \
09edd811
KW
244 ( ( 0x9B == ((U8*)s)[1] ) ? \
245 ( ( ( 0xB2 == ((U8*)s)[2] ) && ( ( ((U8*)s)[3] & 0xFC ) == 0xA0 ) ) ? 4 : 0 )\
246 : ( ( ( 0x9D == ((U8*)s)[1] ) && ( 0x85 == ((U8*)s)[2] ) ) && ( 0xB3 <= ((U8*)s)[3] && ((U8*)s)[3] <= 0xBA ) ) ? 4 : 0 )\
c7c8bf55 247: ( ( 0xF3 == ((U8*)s)[0] ) && ( 0xA0 == ((U8*)s)[1] ) ) ? 4 : 0 )
685289b5 248
8769f413
KW
249/*
250 MULTI_CHAR_FOLD: multi-char strings that are folded to by a single character
251
8769f413
KW
252 &regcharclass_multi_char_folds::multi_char_folds(1)
253*/
254/*** GENERATED CODE ***/
251b239f 255#define is_MULTI_CHAR_FOLD_utf8_safe_part0(s,e) \
c7c8bf55
KW
256( ( 0x61 == ((U8*)s)[0] ) ? \
257 ( ( ( 0xCA == ((U8*)s)[1] ) && ( 0xBE == ((U8*)s)[2] ) ) ? 3 : 0 ) \
258 : ( 0x66 == ((U8*)s)[0] ) ? \
259 ( ( 0x66 == ((U8*)s)[1] ) ? \
260 ( ( 0x69 == ((U8*)s)[2] || 0x6C == ((U8*)s)[2] ) ? 3 : 2 ) \
261 : ( 0x69 == ((U8*)s)[1] || 0x6C == ((U8*)s)[1] ) ? 2 : 0 ) \
262 : ( 0x68 == ((U8*)s)[0] ) ? \
263 ( ( ( 0xCC == ((U8*)s)[1] ) && ( 0xB1 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
264 : ( 0x69 == ((U8*)s)[0] ) ? \
265 ( ( ( 0xCC == ((U8*)s)[1] ) && ( 0x87 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
266 : ( 0x6A == ((U8*)s)[0] ) ? \
267 ( ( ( 0xCC == ((U8*)s)[1] ) && ( 0x8C == ((U8*)s)[2] ) ) ? 3 : 0 ) \
268 : ( 0x73 == ((U8*)s)[0] ) ? \
269 ( ( 0x73 == ((U8*)s)[1] || 0x74 == ((U8*)s)[1] ) ? 2 : 0 ) \
270 : ( 0x74 == ((U8*)s)[0] ) ? \
271 ( ( ( 0xCC == ((U8*)s)[1] ) && ( 0x88 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
272 : ( 0x77 == ((U8*)s)[0] || 0x79 == ((U8*)s)[0] ) ? \
273 ( ( ( 0xCC == ((U8*)s)[1] ) && ( 0x8A == ((U8*)s)[2] ) ) ? 3 : 0 ) \
274 : ( 0xC5 == ((U8*)s)[0] ) ? \
275 ( ( ( ( 0xBF == ((U8*)s)[1] ) && ( 0xC5 == ((U8*)s)[2] ) ) && ( 0xBF == ((U8*)s)[3] ) ) ? 4 : 0 )\
276 : ( 0xCA == ((U8*)s)[0] ) ? \
277 ( ( ( 0xBC == ((U8*)s)[1] ) && ( 0x6E == ((U8*)s)[2] ) ) ? 3 : 0 ) \
278 : ( 0xCE == ((U8*)s)[0] ) ? \
279 ( ( ( ((U8*)s)[1] & 0xFD ) == 0xAC ) ? \
280 ( ( ( 0xCE == ((U8*)s)[2] ) && ( 0xB9 == ((U8*)s)[3] ) ) ? 4 : 0 )\
281 : ( 0xB1 == ((U8*)s)[1] || 0xB7 == ((U8*)s)[1] ) ? \
282 ( ( 0xCD == ((U8*)s)[2] ) ? \
283 ( ( 0x82 == ((U8*)s)[3] ) ? 4 : 0 ) \
284 : ( ( 0xCE == ((U8*)s)[2] ) && ( 0xB9 == ((U8*)s)[3] ) ) ? 4 : 0 )\
285 : ( ( ( 0xB9 == ((U8*)s)[1] ) && ( 0xCD == ((U8*)s)[2] ) ) && ( 0x82 == ((U8*)s)[3] ) ) ? 4 : 0 )\
286 : ( 0xCF == ((U8*)s)[0] ) ? \
287 ( ( 0x81 == ((U8*)s)[1] ) ? \
288 ( ( ( 0xCC == ((U8*)s)[2] ) && ( 0x93 == ((U8*)s)[3] ) ) ? 4 : 0 )\
289 : ( 0x85 == ((U8*)s)[1] ) ? \
290 ( ( 0xCC == ((U8*)s)[2] ) ? \
291 ( ( 0x93 == ((U8*)s)[3] ) ? 4 : 0 ) \
292 : ( ( 0xCD == ((U8*)s)[2] ) && ( 0x82 == ((U8*)s)[3] ) ) ? 4 : 0 )\
293 : ( 0x89 == ((U8*)s)[1] ) ? \
294 ( ( 0xCD == ((U8*)s)[2] ) ? \
295 ( ( 0x82 == ((U8*)s)[3] ) ? 4 : 0 ) \
296 : ( ( 0xCE == ((U8*)s)[2] ) && ( 0xB9 == ((U8*)s)[3] ) ) ? 4 : 0 )\
297 : ( ( ( 0x8E == ((U8*)s)[1] ) && ( 0xCE == ((U8*)s)[2] ) ) && ( 0xB9 == ((U8*)s)[3] ) ) ? 4 : 0 )\
298 : ( 0xD5 == ((U8*)s)[0] ) ? \
299 ( ( 0xA5 == ((U8*)s)[1] ) ? \
300 ( ( ( 0xD6 == ((U8*)s)[2] ) && ( 0x82 == ((U8*)s)[3] ) ) ? 4 : 0 )\
301 : ( 0xB4 == ((U8*)s)[1] ) ? \
302 ( ( ( 0xD5 == ((U8*)s)[2] ) && ( ( ( ((U8*)s)[3] & 0xF7 ) == 0xA5 ) || ((U8*)s)[3] == 0xAB || ((U8*)s)[3] == 0xB6 ) ) ? 4 : 0 )\
303 : ( ( ( 0xBE == ((U8*)s)[1] ) && ( 0xD5 == ((U8*)s)[2] ) ) && ( 0xB6 == ((U8*)s)[3] ) ) ? 4 : 0 )\
304 : ( 0xE1 == ((U8*)s)[0] ) ? \
305 ( ( 0xBC == ((U8*)s)[1] ) ? \
306 ( ( ( ( ( ((U8*)s)[2] & 0xD8 ) == 0x80 ) && ( 0xCE == ((U8*)s)[3] ) ) && ( 0xB9 == ((U8*)s)[4] ) ) ? 5 : 0 )\
307 : ( ( ( ( 0xBD == ((U8*)s)[1] ) && ( ( ( ((U8*)s)[2] & 0xF8 ) == 0xA0 ) || ( ( ((U8*)s)[2] & 0xFB ) == 0xB0 ) || ((U8*)s)[2] == 0xBC ) ) && ( 0xCE == ((U8*)s)[3] ) ) && ( 0xB9 == ((U8*)s)[4] ) ) ? 5 : 0 )\
251b239f
KW
308 : 0 )
309
310
311/*** GENERATED CODE ***/
c7c8bf55
KW
312#define is_MULTI_CHAR_FOLD_utf8_safe_part1(s,e) \
313( ((e)-(s) > 3) ? \
314 ( ( 0x61 == ((U8*)s)[0] ) ? \
315 ( ( ( 0xCA == ((U8*)s)[1] ) && ( 0xBE == ((U8*)s)[2] ) ) ? 3 : 0 ) \
316 : ( 0x66 == ((U8*)s)[0] ) ? \
317 ( ( 0x66 == ((U8*)s)[1] ) ? \
318 ( ( 0x69 == ((U8*)s)[2] || 0x6C == ((U8*)s)[2] ) ? 3 : 2 ) \
319 : ( 0x69 == ((U8*)s)[1] || 0x6C == ((U8*)s)[1] ) ? 2 : 0 ) \
320 : ( 0x68 == ((U8*)s)[0] ) ? \
321 ( ( ( 0xCC == ((U8*)s)[1] ) && ( 0xB1 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
322 : ( 0x69 == ((U8*)s)[0] ) ? \
323 ( ( ( 0xCC == ((U8*)s)[1] ) && ( 0x87 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
324 : ( 0x6A == ((U8*)s)[0] ) ? \
325 ( ( ( 0xCC == ((U8*)s)[1] ) && ( 0x8C == ((U8*)s)[2] ) ) ? 3 : 0 ) \
326 : ( 0x73 == ((U8*)s)[0] ) ? \
327 ( ( 0x73 == ((U8*)s)[1] || 0x74 == ((U8*)s)[1] ) ? 2 : 0 ) \
328 : ( 0x74 == ((U8*)s)[0] ) ? \
329 ( ( ( 0xCC == ((U8*)s)[1] ) && ( 0x88 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
330 : ( 0x77 == ((U8*)s)[0] || 0x79 == ((U8*)s)[0] ) ? \
331 ( ( ( 0xCC == ((U8*)s)[1] ) && ( 0x8A == ((U8*)s)[2] ) ) ? 3 : 0 ) \
332 : ( 0xC5 == ((U8*)s)[0] ) ? \
333 ( ( ( ( 0xBF == ((U8*)s)[1] ) && ( 0xC5 == ((U8*)s)[2] ) ) && ( 0xBF == ((U8*)s)[3] ) ) ? 4 : 0 )\
334 : ( 0xCA == ((U8*)s)[0] ) ? \
335 ( ( ( 0xBC == ((U8*)s)[1] ) && ( 0x6E == ((U8*)s)[2] ) ) ? 3 : 0 ) \
336 : ( 0xCE == ((U8*)s)[0] ) ? \
337 ( ( ( ((U8*)s)[1] & 0xFD ) == 0xAC ) ? \
338 ( ( ( 0xCE == ((U8*)s)[2] ) && ( 0xB9 == ((U8*)s)[3] ) ) ? 4 : 0 )\
339 : ( 0xB1 == ((U8*)s)[1] || 0xB7 == ((U8*)s)[1] ) ? \
340 ( ( 0xCD == ((U8*)s)[2] ) ? \
341 ( ( 0x82 == ((U8*)s)[3] ) ? 4 : 0 ) \
342 : ( ( 0xCE == ((U8*)s)[2] ) && ( 0xB9 == ((U8*)s)[3] ) ) ? 4 : 0 )\
343 : ( ( ( 0xB9 == ((U8*)s)[1] ) && ( 0xCD == ((U8*)s)[2] ) ) && ( 0x82 == ((U8*)s)[3] ) ) ? 4 : 0 )\
344 : ( 0xCF == ((U8*)s)[0] ) ? \
345 ( ( 0x81 == ((U8*)s)[1] ) ? \
346 ( ( ( 0xCC == ((U8*)s)[2] ) && ( 0x93 == ((U8*)s)[3] ) ) ? 4 : 0 )\
347 : ( 0x85 == ((U8*)s)[1] ) ? \
348 ( ( 0xCC == ((U8*)s)[2] ) ? \
349 ( ( 0x93 == ((U8*)s)[3] ) ? 4 : 0 ) \
350 : ( ( 0xCD == ((U8*)s)[2] ) && ( 0x82 == ((U8*)s)[3] ) ) ? 4 : 0 )\
351 : ( 0x89 == ((U8*)s)[1] ) ? \
352 ( ( 0xCD == ((U8*)s)[2] ) ? \
353 ( ( 0x82 == ((U8*)s)[3] ) ? 4 : 0 ) \
354 : ( ( 0xCE == ((U8*)s)[2] ) && ( 0xB9 == ((U8*)s)[3] ) ) ? 4 : 0 )\
355 : ( ( ( 0x8E == ((U8*)s)[1] ) && ( 0xCE == ((U8*)s)[2] ) ) && ( 0xB9 == ((U8*)s)[3] ) ) ? 4 : 0 )\
356 : ( 0xD5 == ((U8*)s)[0] ) ? \
357 ( ( 0xA5 == ((U8*)s)[1] ) ? \
358 ( ( ( 0xD6 == ((U8*)s)[2] ) && ( 0x82 == ((U8*)s)[3] ) ) ? 4 : 0 )\
359 : ( 0xB4 == ((U8*)s)[1] ) ? \
360 ( ( ( 0xD5 == ((U8*)s)[2] ) && ( ( ( ((U8*)s)[3] & 0xF7 ) == 0xA5 ) || ((U8*)s)[3] == 0xAB || ((U8*)s)[3] == 0xB6 ) ) ? 4 : 0 )\
361 : ( ( ( 0xBE == ((U8*)s)[1] ) && ( 0xD5 == ((U8*)s)[2] ) ) && ( 0xB6 == ((U8*)s)[3] ) ) ? 4 : 0 )\
362 : 0 ) \
363: ((e)-(s) > 2) ? \
364 ( ( 0x61 == ((U8*)s)[0] ) ? \
365 ( ( ( 0xCA == ((U8*)s)[1] ) && ( 0xBE == ((U8*)s)[2] ) ) ? 3 : 0 ) \
366 : ( 0x66 == ((U8*)s)[0] ) ? \
367 ( ( 0x66 == ((U8*)s)[1] ) ? \
368 ( ( 0x69 == ((U8*)s)[2] || 0x6C == ((U8*)s)[2] ) ? 3 : 2 ) \
369 : ( 0x69 == ((U8*)s)[1] || 0x6C == ((U8*)s)[1] ) ? 2 : 0 ) \
370 : ( 0x68 == ((U8*)s)[0] ) ? \
371 ( ( ( 0xCC == ((U8*)s)[1] ) && ( 0xB1 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
372 : ( 0x69 == ((U8*)s)[0] ) ? \
373 ( ( ( 0xCC == ((U8*)s)[1] ) && ( 0x87 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
374 : ( 0x6A == ((U8*)s)[0] ) ? \
375 ( ( ( 0xCC == ((U8*)s)[1] ) && ( 0x8C == ((U8*)s)[2] ) ) ? 3 : 0 ) \
376 : ( 0x73 == ((U8*)s)[0] ) ? \
377 ( ( 0x73 == ((U8*)s)[1] || 0x74 == ((U8*)s)[1] ) ? 2 : 0 ) \
378 : ( 0x74 == ((U8*)s)[0] ) ? \
379 ( ( ( 0xCC == ((U8*)s)[1] ) && ( 0x88 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
380 : ( 0x77 == ((U8*)s)[0] || 0x79 == ((U8*)s)[0] ) ? \
381 ( ( ( 0xCC == ((U8*)s)[1] ) && ( 0x8A == ((U8*)s)[2] ) ) ? 3 : 0 ) \
382 : ( ( ( 0xCA == ((U8*)s)[0] ) && ( 0xBC == ((U8*)s)[1] ) ) && ( 0x6E == ((U8*)s)[2] ) ) ? 3 : 0 )\
251b239f 383: ((e)-(s) > 1) ? \
c7c8bf55
KW
384 ( ( 0x66 == ((U8*)s)[0] ) ? \
385 ( ( 0x66 == ((U8*)s)[1] || 0x69 == ((U8*)s)[1] || 0x6C == ((U8*)s)[1] ) ? 2 : 0 )\
386 : ( ( 0x73 == ((U8*)s)[0] ) && ( 0x73 == ((U8*)s)[1] || 0x74 == ((U8*)s)[1] ) ) ? 2 : 0 )\
c4c8e615
KW
387: 0 )
388
389
390/*** GENERATED CODE ***/
251b239f 391#define is_MULTI_CHAR_FOLD_utf8_safe(s,e) \
c7c8bf55
KW
392( ((e)-(s) > 5) ? \
393 ( ( 0x61 == ((U8*)s)[0] ) ? \
394 ( ( ( 0xCA == ((U8*)s)[1] ) && ( 0xBE == ((U8*)s)[2] ) ) ? 3 : 0 ) \
395 : ( 0x66 == ((U8*)s)[0] ) ? \
396 ( ( 0x66 == ((U8*)s)[1] ) ? \
397 ( ( 0x69 == ((U8*)s)[2] || 0x6C == ((U8*)s)[2] ) ? 3 : 2 ) \
398 : ( 0x69 == ((U8*)s)[1] || 0x6C == ((U8*)s)[1] ) ? 2 : 0 ) \
399 : ( 0x68 == ((U8*)s)[0] ) ? \
400 ( ( ( 0xCC == ((U8*)s)[1] ) && ( 0xB1 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
401 : ( 0x69 == ((U8*)s)[0] ) ? \
402 ( ( ( 0xCC == ((U8*)s)[1] ) && ( 0x87 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
403 : ( 0x6A == ((U8*)s)[0] ) ? \
404 ( ( ( 0xCC == ((U8*)s)[1] ) && ( 0x8C == ((U8*)s)[2] ) ) ? 3 : 0 ) \
405 : ( 0x73 == ((U8*)s)[0] ) ? \
406 ( ( 0x73 == ((U8*)s)[1] || 0x74 == ((U8*)s)[1] ) ? 2 : 0 ) \
407 : ( 0x74 == ((U8*)s)[0] ) ? \
408 ( ( ( 0xCC == ((U8*)s)[1] ) && ( 0x88 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
409 : ( 0x77 == ((U8*)s)[0] || 0x79 == ((U8*)s)[0] ) ? \
410 ( ( ( 0xCC == ((U8*)s)[1] ) && ( 0x8A == ((U8*)s)[2] ) ) ? 3 : 0 ) \
411 : ( 0xC5 == ((U8*)s)[0] ) ? \
412 ( ( ( ( 0xBF == ((U8*)s)[1] ) && ( 0xC5 == ((U8*)s)[2] ) ) && ( 0xBF == ((U8*)s)[3] ) ) ? 4 : 0 )\
413 : ( 0xCA == ((U8*)s)[0] ) ? \
414 ( ( ( 0xBC == ((U8*)s)[1] ) && ( 0x6E == ((U8*)s)[2] ) ) ? 3 : 0 ) \
415 : ( 0xCE == ((U8*)s)[0] ) ? \
416 ( ( ( ((U8*)s)[1] & 0xFD ) == 0xAC ) ? \
417 ( ( ( 0xCE == ((U8*)s)[2] ) && ( 0xB9 == ((U8*)s)[3] ) ) ? 4 : 0 )\
418 : ( 0xB1 == ((U8*)s)[1] || 0xB7 == ((U8*)s)[1] ) ? \
419 ( ( 0xCD == ((U8*)s)[2] ) ? \
420 ( ( 0x82 == ((U8*)s)[3] ) ? \
421 ( ( ( 0xCE == ((U8*)s)[4] ) && ( 0xB9 == ((U8*)s)[5] ) ) ? 6 : 4 )\
422 : 0 ) \
423 : ( ( 0xCE == ((U8*)s)[2] ) && ( 0xB9 == ((U8*)s)[3] ) ) ? 4 : 0 )\
424 : ( 0xB9 == ((U8*)s)[1] ) ? \
425 ( ( 0xCC == ((U8*)s)[2] ) ? \
426 ( ( 0x88 == ((U8*)s)[3] ) ? \
427 ( ( 0xCC == ((U8*)s)[4] ) ? \
428 ( ( ( ((U8*)s)[5] & 0xFE ) == 0x80 ) ? 6 : 0 ) \
429 : ( ( 0xCD == ((U8*)s)[4] ) && ( 0x82 == ((U8*)s)[5] ) ) ? 6 : 0 )\
430 : 0 ) \
431 : ( ( 0xCD == ((U8*)s)[2] ) && ( 0x82 == ((U8*)s)[3] ) ) ? 4 : 0 )\
432 : 0 ) \
433 : ( 0xCF == ((U8*)s)[0] ) ? \
434 ( ( 0x81 == ((U8*)s)[1] ) ? \
435 ( ( ( 0xCC == ((U8*)s)[2] ) && ( 0x93 == ((U8*)s)[3] ) ) ? 4 : 0 )\
436 : ( 0x85 == ((U8*)s)[1] ) ? \
437 ( ( 0xCC == ((U8*)s)[2] ) ? \
438 ( ( 0x88 == ((U8*)s)[3] ) ? \
439 ( ( 0xCC == ((U8*)s)[4] ) ? \
440 ( ( ( ((U8*)s)[5] & 0xFE ) == 0x80 ) ? 6 : 0 ) \
441 : ( ( 0xCD == ((U8*)s)[4] ) && ( 0x82 == ((U8*)s)[5] ) ) ? 6 : 0 )\
442 : ( 0x93 == ((U8*)s)[3] ) ? \
443 ( ( 0xCC == ((U8*)s)[4] ) ? \
444 ( ( ( ((U8*)s)[5] & 0xFE ) == 0x80 ) ? 6 : 4 ) \
445 : ( ( 0xCD == ((U8*)s)[4] ) && ( 0x82 == ((U8*)s)[5] ) ) ? 6 : 4 )\
446 : 0 ) \
447 : ( ( 0xCD == ((U8*)s)[2] ) && ( 0x82 == ((U8*)s)[3] ) ) ? 4 : 0 )\
448 : ( 0x89 == ((U8*)s)[1] ) ? \
449 ( ( 0xCD == ((U8*)s)[2] ) ? \
450 ( ( 0x82 == ((U8*)s)[3] ) ? \
451 ( ( ( 0xCE == ((U8*)s)[4] ) && ( 0xB9 == ((U8*)s)[5] ) ) ? 6 : 4 )\
452 : 0 ) \
453 : ( ( 0xCE == ((U8*)s)[2] ) && ( 0xB9 == ((U8*)s)[3] ) ) ? 4 : 0 )\
454 : ( ( ( 0x8E == ((U8*)s)[1] ) && ( 0xCE == ((U8*)s)[2] ) ) && ( 0xB9 == ((U8*)s)[3] ) ) ? 4 : 0 )\
455 : ( 0xD5 == ((U8*)s)[0] ) ? \
456 ( ( 0xA5 == ((U8*)s)[1] ) ? \
457 ( ( ( 0xD6 == ((U8*)s)[2] ) && ( 0x82 == ((U8*)s)[3] ) ) ? 4 : 0 )\
458 : ( 0xB4 == ((U8*)s)[1] ) ? \
459 ( ( ( 0xD5 == ((U8*)s)[2] ) && ( ( ( ((U8*)s)[3] & 0xF7 ) == 0xA5 ) || ((U8*)s)[3] == 0xAB || ((U8*)s)[3] == 0xB6 ) ) ? 4 : 0 )\
460 : ( ( ( 0xBE == ((U8*)s)[1] ) && ( 0xD5 == ((U8*)s)[2] ) ) && ( 0xB6 == ((U8*)s)[3] ) ) ? 4 : 0 )\
461 : ( 0xE1 == ((U8*)s)[0] ) ? \
462 ( ( 0xBC == ((U8*)s)[1] ) ? \
463 ( ( ( ( ( ((U8*)s)[2] & 0xD8 ) == 0x80 ) && ( 0xCE == ((U8*)s)[3] ) ) && ( 0xB9 == ((U8*)s)[4] ) ) ? 5 : 0 )\
464 : ( ( ( ( 0xBD == ((U8*)s)[1] ) && ( ( ( ((U8*)s)[2] & 0xF8 ) == 0xA0 ) || ( ( ((U8*)s)[2] & 0xFB ) == 0xB0 ) || ((U8*)s)[2] == 0xBC ) ) && ( 0xCE == ((U8*)s)[3] ) ) && ( 0xB9 == ((U8*)s)[4] ) ) ? 5 : 0 )\
465 : 0 ) \
466: ((e)-(s) > 4) ? is_MULTI_CHAR_FOLD_utf8_safe_part0(s,e) : is_MULTI_CHAR_FOLD_utf8_safe_part1(s,e) )
8769f413
KW
467
468/*
40b1ba4f 469 MULTI_CHAR_FOLD: multi-char strings that are folded to by a single character
8769f413
KW
470
471 &regcharclass_multi_char_folds::multi_char_folds(0)
472*/
473/*** GENERATED CODE ***/
251b239f
KW
474#define is_MULTI_CHAR_FOLD_latin1_safe(s,e) \
475( ((e)-(s) > 2) ? \
c7c8bf55
KW
476 ( ( ( ((U8*)s)[0] & 0xDF ) == 0x46 ) ? \
477 ( ( ( ((U8*)s)[1] & 0xDF ) == 0x46 ) ? \
478 ( ( ( ( ((U8*)s)[2] & 0xDF ) == 0x49 ) || ( ( ((U8*)s)[2] & 0xDF ) == 0x4C ) ) ? 3 : 2 )\
479 : ( ( ( ((U8*)s)[1] & 0xDF ) == 0x49 ) || ( ( ((U8*)s)[1] & 0xDF ) == 0x4C ) ) ? 2 : 0 )\
480 : ( ( ( ((U8*)s)[0] & 0xDF ) == 0x53 ) && ( ( ( ((U8*)s)[1] & 0xDF ) == 0x53 ) || ( ( ((U8*)s)[1] & 0xDF ) == 0x54 ) ) ) ? 2 : 0 )\
251b239f 481: ((e)-(s) > 1) ? \
c7c8bf55
KW
482 ( ( ( ((U8*)s)[0] & 0xDF ) == 0x46 ) ? \
483 ( ( ( ( ((U8*)s)[1] & 0xDF ) == 0x46 ) || ( ( ((U8*)s)[1] & 0xDF ) == 0x49 ) || ( ( ((U8*)s)[1] & 0xDF ) == 0x4C ) ) ? 2 : 0 )\
484 : ( ( ( ((U8*)s)[0] & 0xDF ) == 0x53 ) && ( ( ( ((U8*)s)[1] & 0xDF ) == 0x53 ) || ( ( ((U8*)s)[1] & 0xDF ) == 0x54 ) ) ) ? 2 : 0 )\
251b239f 485: 0 )
8769f413 486
0b50d62a 487/*
1a27eb96
KW
488 FOLDS_TO_MULTI: characters that fold to multi-char strings
489
490 \p{_Perl_Folds_To_Multi_Char}
491*/
492/*** GENERATED CODE ***/
493#define is_FOLDS_TO_MULTI_utf8(s) \
c7c8bf55
KW
494( ( 0xC3 == ((U8*)s)[0] ) ? \
495 ( ( 0x9F == ((U8*)s)[1] ) ? 2 : 0 ) \
496: ( 0xC4 == ((U8*)s)[0] || 0xC7 == ((U8*)s)[0] ) ? \
497 ( ( 0xB0 == ((U8*)s)[1] ) ? 2 : 0 ) \
498: ( 0xC5 == ((U8*)s)[0] ) ? \
499 ( ( 0x89 == ((U8*)s)[1] ) ? 2 : 0 ) \
500: ( 0xCE == ((U8*)s)[0] ) ? \
501 ( ( ( ((U8*)s)[1] & 0xDF ) == 0x90 ) ? 2 : 0 ) \
502: ( 0xD6 == ((U8*)s)[0] ) ? \
503 ( ( 0x87 == ((U8*)s)[1] ) ? 2 : 0 ) \
504: ( 0xE1 == ((U8*)s)[0] ) ? \
505 ( ( 0xBA == ((U8*)s)[1] ) ? \
506 ( ( ( 0x96 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x9A ) || 0x9E == ((U8*)s)[2] ) ? 3 : 0 )\
507 : ( 0xBD == ((U8*)s)[1] ) ? \
508 ( ( ( ((U8*)s)[2] & 0xF9 ) == 0x90 ) ? 3 : 0 ) \
509 : ( 0xBE == ((U8*)s)[1] ) ? \
510 ( ( ( ( ((U8*)s)[2] & 0xE0 ) == 0x80 ) || ( ( ((U8*)s)[2] & 0xF0 ) == 0xA0 ) || ( ( ((U8*)s)[2] & 0xFA ) == 0xB2 ) || ( ( ((U8*)s)[2] & 0xF7 ) == 0xB4 ) ) ? 3 : 0 )\
511 : ( ( 0xBF == ((U8*)s)[1] ) && ( ( ( ((U8*)s)[2] & 0xCA ) == 0x82 ) || ( ( ((U8*)s)[2] & 0xF7 ) == 0x84 ) || ((U8*)s)[2] == 0xA4 || ( ( ((U8*)s)[2] & 0xF7 ) == 0xB4 ) ) ) ? 3 : 0 )\
512: ( ( ( 0xEF == ((U8*)s)[0] ) && ( 0xAC == ((U8*)s)[1] ) ) && ( ( ((U8*)s)[2] <= 0x86 ) || ( 0x93 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x97 ) ) ) ? 3 : 0 )
1a27eb96
KW
513
514/*
31f05a37
KW
515 PROBLEMATIC_LOCALE_FOLD: characters whose fold is problematic under locale
516
517 \p{_Perl_Problematic_Locale_Folds}
518*/
519/*** GENERATED CODE ***/
520#define is_PROBLEMATIC_LOCALE_FOLD_utf8(s) \
c7c8bf55
KW
521( ( ((U8*)s)[0] <= 0x7F ) ? 1 \
522: ( ( ((U8*)s)[0] & 0xFE ) == 0xC2 ) ? \
31f05a37 523 2 \
c7c8bf55
KW
524: ( 0xC4 == ((U8*)s)[0] || 0xC7 == ((U8*)s)[0] ) ? \
525 ( ( 0xB0 == ((U8*)s)[1] ) ? 2 : 0 ) \
526: ( 0xC5 == ((U8*)s)[0] ) ? \
527 ( ( 0x89 == ((U8*)s)[1] || 0xB8 == ((U8*)s)[1] || 0xBF == ((U8*)s)[1] ) ? 2 : 0 )\
528: ( 0xCE == ((U8*)s)[0] ) ? \
529 ( ( ( ((U8*)s)[1] & 0xDF ) == 0x9C ) ? 2 : 0 ) \
530: ( 0xE1 == ((U8*)s)[0] ) ? \
531 ( ( ( 0xBA == ((U8*)s)[1] ) && ( ( 0x96 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x9A ) || 0x9E == ((U8*)s)[2] ) ) ? 3 : 0 )\
532: ( 0xE2 == ((U8*)s)[0] ) ? \
533 ( ( ( 0x84 == ((U8*)s)[1] ) && ( ( ((U8*)s)[2] & 0xFE ) == 0xAA ) ) ? 3 : 0 )\
534: ( ( ( 0xEF == ((U8*)s)[0] ) && ( 0xAC == ((U8*)s)[1] ) ) && ( ((U8*)s)[2] <= 0x86 ) ) ? 3 : 0 )
31f05a37
KW
535
536/*** GENERATED CODE ***/
537#define is_PROBLEMATIC_LOCALE_FOLD_cp(cp) \
c7c8bf55
KW
538( cp <= 0xFF || ( 0xFF < cp && \
539( 0x130 == cp || ( 0x130 < cp && \
540( 0x149 == cp || ( 0x149 < cp && \
541( 0x178 == cp || ( 0x178 < cp && \
542( 0x17F == cp || ( 0x17F < cp && \
543( 0x1F0 == cp || ( 0x1F0 < cp && \
544( 0x39C == cp || ( 0x39C < cp && \
545( 0x3BC == cp || ( 0x3BC < cp && \
546( ( 0x1E96 <= cp && cp <= 0x1E9A ) || ( 0x1E9A < cp && \
547( 0x1E9E == cp || ( 0x1E9E < cp && \
548( 0x212A == cp || ( 0x212A < cp && \
549( 0x212B == cp || ( 0xFB00 <= cp && cp <= 0xFB06 ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) )
31f05a37
KW
550
551/*
552 PROBLEMATIC_LOCALE_FOLDEDS_START: The first folded character of folds which are problematic under locale
553
554 \p{_Perl_Problematic_Locale_Foldeds_Start}
555*/
556/*** GENERATED CODE ***/
557#define is_PROBLEMATIC_LOCALE_FOLDEDS_START_utf8(s) \
c7c8bf55
KW
558( ( ((U8*)s)[0] <= 0x7F ) ? 1 \
559: ( ( ((U8*)s)[0] & 0xFE ) == 0xC2 ) ? \
31f05a37 560 2 \
c7c8bf55
KW
561: ( 0xC4 == ((U8*)s)[0] || 0xC7 == ((U8*)s)[0] ) ? \
562 ( ( 0xB0 == ((U8*)s)[1] ) ? 2 : 0 ) \
563: ( 0xC5 == ((U8*)s)[0] ) ? \
564 ( ( 0x89 == ((U8*)s)[1] || 0xB8 == ((U8*)s)[1] || 0xBF == ((U8*)s)[1] ) ? 2 : 0 )\
565: ( 0xCA == ((U8*)s)[0] ) ? \
566 ( ( 0xBC == ((U8*)s)[1] ) ? 2 : 0 ) \
567: ( 0xCE == ((U8*)s)[0] ) ? \
568 ( ( ( ((U8*)s)[1] & 0xDF ) == 0x9C ) ? 2 : 0 ) \
569: ( 0xE1 == ((U8*)s)[0] ) ? \
570 ( ( ( 0xBA == ((U8*)s)[1] ) && ( ( 0x96 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x9A ) || 0x9E == ((U8*)s)[2] ) ) ? 3 : 0 )\
571: ( 0xE2 == ((U8*)s)[0] ) ? \
572 ( ( ( 0x84 == ((U8*)s)[1] ) && ( ( ((U8*)s)[2] & 0xFE ) == 0xAA ) ) ? 3 : 0 )\
573: ( ( ( 0xEF == ((U8*)s)[0] ) && ( 0xAC == ((U8*)s)[1] ) ) && ( ((U8*)s)[2] <= 0x86 ) ) ? 3 : 0 )
31f05a37
KW
574
575/*** GENERATED CODE ***/
576#define is_PROBLEMATIC_LOCALE_FOLDEDS_START_cp(cp) \
c7c8bf55
KW
577( cp <= 0xFF || ( 0xFF < cp && \
578( 0x130 == cp || ( 0x130 < cp && \
579( 0x149 == cp || ( 0x149 < cp && \
580( 0x178 == cp || ( 0x178 < cp && \
581( 0x17F == cp || ( 0x17F < cp && \
582( 0x1F0 == cp || ( 0x1F0 < cp && \
583( 0x2BC == cp || ( 0x2BC < cp && \
584( 0x39C == cp || ( 0x39C < cp && \
585( 0x3BC == cp || ( 0x3BC < cp && \
586( ( 0x1E96 <= cp && cp <= 0x1E9A ) || ( 0x1E9A < cp && \
587( 0x1E9E == cp || ( 0x1E9E < cp && \
588( 0x212A == cp || ( 0x212A < cp && \
589( 0x212B == cp || ( 0xFB00 <= cp && cp <= 0xFB06 ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) )
31f05a37
KW
590
591/*
0b50d62a
KW
592 PATWS: pattern white space
593
594 \p{PatWS}
595*/
596/*** GENERATED CODE ***/
0b50d62a 597#define is_PATWS_safe(s,e,is_utf8) \
dd9bc2b0 598( ( LIKELY((e) > (s)) ) ? \
c7c8bf55 599 ( ( ( 0x09 <= ((U8*)s)[0] && ((U8*)s)[0] <= 0x0D ) || 0x20 == ((U8*)s)[0] ) ? 1\
5ab0c3af 600 : (! is_utf8 ) ? \
c7c8bf55 601 ( 0x85 == ((U8*)s)[0] ) \
dd9bc2b0 602 : ( LIKELY(((e) - (s)) >= UTF8SKIP(s)) ) ? \
c7c8bf55
KW
603 ( ( 0xC2 == ((U8*)s)[0] ) ? \
604 ( ( 0x85 == ((U8*)s)[1] ) ? 2 : 0 ) \
605 : ( ( ( 0xE2 == ((U8*)s)[0] ) && ( 0x80 == ((U8*)s)[1] ) ) && ( ( ((U8*)s)[2] & 0xFE ) == 0x8E || ( ((U8*)s)[2] & 0xFE ) == 0xA8 ) ) ? 3 : 0 )\
5ab0c3af 606 : 0 ) \
0b50d62a
KW
607: 0 )
608
609/*** GENERATED CODE ***/
610#define is_PATWS_cp(cp) \
c7c8bf55
KW
611( ( 0x09 <= cp && cp <= 0x0D ) || ( 0x0D < cp && \
612( 0x20 == cp || ( 0x20 < cp && \
613( 0x85 == cp || ( 0x85 < cp && \
614( 0x200E == cp || ( 0x200E < cp && \
615( 0x200F == cp || ( 0x200F < cp && \
616( 0x2028 == cp || 0x2029 == cp ) ) ) ) ) ) ) ) ) ) )
0b50d62a 617
a1b2a50f
KW
618#endif /* ASCII/Latin1 */
619
620#if 'A' == 193 /* EBCDIC 1047 */ \
621 && '\\' == 224 && '[' == 173 && ']' == 189 && '{' == 192 && '}' == 208 \
622 && '^' == 95 && '~' == 161 && '!' == 90 && '#' == 123 && '|' == 79 \
623 && '$' == 91 && '@' == 124 && '`' == 121
624/*
625 LNBREAK: Line Break: \R
626
627 "\x0D\x0A" # CRLF - Network (Windows) line ending
628 \p{VertSpace}
629*/
630/*** GENERATED CODE ***/
631#define is_LNBREAK_safe(s,e,is_utf8) \
632( ((e)-(s) > 2) ? \
633 ( ( ( 0x0B == ((U8*)s)[0] || 0x0C == ((U8*)s)[0] ) || 0x15 == ((U8*)s)[0] || 0x25 == ((U8*)s)[0] ) ? 1\
634 : ( 0x0D == ((U8*)s)[0] ) ? \
635 ( ( 0x15 == ((U8*)s)[1] ) ? 2 : 1 ) \
636 : ( ( ( ( is_utf8 ) && ( 0xCA == ((U8*)s)[0] ) ) && ( 0x42 == ((U8*)s)[1] ) ) && ( 0x49 == ((U8*)s)[2] || 0x4A == ((U8*)s)[2] ) ) ? 3 : 0 )\
637: ((e)-(s) > 1) ? \
638 ( ( ( 0x0B == ((U8*)s)[0] || 0x0C == ((U8*)s)[0] ) || 0x15 == ((U8*)s)[0] || 0x25 == ((U8*)s)[0] ) ? 1\
639 : ( 0x0D == ((U8*)s)[0] ) ? \
640 ( ( 0x15 == ((U8*)s)[1] ) ? 2 : 1 ) \
641 : 0 ) \
642: ((e)-(s) > 0) ? \
643 ( ( 0x0B <= ((U8*)s)[0] && ((U8*)s)[0] <= 0x0D ) || 0x15 == ((U8*)s)[0] || 0x25 == ((U8*)s)[0] )\
644: 0 )
645
646/*** GENERATED CODE ***/
647#define is_LNBREAK_utf8_safe(s,e) \
648( ((e)-(s) > 2) ? \
649 ( ( ( 0x0B == ((U8*)s)[0] || 0x0C == ((U8*)s)[0] ) || 0x15 == ((U8*)s)[0] || 0x25 == ((U8*)s)[0] ) ? 1\
650 : ( 0x0D == ((U8*)s)[0] ) ? \
651 ( ( 0x15 == ((U8*)s)[1] ) ? 2 : 1 ) \
652 : ( ( ( 0xCA == ((U8*)s)[0] ) && ( 0x42 == ((U8*)s)[1] ) ) && ( 0x49 == ((U8*)s)[2] || 0x4A == ((U8*)s)[2] ) ) ? 3 : 0 )\
653: ((e)-(s) > 1) ? \
654 ( ( ( 0x0B == ((U8*)s)[0] || 0x0C == ((U8*)s)[0] ) || 0x15 == ((U8*)s)[0] || 0x25 == ((U8*)s)[0] ) ? 1\
655 : ( 0x0D == ((U8*)s)[0] ) ? \
656 ( ( 0x15 == ((U8*)s)[1] ) ? 2 : 1 ) \
657 : 0 ) \
658: ((e)-(s) > 0) ? \
659 ( ( 0x0B <= ((U8*)s)[0] && ((U8*)s)[0] <= 0x0D ) || 0x15 == ((U8*)s)[0] || 0x25 == ((U8*)s)[0] )\
660: 0 )
661
662/*** GENERATED CODE ***/
663#define is_LNBREAK_latin1_safe(s,e) \
664( ((e)-(s) > 1) ? \
665 ( ( ( 0x0B == ((U8*)s)[0] || 0x0C == ((U8*)s)[0] ) || 0x15 == ((U8*)s)[0] || 0x25 == ((U8*)s)[0] ) ? 1\
666 : ( 0x0D == ((U8*)s)[0] ) ? \
667 ( ( 0x15 == ((U8*)s)[1] ) ? 2 : 1 ) \
668 : 0 ) \
669: ((e)-(s) > 0) ? \
670 ( ( 0x0B <= ((U8*)s)[0] && ((U8*)s)[0] <= 0x0D ) || 0x15 == ((U8*)s)[0] || 0x25 == ((U8*)s)[0] )\
671: 0 )
672
673/*
674 HORIZWS: Horizontal Whitespace: \h \H
675
676 \p{HorizSpace}
677*/
678/*** GENERATED CODE ***/
679#define is_HORIZWS_high(s) \
680( ( 0xBC == ((U8*)s)[0] ) ? \
681 ( ( ( 0x63 == ((U8*)s)[1] ) && ( 0x41 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
682: ( 0xCA == ((U8*)s)[0] ) ? \
683 ( ( 0x41 == ((U8*)s)[1] ) ? \
684 ( ( ( 0x41 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x4A ) || 0x51 == ((U8*)s)[2] ) ? 3 : 0 )\
685 : ( 0x42 == ((U8*)s)[1] ) ? \
686 ( ( 0x56 == ((U8*)s)[2] ) ? 3 : 0 ) \
687 : ( ( 0x43 == ((U8*)s)[1] ) && ( 0x73 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
688: ( ( ( 0xCE == ((U8*)s)[0] ) && ( 0x41 == ((U8*)s)[1] ) ) && ( 0x41 == ((U8*)s)[2] ) ) ? 3 : 0 )
689
690/*** GENERATED CODE ***/
691#define is_HORIZWS_cp_high(cp) \
692( 0x1680 == cp || ( 0x1680 < cp && \
693( ( 0x2000 <= cp && cp <= 0x200A ) || ( 0x200A < cp && \
694( 0x202F == cp || ( 0x202F < cp && \
695( 0x205F == cp || 0x3000 == cp ) ) ) ) ) ) )
696
697/*
698 VERTWS: Vertical Whitespace: \v \V
699
700 \p{VertSpace}
701*/
702/*** GENERATED CODE ***/
703#define is_VERTWS_high(s) \
704( ( ( ( 0xCA == ((U8*)s)[0] ) && ( 0x42 == ((U8*)s)[1] ) ) && ( 0x49 == ((U8*)s)[2] || 0x4A == ((U8*)s)[2] ) ) ? 3 : 0 )
705
706/*** GENERATED CODE ***/
707#define is_VERTWS_cp_high(cp) \
708( 0x2028 == cp || 0x2029 == cp )
709
710/*
711 XDIGIT: Hexadecimal digits
712
713 \p{XDigit}
714*/
715/*** GENERATED CODE ***/
716#define is_XDIGIT_high(s) \
717( ( ( 0xDD == ((U8*)s)[0] ) && ( 0x73 == ((U8*)s)[1] ) ) ? ( ( 0x67 == ((U8*)s)[2] ) ?\
718 ( ( ( 0x57 <= ((U8*)s)[3] && ((U8*)s)[3] <= 0x59 ) || ( 0x62 <= ((U8*)s)[3] && ((U8*)s)[3] <= 0x68 ) ) ? 4 : 0 )\
719 : ( ( ( ((U8*)s)[2] & 0xFE ) == 0x68 ) && ( 0x42 <= ((U8*)s)[3] && ((U8*)s)[3] <= 0x47 ) ) ? 4 : 0 ) : 0 )
720
721/*** GENERATED CODE ***/
722#define is_XDIGIT_cp_high(cp) \
723( ( 0xFF10 <= cp && cp <= 0xFF19 ) || ( 0xFF19 < cp && \
724( ( 0xFF21 <= cp && cp <= 0xFF26 ) || ( 0xFF41 <= cp && cp <= 0xFF46 ) ) ) )
725
726/*
727 XPERLSPACE: \p{XPerlSpace}
728
729 \p{XPerlSpace}
730*/
731/*** GENERATED CODE ***/
732#define is_XPERLSPACE_high(s) \
733( ( 0xBC == ((U8*)s)[0] ) ? \
734 ( ( ( 0x63 == ((U8*)s)[1] ) && ( 0x41 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
735: ( 0xCA == ((U8*)s)[0] ) ? \
736 ( ( 0x41 == ((U8*)s)[1] ) ? \
737 ( ( ( 0x41 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x4A ) || 0x51 == ((U8*)s)[2] ) ? 3 : 0 )\
738 : ( 0x42 == ((U8*)s)[1] ) ? \
739 ( ( ( 0x49 == ((U8*)s)[2] || 0x4A == ((U8*)s)[2] ) || 0x56 == ((U8*)s)[2] ) ? 3 : 0 )\
740 : ( ( 0x43 == ((U8*)s)[1] ) && ( 0x73 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
741: ( ( ( 0xCE == ((U8*)s)[0] ) && ( 0x41 == ((U8*)s)[1] ) ) && ( 0x41 == ((U8*)s)[2] ) ) ? 3 : 0 )
742
743/*** GENERATED CODE ***/
744#define is_XPERLSPACE_cp_high(cp) \
745( 0x1680 == cp || ( 0x1680 < cp && \
746( ( 0x2000 <= cp && cp <= 0x200A ) || ( 0x200A < cp && \
747( 0x2028 == cp || ( 0x2028 < cp && \
748( 0x2029 == cp || ( 0x2029 < cp && \
749( 0x202F == cp || ( 0x202F < cp && \
750( 0x205F == cp || 0x3000 == cp ) ) ) ) ) ) ) ) ) ) )
751
752/*
753 REPLACEMENT: Unicode REPLACEMENT CHARACTER
754
755 0xFFFD
756*/
757/*** GENERATED CODE ***/
758#define is_REPLACEMENT_utf8_safe(s,e) \
759( ( ( ( ( ( ((e) - (s)) >= 4 ) && ( 0xDD == ((U8*)s)[0] ) ) && ( 0x73 == ((U8*)s)[1] ) ) && ( 0x73 == ((U8*)s)[2] ) ) && ( 0x71 == ((U8*)s)[3] ) ) ? 4 : 0 )
760
761/*
762 NONCHAR: Non character code points
763
764 \p{Nchar}
765*/
766/*** GENERATED CODE ***/
767#define is_NONCHAR_utf8(s) \
768( ( 0xDD == ((U8*)s)[0] ) ? \
769 ( ( 0x73 == ((U8*)s)[1] ) ? \
770 ( ( 0x55 == ((U8*)s)[2] ) ? \
771 ( ( ( 0x57 <= ((U8*)s)[3] && ((U8*)s)[3] <= 0x59 ) || ( 0x62 <= ((U8*)s)[3] && ((U8*)s)[3] <= 0x6A ) || ( ((U8*)s)[3] & 0xFC ) == 0x70 ) ? 4 : 0 )\
772 : ( 0x56 == ((U8*)s)[2] ) ? \
773 ( ( ( 0x41 <= ((U8*)s)[3] && ((U8*)s)[3] <= 0x4A ) || ( 0x51 <= ((U8*)s)[3] && ((U8*)s)[3] <= 0x56 ) ) ? 4 : 0 )\
774 : ( ( 0x73 == ((U8*)s)[2] ) && ( ( ((U8*)s)[3] & 0xFE ) == 0x72 ) ) ? 4 : 0 )\
775 : 0 ) \
776: ( 0xDF == ((U8*)s)[0] || 0xEA == ((U8*)s)[0] || 0xEC == ((U8*)s)[0] ) ? \
777 ( ( ( ( 0x73 == ((U8*)s)[1] ) && ( 0x73 == ((U8*)s)[2] ) ) && ( ( ((U8*)s)[3] & 0xFE ) == 0x72 ) ) ? 4 : 0 )\
778: ( 0xED == ((U8*)s)[0] ) ? \
779 ( ( ( ( ( ((U8*)s)[1] == 0x4A || ((U8*)s)[1] == 0x52 || ( ( ((U8*)s)[1] & 0xFD ) == 0x54 ) || ((U8*)s)[1] == 0x58 || ((U8*)s)[1] == 0x62 || ( ( ((U8*)s)[1] & 0xFD ) == 0x64 ) || ( ( ((U8*)s)[1] & 0xFD ) == 0x68 ) || ( ( ((U8*)s)[1] & 0xFD ) == 0x71 ) ) && ( 0x73 == ((U8*)s)[2] ) ) && ( 0x73 == ((U8*)s)[3] ) ) && ( ( ((U8*)s)[4] & 0xFE ) == 0x72 ) ) ? 5 : 0 )\
780: ( ( ( ( ( 0xEE == ((U8*)s)[0] ) && ( 0x42 == ((U8*)s)[1] ) ) && ( 0x73 == ((U8*)s)[2] ) ) && ( 0x73 == ((U8*)s)[3] ) ) && ( ( ((U8*)s)[4] & 0xFE ) == 0x72 ) ) ? 5 : 0 )
781
782/*
783 SURROGATE: Surrogate characters
784
785 \p{Gc=Cs}
786*/
787/*** GENERATED CODE ***/
788#define is_SURROGATE_utf8(s) \
789( ( ( ( ( 0xDD == ((U8*)s)[0] ) && ( 0x65 == ((U8*)s)[1] || 0x66 == ((U8*)s)[1] ) ) && ( ( 0x41 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x4A ) || ( 0x51 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x59 ) || ( 0x62 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x6A ) || ( ((U8*)s)[2] & 0xFC ) == 0x70 ) ) && ( ( 0x41 <= ((U8*)s)[3] && ((U8*)s)[3] <= 0x4A ) || ( 0x51 <= ((U8*)s)[3] && ((U8*)s)[3] <= 0x59 ) || ( 0x62 <= ((U8*)s)[3] && ((U8*)s)[3] <= 0x6A ) || ( ((U8*)s)[3] & 0xFC ) == 0x70 ) ) ? 4 : 0 )
790
791/*
5dca9278 792 UTF8_CHAR: Matches legal UTF-EBCDIC encoded characters from 2 through 3 bytes
a1b2a50f 793
5dca9278 794 0xA0 - 0x3FFF
a1b2a50f
KW
795*/
796/*** GENERATED CODE ***/
40f914fd 797#define is_UTF8_CHAR_utf8_no_length_checks(s) \
5dca9278 798( ( 0x80 == ((U8*)s)[0] || ( 0x8A <= ((U8*)s)[0] && ((U8*)s)[0] <= 0x90 ) || ( 0x9A <= ((U8*)s)[0] && ((U8*)s)[0] <= 0xA0 ) || ( 0xAA <= ((U8*)s)[0] && ((U8*)s)[0] <= 0xAC ) || ( 0xAE <= ((U8*)s)[0] && ((U8*)s)[0] <= 0xB6 ) ) ?\
40f914fd
KW
799 ( ( ( 0x41 <= ((U8*)s)[1] && ((U8*)s)[1] <= 0x4A ) || ( 0x51 <= ((U8*)s)[1] && ((U8*)s)[1] <= 0x59 ) || ( 0x62 <= ((U8*)s)[1] && ((U8*)s)[1] <= 0x6A ) || ( ((U8*)s)[1] & 0xFC ) == 0x70 ) ? 2 : 0 )\
800: ( ( ( ( ( ((U8*)s)[0] & 0xFC ) == 0xB8 ) || ((U8*)s)[0] == 0xBC || ( ( ((U8*)s)[0] & 0xFE ) == 0xBE ) || ( ( ((U8*)s)[0] & 0xEE ) == 0xCA ) || ( ( ((U8*)s)[0] & 0xFC ) == 0xCC ) ) && ( ( 0x41 <= ((U8*)s)[1] && ((U8*)s)[1] <= 0x4A ) || ( 0x51 <= ((U8*)s)[1] && ((U8*)s)[1] <= 0x59 ) || ( 0x62 <= ((U8*)s)[1] && ((U8*)s)[1] <= 0x6A ) || ( ((U8*)s)[1] & 0xFC ) == 0x70 ) ) && ( ( 0x41 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x4A ) || ( 0x51 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x59 ) || ( 0x62 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x6A ) || ( ((U8*)s)[2] & 0xFC ) == 0x70 ) ) ? 3 : 0 )
a1b2a50f
KW
801
802/*
803 QUOTEMETA: Meta-characters that \Q should quote
804
805 \p{_Perl_Quotemeta}
806*/
807/*** GENERATED CODE ***/
808#define is_QUOTEMETA_high(s) \
809( ( 0xB1 == ((U8*)s)[0] ) ? \
810 ( ( 0x56 == ((U8*)s)[1] ) ? 2 : 0 ) \
811: ( 0xB8 == ((U8*)s)[0] ) ? \
812 ( ( ( 0x57 == ((U8*)s)[1] ) && ( 0x70 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
813: ( 0xBB == ((U8*)s)[0] ) ? \
814 ( ( 0x51 == ((U8*)s)[1] ) ? \
815 ( ( 0x73 == ((U8*)s)[2] ) ? 3 : 0 ) \
816 : ( ( 0x52 == ((U8*)s)[1] ) && ( 0x41 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
817: ( 0xBC == ((U8*)s)[0] ) ? \
818 ( ( 0x63 == ((U8*)s)[1] ) ? \
819 ( ( 0x41 == ((U8*)s)[2] ) ? 3 : 0 ) \
820 : ( ( 0x71 == ((U8*)s)[1] ) && ( 0x63 == ((U8*)s)[2] || 0x64 == ((U8*)s)[2] ) ) ? 3 : 0 )\
821: ( 0xBE == ((U8*)s)[0] ) ? \
822 ( ( ( 0x41 == ((U8*)s)[1] ) && ( 0x52 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x55 ) ) ? 3 : 0 )\
823: ( 0xCA == ((U8*)s)[0] ) ? \
824 ( ( 0x41 == ((U8*)s)[1] || ( 0x54 <= ((U8*)s)[1] && ((U8*)s)[1] <= 0x59 ) || ( 0x62 <= ((U8*)s)[1] && ((U8*)s)[1] <= 0x6A ) || ( ((U8*)s)[1] & 0xFC ) == 0x70 ) ?\
825 ( ( ( 0x41 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x4A ) || ( 0x51 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x59 ) || ( 0x62 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x6A ) || ( ((U8*)s)[2] & 0xFC ) == 0x70 ) ? 3 : 0 )\
826 : ( 0x42 == ((U8*)s)[1] ) ? \
827 ( ( ( 0x41 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x4A ) || ( 0x51 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x59 ) || ( 0x62 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x6A ) || ( 0x70 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x72 ) ) ? 3 : 0 )\
828 : ( 0x43 == ((U8*)s)[1] ) ? \
829 ( ( ( 0x42 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x4A ) || ( 0x51 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x59 ) || 0x62 == ((U8*)s)[2] || ( 0x64 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x6A ) || ( ((U8*)s)[2] & 0xFC ) == 0x70 ) ? 3 : 0 )\
830 : ( 0x44 == ((U8*)s)[1] ) ? \
831 ( ( ( 0x41 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x4A ) || ( 0x51 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x56 ) ) ? 3 : 0 )\
832 : ( ( 0x53 == ((U8*)s)[1] ) && ( ( 0x57 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x59 ) || ( 0x62 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x6A ) || ( ((U8*)s)[2] & 0xFC ) == 0x70 ) ) ? 3 : 0 )\
833: ( 0xCB == ((U8*)s)[0] ) ? \
834 ( ( ( ( ((U8*)s)[1] & 0xE7 ) == 0x41 ) || ( ( ((U8*)s)[1] & 0xCE ) == 0x42 ) || ((U8*)s)[1] == 0x4A || ( ( ((U8*)s)[1] & 0xFC ) == 0x54 ) || ((U8*)s)[1] == 0x58 || ( ( ((U8*)s)[1] & 0xFC ) == 0x64 ) || ( ( ((U8*)s)[1] & 0xFE ) == 0x68 ) || ((U8*)s)[1] == 0x71 ) ?\
835 ( ( ( 0x41 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x4A ) || ( 0x51 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x59 ) || ( 0x62 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x6A ) || ( ((U8*)s)[2] & 0xFC ) == 0x70 ) ? 3 : 0 )\
836 : ( 0x6A == ((U8*)s)[1] ) ? \
837 ( ( ( 0x41 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x4A ) || ( 0x51 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x59 ) || ( 0x62 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x64 ) ) ? 3 : 0 )\
838 : ( ( 0x70 == ((U8*)s)[1] ) && ( ( 0x63 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x6A ) || ( ((U8*)s)[2] & 0xFC ) == 0x70 ) ) ? 3 : 0 )\
839: ( 0xCC == ((U8*)s)[0] ) ? \
840 ( ( ( ( 0x41 <= ((U8*)s)[1] && ((U8*)s)[1] <= 0x4A ) || ( 0x51 <= ((U8*)s)[1] && ((U8*)s)[1] <= 0x59 ) || ( 0x62 <= ((U8*)s)[1] && ((U8*)s)[1] <= 0x6A ) || ( ((U8*)s)[1] & 0xFC ) == 0x70 ) && ( ( 0x41 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x4A ) || ( 0x51 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x59 ) || ( 0x62 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x6A ) || ( ((U8*)s)[2] & 0xFC ) == 0x70 ) ) ? 3 : 0 )\
841: ( 0xCD == ((U8*)s)[0] ) ? \
842 ( ( ( ( 0x57 <= ((U8*)s)[1] && ((U8*)s)[1] <= 0x59 ) || 0x62 == ((U8*)s)[1] ) && ( ( 0x41 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x4A ) || ( 0x51 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x59 ) || ( 0x62 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x6A ) || ( ((U8*)s)[2] & 0xFC ) == 0x70 ) ) ? 3 : 0 )\
843: ( 0xCE == ((U8*)s)[0] ) ? \
844 ( ( 0x41 == ((U8*)s)[1] ) ? \
845 ( ( ( 0x41 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x44 ) || ( 0x49 == ((U8*)s)[2] || 0x4A == ((U8*)s)[2] ) || ( 0x51 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x59 ) || ( 0x62 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x6A ) || ( ((U8*)s)[2] & 0xFC ) == 0x70 ) ? 3 : 0 )\
846 : ( 0x42 == ((U8*)s)[1] ) ? \
847 ( ( 0x41 == ((U8*)s)[2] || 0x57 == ((U8*)s)[2] ) ? 3 : 0 ) \
848 : ( ( 0x52 == ((U8*)s)[1] ) && ( 0x45 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
849: ( 0xDD == ((U8*)s)[0] ) ? \
850 ( ( 0x73 == ((U8*)s)[1] ) ? \
851 ( ( 0x4A == ((U8*)s)[2] ) ? \
852 ( ( ( ((U8*)s)[3] & 0xFE ) == 0x72 ) ? 4 : 0 ) \
853 : ( 0x57 == ((U8*)s)[2] ) ? \
854 ( ( ( 0x41 <= ((U8*)s)[3] && ((U8*)s)[3] <= 0x4A ) || ( 0x51 <= ((U8*)s)[3] && ((U8*)s)[3] <= 0x56 ) ) ? 4 : 0 )\
855 : ( 0x59 == ((U8*)s)[2] ) ? \
856 ( ( ( ((U8*)s)[3] & 0xFE ) == 0x46 ) ? 4 : 0 ) \
857 : ( 0x66 == ((U8*)s)[2] ) ? \
858 ( ( 0x73 == ((U8*)s)[3] ) ? 4 : 0 ) \
859 : ( 0x71 == ((U8*)s)[2] ) ? \
860 ( ( 0x41 == ((U8*)s)[3] ) ? 4 : 0 ) \
861 : ( ( 0x73 == ((U8*)s)[2] ) && ( ( 0x57 <= ((U8*)s)[3] && ((U8*)s)[3] <= 0x59 ) || ( 0x62 <= ((U8*)s)[3] && ((U8*)s)[3] <= 0x67 ) ) ) ? 4 : 0 )\
862 : 0 ) \
863: ( 0xDF == ((U8*)s)[0] ) ? \
09edd811
KW
864 ( ( 0x56 == ((U8*)s)[1] ) ? \
865 ( ( ( 0x46 == ((U8*)s)[2] ) && ( 0x41 <= ((U8*)s)[3] && ((U8*)s)[3] <= 0x44 ) ) ? 4 : 0 )\
866 : ( ( ( 0x63 == ((U8*)s)[1] ) && ( 0x52 == ((U8*)s)[2] ) ) && ( 0x62 <= ((U8*)s)[3] && ((U8*)s)[3] <= 0x69 ) ) ? 4 : 0 )\
a1b2a50f
KW
867: ( ( ( ( ( 0xED == ((U8*)s)[0] ) && ( 0x70 == ((U8*)s)[1] ) ) && ( 0x41 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x44 ) ) && ( ( 0x41 <= ((U8*)s)[3] && ((U8*)s)[3] <= 0x4A ) || ( 0x51 <= ((U8*)s)[3] && ((U8*)s)[3] <= 0x59 ) || ( 0x62 <= ((U8*)s)[3] && ((U8*)s)[3] <= 0x6A ) || ( ((U8*)s)[3] & 0xFC ) == 0x70 ) ) && ( ( 0x41 <= ((U8*)s)[4] && ((U8*)s)[4] <= 0x4A ) || ( 0x51 <= ((U8*)s)[4] && ((U8*)s)[4] <= 0x59 ) || ( 0x62 <= ((U8*)s)[4] && ((U8*)s)[4] <= 0x6A ) || ( ((U8*)s)[4] & 0xFC ) == 0x70 ) ) ? 5 : 0 )
868
869/*
870 MULTI_CHAR_FOLD: multi-char strings that are folded to by a single character
871
872 &regcharclass_multi_char_folds::multi_char_folds(1)
873*/
874/*** GENERATED CODE ***/
875#define is_MULTI_CHAR_FOLD_utf8_safe_part0(s,e) \
876( ( 0x81 == ((U8*)s)[0] ) ? \
877 ( ( ( 0xAB == ((U8*)s)[1] ) && ( 0x72 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
878 : ( 0x86 == ((U8*)s)[0] ) ? \
879 ( ( 0x86 == ((U8*)s)[1] ) ? \
880 ( ( 0x89 == ((U8*)s)[2] || 0x93 == ((U8*)s)[2] ) ? 3 : 2 ) \
881 : ( 0x89 == ((U8*)s)[1] || 0x93 == ((U8*)s)[1] ) ? 2 : 0 ) \
882 : ( 0x88 == ((U8*)s)[0] ) ? \
883 ( ( ( 0xB0 == ((U8*)s)[1] ) && ( 0x58 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
884 : ( 0x89 == ((U8*)s)[0] ) ? \
885 ( ( ( 0xAF == ((U8*)s)[1] ) && ( 0x48 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
886 : ( 0x8F == ((U8*)s)[0] ) ? \
887 ( ( ( ( 0x73 == ((U8*)s)[1] ) && ( 0x8F == ((U8*)s)[2] ) ) && ( 0x73 == ((U8*)s)[3] ) ) ? 4 : 0 )\
888 : ( 0x91 == ((U8*)s)[0] ) ? \
889 ( ( ( 0xAF == ((U8*)s)[1] ) && ( 0x53 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
890 : ( 0xA2 == ((U8*)s)[0] ) ? \
891 ( ( ( ((U8*)s)[1] & 0xFE ) == 0xA2 ) ? 2 : 0 ) \
892 : ( 0xA3 == ((U8*)s)[0] ) ? \
893 ( ( ( 0xAF == ((U8*)s)[1] ) && ( 0x49 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
894 : ( 0xA6 == ((U8*)s)[0] || 0xA8 == ((U8*)s)[0] ) ? \
895 ( ( ( 0xAF == ((U8*)s)[1] ) && ( 0x51 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
896 : ( 0xAB == ((U8*)s)[0] ) ? \
897 ( ( ( 0x70 == ((U8*)s)[1] ) && ( 0x95 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
898 : ( 0xB4 == ((U8*)s)[0] ) ? \
899 ( ( 0x53 == ((U8*)s)[1] || 0x55 == ((U8*)s)[1] ) ? \
900 ( ( ( 0xB4 == ((U8*)s)[2] ) && ( 0x68 == ((U8*)s)[3] ) ) ? 4 : 0 )\
901 : ( 0x58 == ((U8*)s)[1] || 0x66 == ((U8*)s)[1] ) ? \
902 ( ( 0xB1 == ((U8*)s)[2] ) ? \
903 ( ( 0x43 == ((U8*)s)[3] ) ? 4 : 0 ) \
904 : ( ( 0xB4 == ((U8*)s)[2] ) && ( 0x68 == ((U8*)s)[3] ) ) ? 4 : 0 )\
905 : ( ( ( 0x68 == ((U8*)s)[1] ) && ( 0xB1 == ((U8*)s)[2] ) ) && ( 0x43 == ((U8*)s)[3] ) ) ? 4 : 0 )\
906 : ( 0xB5 == ((U8*)s)[0] ) ? \
907 ( ( 0x42 == ((U8*)s)[1] ) ? \
908 ( ( ( 0xAF == ((U8*)s)[2] ) && ( 0x62 == ((U8*)s)[3] ) ) ? 4 : 0 )\
909 : ( 0x46 == ((U8*)s)[1] ) ? \
910 ( ( 0xAF == ((U8*)s)[2] ) ? \
911 ( ( 0x62 == ((U8*)s)[3] ) ? 4 : 0 ) \
912 : ( ( 0xB1 == ((U8*)s)[2] ) && ( 0x43 == ((U8*)s)[3] ) ) ? 4 : 0 )\
913 : ( 0x4A == ((U8*)s)[1] ) ? \
914 ( ( 0xB1 == ((U8*)s)[2] ) ? \
915 ( ( 0x43 == ((U8*)s)[3] ) ? 4 : 0 ) \
916 : ( ( 0xB4 == ((U8*)s)[2] ) && ( 0x68 == ((U8*)s)[3] ) ) ? 4 : 0 )\
917 : ( ( ( 0x55 == ((U8*)s)[1] ) && ( 0xB4 == ((U8*)s)[2] ) ) && ( 0x68 == ((U8*)s)[3] ) ) ? 4 : 0 )\
918 : ( 0xBF == ((U8*)s)[0] ) ? \
919 ( ( 0x67 == ((U8*)s)[1] || 0x68 == ((U8*)s)[1] ) ? \
920 ( ( ( ( 0x41 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x48 ) && ( 0xB4 == ((U8*)s)[3] ) ) && ( 0x68 == ((U8*)s)[4] ) ) ? 5 : 0 )\
921 : ( ( ( ( 0x6A == ((U8*)s)[1] ) && ( ( 0x41 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x48 ) || 0x57 == ((U8*)s)[2] || 0x63 == ((U8*)s)[2] || 0x70 == ((U8*)s)[2] ) ) && ( 0xB4 == ((U8*)s)[3] ) ) && ( 0x68 == ((U8*)s)[4] ) ) ? 5 : 0 )\
922 : 0 )
923
924
925/*** GENERATED CODE ***/
926#define is_MULTI_CHAR_FOLD_utf8_safe_part1(s,e) \
927( ((e)-(s) > 3) ? \
928 ( ( 0x81 == ((U8*)s)[0] ) ? \
929 ( ( ( 0xAB == ((U8*)s)[1] ) && ( 0x72 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
930 : ( 0x86 == ((U8*)s)[0] ) ? \
931 ( ( 0x86 == ((U8*)s)[1] ) ? \
932 ( ( 0x89 == ((U8*)s)[2] || 0x93 == ((U8*)s)[2] ) ? 3 : 2 ) \
933 : ( 0x89 == ((U8*)s)[1] || 0x93 == ((U8*)s)[1] ) ? 2 : 0 ) \
934 : ( 0x88 == ((U8*)s)[0] ) ? \
935 ( ( ( 0xB0 == ((U8*)s)[1] ) && ( 0x58 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
936 : ( 0x89 == ((U8*)s)[0] ) ? \
937 ( ( ( 0xAF == ((U8*)s)[1] ) && ( 0x48 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
938 : ( 0x8F == ((U8*)s)[0] ) ? \
939 ( ( ( ( 0x73 == ((U8*)s)[1] ) && ( 0x8F == ((U8*)s)[2] ) ) && ( 0x73 == ((U8*)s)[3] ) ) ? 4 : 0 )\
940 : ( 0x91 == ((U8*)s)[0] ) ? \
941 ( ( ( 0xAF == ((U8*)s)[1] ) && ( 0x53 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
942 : ( 0xA2 == ((U8*)s)[0] ) ? \
943 ( ( ( ((U8*)s)[1] & 0xFE ) == 0xA2 ) ? 2 : 0 ) \
944 : ( 0xA3 == ((U8*)s)[0] ) ? \
945 ( ( ( 0xAF == ((U8*)s)[1] ) && ( 0x49 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
946 : ( 0xA6 == ((U8*)s)[0] || 0xA8 == ((U8*)s)[0] ) ? \
947 ( ( ( 0xAF == ((U8*)s)[1] ) && ( 0x51 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
948 : ( 0xAB == ((U8*)s)[0] ) ? \
949 ( ( ( 0x70 == ((U8*)s)[1] ) && ( 0x95 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
950 : ( 0xB4 == ((U8*)s)[0] ) ? \
951 ( ( 0x53 == ((U8*)s)[1] || 0x55 == ((U8*)s)[1] ) ? \
952 ( ( ( 0xB4 == ((U8*)s)[2] ) && ( 0x68 == ((U8*)s)[3] ) ) ? 4 : 0 )\
953 : ( 0x58 == ((U8*)s)[1] || 0x66 == ((U8*)s)[1] ) ? \
954 ( ( 0xB1 == ((U8*)s)[2] ) ? \
955 ( ( 0x43 == ((U8*)s)[3] ) ? 4 : 0 ) \
956 : ( ( 0xB4 == ((U8*)s)[2] ) && ( 0x68 == ((U8*)s)[3] ) ) ? 4 : 0 )\
957 : ( ( ( 0x68 == ((U8*)s)[1] ) && ( 0xB1 == ((U8*)s)[2] ) ) && ( 0x43 == ((U8*)s)[3] ) ) ? 4 : 0 )\
958 : ( 0xB5 == ((U8*)s)[0] ) ? \
959 ( ( 0x42 == ((U8*)s)[1] ) ? \
960 ( ( ( 0xAF == ((U8*)s)[2] ) && ( 0x62 == ((U8*)s)[3] ) ) ? 4 : 0 )\
961 : ( 0x46 == ((U8*)s)[1] ) ? \
962 ( ( 0xAF == ((U8*)s)[2] ) ? \
963 ( ( 0x62 == ((U8*)s)[3] ) ? 4 : 0 ) \
964 : ( ( 0xB1 == ((U8*)s)[2] ) && ( 0x43 == ((U8*)s)[3] ) ) ? 4 : 0 )\
965 : ( 0x4A == ((U8*)s)[1] ) ? \
966 ( ( 0xB1 == ((U8*)s)[2] ) ? \
967 ( ( 0x43 == ((U8*)s)[3] ) ? 4 : 0 ) \
968 : ( ( 0xB4 == ((U8*)s)[2] ) && ( 0x68 == ((U8*)s)[3] ) ) ? 4 : 0 )\
969 : ( ( ( 0x55 == ((U8*)s)[1] ) && ( 0xB4 == ((U8*)s)[2] ) ) && ( 0x68 == ((U8*)s)[3] ) ) ? 4 : 0 )\
970 : 0 ) \
971: ((e)-(s) > 2) ? \
972 ( ( 0x81 == ((U8*)s)[0] ) ? \
973 ( ( ( 0xAB == ((U8*)s)[1] ) && ( 0x72 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
974 : ( 0x86 == ((U8*)s)[0] ) ? \
975 ( ( 0x86 == ((U8*)s)[1] ) ? \
976 ( ( 0x89 == ((U8*)s)[2] || 0x93 == ((U8*)s)[2] ) ? 3 : 2 ) \
977 : ( 0x89 == ((U8*)s)[1] || 0x93 == ((U8*)s)[1] ) ? 2 : 0 ) \
978 : ( 0x88 == ((U8*)s)[0] ) ? \
979 ( ( ( 0xB0 == ((U8*)s)[1] ) && ( 0x58 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
980 : ( 0x89 == ((U8*)s)[0] ) ? \
981 ( ( ( 0xAF == ((U8*)s)[1] ) && ( 0x48 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
982 : ( 0x91 == ((U8*)s)[0] ) ? \
983 ( ( ( 0xAF == ((U8*)s)[1] ) && ( 0x53 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
984 : ( 0xA2 == ((U8*)s)[0] ) ? \
985 ( ( ( ((U8*)s)[1] & 0xFE ) == 0xA2 ) ? 2 : 0 ) \
986 : ( 0xA3 == ((U8*)s)[0] ) ? \
987 ( ( ( 0xAF == ((U8*)s)[1] ) && ( 0x49 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
988 : ( 0xA6 == ((U8*)s)[0] || 0xA8 == ((U8*)s)[0] ) ? \
989 ( ( ( 0xAF == ((U8*)s)[1] ) && ( 0x51 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
990 : ( ( ( 0xAB == ((U8*)s)[0] ) && ( 0x70 == ((U8*)s)[1] ) ) && ( 0x95 == ((U8*)s)[2] ) ) ? 3 : 0 )\
991: ((e)-(s) > 1) ? \
992 ( ( 0x86 == ((U8*)s)[0] ) ? \
993 ( ( 0x86 == ((U8*)s)[1] || 0x89 == ((U8*)s)[1] || 0x93 == ((U8*)s)[1] ) ? 2 : 0 )\
994 : ( ( 0xA2 == ((U8*)s)[0] ) && ( ( ((U8*)s)[1] & 0xFE ) == 0xA2 ) ) ? 2 : 0 )\
995: 0 )
996
997
998/*** GENERATED CODE ***/
999#define is_MULTI_CHAR_FOLD_utf8_safe(s,e) \
1000( ((e)-(s) > 5) ? \
1001 ( ( 0x81 == ((U8*)s)[0] ) ? \
1002 ( ( ( 0xAB == ((U8*)s)[1] ) && ( 0x72 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
1003 : ( 0x86 == ((U8*)s)[0] ) ? \
1004 ( ( 0x86 == ((U8*)s)[1] ) ? \
1005 ( ( 0x89 == ((U8*)s)[2] || 0x93 == ((U8*)s)[2] ) ? 3 : 2 ) \
1006 : ( 0x89 == ((U8*)s)[1] || 0x93 == ((U8*)s)[1] ) ? 2 : 0 ) \
1007 : ( 0x88 == ((U8*)s)[0] ) ? \
1008 ( ( ( 0xB0 == ((U8*)s)[1] ) && ( 0x58 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
1009 : ( 0x89 == ((U8*)s)[0] ) ? \
1010 ( ( ( 0xAF == ((U8*)s)[1] ) && ( 0x48 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
1011 : ( 0x8F == ((U8*)s)[0] ) ? \
1012 ( ( ( ( 0x73 == ((U8*)s)[1] ) && ( 0x8F == ((U8*)s)[2] ) ) && ( 0x73 == ((U8*)s)[3] ) ) ? 4 : 0 )\
1013 : ( 0x91 == ((U8*)s)[0] ) ? \
1014 ( ( ( 0xAF == ((U8*)s)[1] ) && ( 0x53 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
1015 : ( 0xA2 == ((U8*)s)[0] ) ? \
1016 ( ( ( ((U8*)s)[1] & 0xFE ) == 0xA2 ) ? 2 : 0 ) \
1017 : ( 0xA3 == ((U8*)s)[0] ) ? \
1018 ( ( ( 0xAF == ((U8*)s)[1] ) && ( 0x49 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
1019 : ( 0xA6 == ((U8*)s)[0] || 0xA8 == ((U8*)s)[0] ) ? \
1020 ( ( ( 0xAF == ((U8*)s)[1] ) && ( 0x51 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
1021 : ( 0xAB == ((U8*)s)[0] ) ? \
1022 ( ( ( 0x70 == ((U8*)s)[1] ) && ( 0x95 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
1023 : ( 0xB4 == ((U8*)s)[0] ) ? \
1024 ( ( 0x53 == ((U8*)s)[1] || 0x55 == ((U8*)s)[1] ) ? \
1025 ( ( ( 0xB4 == ((U8*)s)[2] ) && ( 0x68 == ((U8*)s)[3] ) ) ? 4 : 0 )\
1026 : ( 0x58 == ((U8*)s)[1] || 0x66 == ((U8*)s)[1] ) ? \
1027 ( ( 0xB1 == ((U8*)s)[2] ) ? \
1028 ( ( 0x43 == ((U8*)s)[3] ) ? \
1029 ( ( ( 0xB4 == ((U8*)s)[4] ) && ( 0x68 == ((U8*)s)[5] ) ) ? 6 : 4 )\
1030 : 0 ) \
1031 : ( ( 0xB4 == ((U8*)s)[2] ) && ( 0x68 == ((U8*)s)[3] ) ) ? 4 : 0 )\
1032 : ( 0x68 == ((U8*)s)[1] ) ? \
1033 ( ( 0xAF == ((U8*)s)[2] ) ? \
1034 ( ( 0x49 == ((U8*)s)[3] ) ? \
1035 ( ( 0xAF == ((U8*)s)[4] ) ? \
1036 ( ( 0x41 == ((U8*)s)[5] || 0x42 == ((U8*)s)[5] ) ? 6 : 0 )\
1037 : ( ( 0xB1 == ((U8*)s)[4] ) && ( 0x43 == ((U8*)s)[5] ) ) ? 6 : 0 )\
1038 : 0 ) \
1039 : ( ( 0xB1 == ((U8*)s)[2] ) && ( 0x43 == ((U8*)s)[3] ) ) ? 4 : 0 )\
1040 : 0 ) \
1041 : ( 0xB5 == ((U8*)s)[0] ) ? \
1042 ( ( 0x42 == ((U8*)s)[1] ) ? \
1043 ( ( ( 0xAF == ((U8*)s)[2] ) && ( 0x62 == ((U8*)s)[3] ) ) ? 4 : 0 )\
1044 : ( 0x46 == ((U8*)s)[1] ) ? \
1045 ( ( 0xAF == ((U8*)s)[2] ) ? \
1046 ( ( 0x49 == ((U8*)s)[3] ) ? \
1047 ( ( 0xAF == ((U8*)s)[4] ) ? \
1048 ( ( 0x41 == ((U8*)s)[5] || 0x42 == ((U8*)s)[5] ) ? 6 : 0 )\
1049 : ( ( 0xB1 == ((U8*)s)[4] ) && ( 0x43 == ((U8*)s)[5] ) ) ? 6 : 0 )\
1050 : ( 0x62 == ((U8*)s)[3] ) ? \
1051 ( ( 0xAF == ((U8*)s)[4] ) ? \
1052 ( ( 0x41 == ((U8*)s)[5] || 0x42 == ((U8*)s)[5] ) ? 6 : 4 )\
1053 : ( ( 0xB1 == ((U8*)s)[4] ) && ( 0x43 == ((U8*)s)[5] ) ) ? 6 : 4 )\
1054 : 0 ) \
1055 : ( ( 0xB1 == ((U8*)s)[2] ) && ( 0x43 == ((U8*)s)[3] ) ) ? 4 : 0 )\
1056 : ( 0x4A == ((U8*)s)[1] ) ? \
1057 ( ( 0xB1 == ((U8*)s)[2] ) ? \
1058 ( ( 0x43 == ((U8*)s)[3] ) ? \
1059 ( ( ( 0xB4 == ((U8*)s)[4] ) && ( 0x68 == ((U8*)s)[5] ) ) ? 6 : 4 )\
1060 : 0 ) \
1061 : ( ( 0xB4 == ((U8*)s)[2] ) && ( 0x68 == ((U8*)s)[3] ) ) ? 4 : 0 )\
1062 : ( ( ( 0x55 == ((U8*)s)[1] ) && ( 0xB4 == ((U8*)s)[2] ) ) && ( 0x68 == ((U8*)s)[3] ) ) ? 4 : 0 )\
1063 : ( 0xB8 == ((U8*)s)[0] ) ? \
1064 ( ( 0x52 == ((U8*)s)[1] ) ? \
1065 ( ( 0x46 == ((U8*)s)[2] ) ? \
1066 ( ( ( ( 0xB8 == ((U8*)s)[3] ) && ( 0x53 == ((U8*)s)[4] ) ) && ( 0x43 == ((U8*)s)[5] ) ) ? 6 : 0 )\
1067 : ( 0x63 == ((U8*)s)[2] ) ? \
1068 ( ( ( ( 0xB8 == ((U8*)s)[3] ) && ( 0x52 == ((U8*)s)[4] ) ) && ( 0x46 == ((U8*)s)[5] || 0x52 == ((U8*)s)[5] || 0x54 == ((U8*)s)[5] || 0x65 == ((U8*)s)[5] ) ) ? 6 : 0 )\
1069 : ( ( ( ( 0x72 == ((U8*)s)[2] ) && ( 0xB8 == ((U8*)s)[3] ) ) && ( 0x52 == ((U8*)s)[4] ) ) && ( 0x65 == ((U8*)s)[5] ) ) ? 6 : 0 )\
1070 : 0 ) \
1071 : ( 0xBF == ((U8*)s)[0] ) ? \
1072 ( ( 0x67 == ((U8*)s)[1] || 0x68 == ((U8*)s)[1] ) ? \
1073 ( ( ( ( 0x41 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x48 ) && ( 0xB4 == ((U8*)s)[3] ) ) && ( 0x68 == ((U8*)s)[4] ) ) ? 5 : 0 )\
1074 : ( ( ( ( 0x6A == ((U8*)s)[1] ) && ( ( 0x41 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x48 ) || 0x57 == ((U8*)s)[2] || 0x63 == ((U8*)s)[2] || 0x70 == ((U8*)s)[2] ) ) && ( 0xB4 == ((U8*)s)[3] ) ) && ( 0x68 == ((U8*)s)[4] ) ) ? 5 : 0 )\
1075 : 0 ) \
1076: ((e)-(s) > 4) ? is_MULTI_CHAR_FOLD_utf8_safe_part0(s,e) : is_MULTI_CHAR_FOLD_utf8_safe_part1(s,e) )
1077
1078/*
1079 MULTI_CHAR_FOLD: multi-char strings that are folded to by a single character
1080
1081 &regcharclass_multi_char_folds::multi_char_folds(0)
1082*/
1083/*** GENERATED CODE ***/
1084#define is_MULTI_CHAR_FOLD_latin1_safe(s,e) \
1085( ((e)-(s) > 2) ? \
1086 ( ( ( ((U8*)s)[0] & 0xBF ) == 0x86 ) ? \
1087 ( ( ( ((U8*)s)[1] & 0xBF ) == 0x86 ) ? \
1088 ( ( ( ( ((U8*)s)[2] & 0xBF ) == 0x89 ) || ( ( ((U8*)s)[2] & 0xBF ) == 0x93 ) ) ? 3 : 2 )\
1089 : ( ( ( ((U8*)s)[1] & 0xBF ) == 0x89 ) || ( ( ((U8*)s)[1] & 0xBF ) == 0x93 ) ) ? 2 : 0 )\
1090 : ( ( ( ((U8*)s)[0] & 0xBF ) == 0xA2 ) && ( ( ((U8*)s)[1] & 0xBE ) == 0xA2 ) ) ? 2 : 0 )\
1091: ((e)-(s) > 1) ? \
1092 ( ( ( ((U8*)s)[0] & 0xBF ) == 0x86 ) ? \
1093 ( ( ( ( ((U8*)s)[1] & 0xBF ) == 0x86 ) || ( ( ((U8*)s)[1] & 0xBF ) == 0x89 ) || ( ( ((U8*)s)[1] & 0xBF ) == 0x93 ) ) ? 2 : 0 )\
1094 : ( ( ( ((U8*)s)[0] & 0xBF ) == 0xA2 ) && ( ( ((U8*)s)[1] & 0xBE ) == 0xA2 ) ) ? 2 : 0 )\
1095: 0 )
1096
1097/*
1098 FOLDS_TO_MULTI: characters that fold to multi-char strings
1099
1100 \p{_Perl_Folds_To_Multi_Char}
1101*/
1102/*** GENERATED CODE ***/
1103#define is_FOLDS_TO_MULTI_utf8(s) \
1104( ( 0x8A == ((U8*)s)[0] ) ? \
1105 ( ( 0x73 == ((U8*)s)[1] ) ? 2 : 0 ) \
1106: ( 0x8D == ((U8*)s)[0] || 0x9C == ((U8*)s)[0] || ( 0xB3 == ((U8*)s)[0] || 0xB4 == ((U8*)s)[0] ) ) ?\
1107 ( ( 0x57 == ((U8*)s)[1] ) ? 2 : 0 ) \
1108: ( 0x8E == ((U8*)s)[0] ) ? \
1109 ( ( 0x4A == ((U8*)s)[1] ) ? 2 : 0 ) \
1110: ( 0xB8 == ((U8*)s)[0] ) ? \
1111 ( ( ( 0x53 == ((U8*)s)[1] ) && ( 0x48 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
1112: ( 0xBF == ((U8*)s)[0] ) ? \
1113 ( ( 0x63 == ((U8*)s)[1] ) ? \
1114 ( ( ( 0x65 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x69 ) || 0x72 == ((U8*)s)[2] ) ? 3 : 0 )\
1115 : ( 0x69 == ((U8*)s)[1] ) ? \
1116 ( ( 0x57 == ((U8*)s)[2] || 0x59 == ((U8*)s)[2] || 0x63 == ((U8*)s)[2] || 0x65 == ((U8*)s)[2] ) ? 3 : 0 )\
1117 : ( 0x70 == ((U8*)s)[1] ) ? \
1118 ( ( ( 0x41 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x4A ) || ( 0x51 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x59 ) || ( 0x62 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x6A ) || ( ((U8*)s)[2] & 0xFC ) == 0x70 ) ? 3 : 0 )\
1119 : ( 0x71 == ((U8*)s)[1] ) ? \
1120 ( ( ( 0x41 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x4A ) || ( 0x51 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x56 ) || 0x59 == ((U8*)s)[2] || ( ((U8*)s)[2] & 0xFE ) == 0x62 || ( 0x65 == ((U8*)s)[2] || 0x66 == ((U8*)s)[2] ) || 0x70 == ((U8*)s)[2] ) ? 3 : 0 )\
1121 : ( 0x72 == ((U8*)s)[1] ) ? \
1122 ( ( ( ( ((U8*)s)[2] & 0xFB ) == 0x43 ) || ( ( ((U8*)s)[2] & 0xFE ) == 0x44 ) || ((U8*)s)[2] == 0x48 || ((U8*)s)[2] == 0x53 || ((U8*)s)[2] == 0x59 || ( ( ((U8*)s)[2] & 0xFB ) == 0x62 ) || ((U8*)s)[2] == 0x65 ) ? 3 : 0 )\
1123 : ( ( 0x73 == ((U8*)s)[1] ) && ( ( ( ((U8*)s)[2] & 0xFB ) == 0x43 ) || ( ( ((U8*)s)[2] & 0xFE ) == 0x44 ) || ((U8*)s)[2] == 0x48 || ((U8*)s)[2] == 0x59 || ( ( ((U8*)s)[2] & 0xFE ) == 0x62 ) || ((U8*)s)[2] == 0x65 || ((U8*)s)[2] == 0x66 || ((U8*)s)[2] == 0x70 ) ) ? 3 : 0 )\
1124: ( ( ( ( 0xDD == ((U8*)s)[0] ) && ( 0x72 == ((U8*)s)[1] ) ) && ( 0x67 == ((U8*)s)[2] ) ) && ( ( 0x41 <= ((U8*)s)[3] && ((U8*)s)[3] <= 0x47 ) || ( 0x62 <= ((U8*)s)[3] && ((U8*)s)[3] <= 0x66 ) ) ) ? 4 : 0 )
1125
1126/*
1127 PROBLEMATIC_LOCALE_FOLD: characters whose fold is problematic under locale
1128
1129 \p{_Perl_Problematic_Locale_Folds}
1130*/
1131/*** GENERATED CODE ***/
1132#define is_PROBLEMATIC_LOCALE_FOLD_utf8(s) \
1133( ( ( ( ((U8*)s)[0] & 0xC0 ) == 0x00 ) || ( ( ((U8*)s)[0] & 0xEF ) == 0x40 ) || ( ( ((U8*)s)[0] & 0xDF ) == 0x4B ) || ( ( ((U8*)s)[0] & 0xCC ) == 0x4C ) || ( ( ((U8*)s)[0] & 0xDE ) == 0x5A ) || ( ( ((U8*)s)[0] & 0xFE ) == 0x60 ) || ((U8*)s)[0] == 0x79 || ( ( ((U8*)s)[0] & 0xEF ) == 0x81 ) || ( ( ((U8*)s)[0] & 0xEE ) == 0x82 ) || ( ( ((U8*)s)[0] & 0xEC ) == 0x84 ) || ( ( ((U8*)s)[0] & 0xEE ) == 0x88 ) || ((U8*)s)[0] == 0xA1 || ( ( ((U8*)s)[0] & 0xBE ) == 0xA2 ) || ( ( ((U8*)s)[0] & 0xBC ) == 0xA4 ) || ( ( ((U8*)s)[0] & 0xFE ) == 0xA8 ) || ( ( ((U8*)s)[0] & 0xEF ) == 0xAD ) || ( ( ((U8*)s)[0] & 0xE8 ) == 0xC0 ) || ( ( ((U8*)s)[0] & 0xCE ) == 0xC8 ) || ((U8*)s)[0] == 0xE0 || ( ( ((U8*)s)[0] & 0xF8 ) == 0xF0 ) || ((U8*)s)[0] == 0xFF ) ? 1\
1134: ( 0x80 == ((U8*)s)[0] || ( ((U8*)s)[0] & 0xFE ) == 0x8A ) ? \
1135 ( ( ( 0x41 <= ((U8*)s)[1] && ((U8*)s)[1] <= 0x4A ) || ( 0x51 <= ((U8*)s)[1] && ((U8*)s)[1] <= 0x59 ) || ( 0x62 <= ((U8*)s)[1] && ((U8*)s)[1] <= 0x6A ) || ( ((U8*)s)[1] & 0xFC ) == 0x70 ) ? 2 : 0 )\
1136: ( 0x8D == ((U8*)s)[0] || 0x9C == ((U8*)s)[0] ) ? \
1137 ( ( 0x57 == ((U8*)s)[1] ) ? 2 : 0 ) \
1138: ( 0x8E == ((U8*)s)[0] ) ? \
1139 ( ( 0x4A == ((U8*)s)[1] ) ? 2 : 0 ) \
1140: ( 0x8F == ((U8*)s)[0] ) ? \
1141 ( ( 0x67 == ((U8*)s)[1] || 0x73 == ((U8*)s)[1] ) ? 2 : 0 ) \
1142: ( 0xB3 == ((U8*)s)[0] || 0xB4 == ((U8*)s)[0] ) ? \
1143 ( ( 0x70 == ((U8*)s)[1] ) ? 2 : 0 ) \
1144: ( 0xBF == ((U8*)s)[0] ) ? \
1145 ( ( ( 0x63 == ((U8*)s)[1] ) && ( ( 0x65 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x69 ) || 0x72 == ((U8*)s)[2] ) ) ? 3 : 0 )\
1146: ( 0xCA == ((U8*)s)[0] ) ? \
1147 ( ( ( 0x4A == ((U8*)s)[1] ) && ( 0x51 == ((U8*)s)[2] || 0x52 == ((U8*)s)[2] ) ) ? 3 : 0 )\
1148: ( ( ( ( 0xDD == ((U8*)s)[0] ) && ( 0x72 == ((U8*)s)[1] ) ) && ( 0x67 == ((U8*)s)[2] ) ) && ( 0x41 <= ((U8*)s)[3] && ((U8*)s)[3] <= 0x47 ) ) ? 4 : 0 )
1149
1150/*** GENERATED CODE ***/
1151#define is_PROBLEMATIC_LOCALE_FOLD_cp(cp) \
1152( cp <= 0xFF || ( 0xFF < cp && \
1153( 0x130 == cp || ( 0x130 < cp && \
1154( 0x149 == cp || ( 0x149 < cp && \
1155( 0x178 == cp || ( 0x178 < cp && \
1156( 0x17F == cp || ( 0x17F < cp && \
1157( 0x1F0 == cp || ( 0x1F0 < cp && \
1158( 0x39C == cp || ( 0x39C < cp && \
1159( 0x3BC == cp || ( 0x3BC < cp && \
1160( ( 0x1E96 <= cp && cp <= 0x1E9A ) || ( 0x1E9A < cp && \
1161( 0x1E9E == cp || ( 0x1E9E < cp && \
1162( 0x212A == cp || ( 0x212A < cp && \
1163( 0x212B == cp || ( 0xFB00 <= cp && cp <= 0xFB06 ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) )
1164
1165/*
1166 PROBLEMATIC_LOCALE_FOLDEDS_START: The first folded character of folds which are problematic under locale
1167
1168 \p{_Perl_Problematic_Locale_Foldeds_Start}
1169*/
1170/*** GENERATED CODE ***/
1171#define is_PROBLEMATIC_LOCALE_FOLDEDS_START_utf8(s) \
1172( ( ( ( ((U8*)s)[0] & 0xC0 ) == 0x00 ) || ( ( ((U8*)s)[0] & 0xEF ) == 0x40 ) || ( ( ((U8*)s)[0] & 0xDF ) == 0x4B ) || ( ( ((U8*)s)[0] & 0xCC ) == 0x4C ) || ( ( ((U8*)s)[0] & 0xDE ) == 0x5A ) || ( ( ((U8*)s)[0] & 0xFE ) == 0x60 ) || ((U8*)s)[0] == 0x79 || ( ( ((U8*)s)[0] & 0xEF ) == 0x81 ) || ( ( ((U8*)s)[0] & 0xEE ) == 0x82 ) || ( ( ((U8*)s)[0] & 0xEC ) == 0x84 ) || ( ( ((U8*)s)[0] & 0xEE ) == 0x88 ) || ((U8*)s)[0] == 0xA1 || ( ( ((U8*)s)[0] & 0xBE ) == 0xA2 ) || ( ( ((U8*)s)[0] & 0xBC ) == 0xA4 ) || ( ( ((U8*)s)[0] & 0xFE ) == 0xA8 ) || ( ( ((U8*)s)[0] & 0xEF ) == 0xAD ) || ( ( ((U8*)s)[0] & 0xE8 ) == 0xC0 ) || ( ( ((U8*)s)[0] & 0xCE ) == 0xC8 ) || ((U8*)s)[0] == 0xE0 || ( ( ((U8*)s)[0] & 0xF8 ) == 0xF0 ) || ((U8*)s)[0] == 0xFF ) ? 1\
1173: ( 0x80 == ((U8*)s)[0] || ( ((U8*)s)[0] & 0xFE ) == 0x8A ) ? \
1174 ( ( ( 0x41 <= ((U8*)s)[1] && ((U8*)s)[1] <= 0x4A ) || ( 0x51 <= ((U8*)s)[1] && ((U8*)s)[1] <= 0x59 ) || ( 0x62 <= ((U8*)s)[1] && ((U8*)s)[1] <= 0x6A ) || ( ((U8*)s)[1] & 0xFC ) == 0x70 ) ? 2 : 0 )\
1175: ( 0x8D == ((U8*)s)[0] || 0x9C == ((U8*)s)[0] ) ? \
1176 ( ( 0x57 == ((U8*)s)[1] ) ? 2 : 0 ) \
1177: ( 0x8E == ((U8*)s)[0] ) ? \
1178 ( ( 0x4A == ((U8*)s)[1] ) ? 2 : 0 ) \
1179: ( 0x8F == ((U8*)s)[0] ) ? \
1180 ( ( 0x67 == ((U8*)s)[1] || 0x73 == ((U8*)s)[1] ) ? 2 : 0 ) \
1181: ( 0xAB == ((U8*)s)[0] || ( 0xB3 == ((U8*)s)[0] || 0xB4 == ((U8*)s)[0] ) ) ?\
1182 ( ( 0x70 == ((U8*)s)[1] ) ? 2 : 0 ) \
1183: ( 0xBF == ((U8*)s)[0] ) ? \
1184 ( ( ( 0x63 == ((U8*)s)[1] ) && ( ( 0x65 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x69 ) || 0x72 == ((U8*)s)[2] ) ) ? 3 : 0 )\
1185: ( 0xCA == ((U8*)s)[0] ) ? \
1186 ( ( ( 0x4A == ((U8*)s)[1] ) && ( 0x51 == ((U8*)s)[2] || 0x52 == ((U8*)s)[2] ) ) ? 3 : 0 )\
1187: ( ( ( ( 0xDD == ((U8*)s)[0] ) && ( 0x72 == ((U8*)s)[1] ) ) && ( 0x67 == ((U8*)s)[2] ) ) && ( 0x41 <= ((U8*)s)[3] && ((U8*)s)[3] <= 0x47 ) ) ? 4 : 0 )
1188
1189/*** GENERATED CODE ***/
1190#define is_PROBLEMATIC_LOCALE_FOLDEDS_START_cp(cp) \
1191( cp <= 0xFF || ( 0xFF < cp && \
1192( 0x130 == cp || ( 0x130 < cp && \
1193( 0x149 == cp || ( 0x149 < cp && \
1194( 0x178 == cp || ( 0x178 < cp && \
1195( 0x17F == cp || ( 0x17F < cp && \
1196( 0x1F0 == cp || ( 0x1F0 < cp && \
1197( 0x2BC == cp || ( 0x2BC < cp && \
1198( 0x39C == cp || ( 0x39C < cp && \
1199( 0x3BC == cp || ( 0x3BC < cp && \
1200( ( 0x1E96 <= cp && cp <= 0x1E9A ) || ( 0x1E9A < cp && \
1201( 0x1E9E == cp || ( 0x1E9E < cp && \
1202( 0x212A == cp || ( 0x212A < cp && \
1203( 0x212B == cp || ( 0xFB00 <= cp && cp <= 0xFB06 ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) )
1204
1205/*
1206 PATWS: pattern white space
1207
1208 \p{PatWS}
1209*/
1210/*** GENERATED CODE ***/
1211#define is_PATWS_safe(s,e,is_utf8) \
dd9bc2b0 1212( ( LIKELY((e) > (s)) ) ? \
a1b2a50f 1213 ( ( ( ( ((U8*)s)[0] & 0xEF ) == 0x05 ) || ((U8*)s)[0] == 0x0B || ( ( ((U8*)s)[0] & 0xFE ) == 0x0C ) || ((U8*)s)[0] == 0x25 || ((U8*)s)[0] == 0x40 ) ? 1\
dd9bc2b0 1214 : ( ( is_utf8 && LIKELY(((e) - (s)) >= UTF8SKIP(s)) ) && ( 0xCA == ((U8*)s)[0] ) ) ? ( ( 0x41 == ((U8*)s)[1] ) ?\
a1b2a50f
KW
1215 ( ( 0x55 == ((U8*)s)[2] || 0x56 == ((U8*)s)[2] ) ? 3 : 0 )\
1216 : ( ( 0x42 == ((U8*)s)[1] ) && ( 0x49 == ((U8*)s)[2] || 0x4A == ((U8*)s)[2] ) ) ? 3 : 0 ) : 0 )\
1217: 0 )
1218
1219/*** GENERATED CODE ***/
1220#define is_PATWS_cp(cp) \
1221( 0x05 == cp || ( 0x05 < cp && \
1222( ( 0x0B <= cp && cp <= 0x0D ) || ( 0x0D < cp && \
1223( 0x15 == cp || ( 0x15 < cp && \
1224( 0x25 == cp || ( 0x25 < cp && \
1225( 0x40 == cp || ( 0x40 < cp && \
1226( 0x200E == cp || ( 0x200E < cp && \
1227( 0x200F == cp || ( 0x200F < cp && \
1228( 0x2028 == cp || 0x2029 == cp ) ) ) ) ) ) ) ) ) ) ) ) ) ) )
1229
1230#endif /* EBCDIC 1047 */
1231
1232#if 'A' == 193 /* EBCDIC 037 */ \
1233 && '\\' == 224 && '[' == 186 && ']' == 187 && '{' == 192 && '}' == 208 \
1234 && '^' == 176 && '~' == 161 && '!' == 90 && '#' == 123 && '|' == 79 \
1235 && '$' == 91 && '@' == 124 && '`' == 121
1236/*
1237 LNBREAK: Line Break: \R
1238
1239 "\x0D\x0A" # CRLF - Network (Windows) line ending
1240 \p{VertSpace}
1241*/
1242/*** GENERATED CODE ***/
1243#define is_LNBREAK_safe(s,e,is_utf8) \
1244( ((e)-(s) > 2) ? \
1245 ( ( ( 0x0B == ((U8*)s)[0] || 0x0C == ((U8*)s)[0] ) || 0x15 == ((U8*)s)[0] || 0x25 == ((U8*)s)[0] ) ? 1\
1246 : ( 0x0D == ((U8*)s)[0] ) ? \
1247 ( ( 0x25 == ((U8*)s)[1] ) ? 2 : 1 ) \
1248 : ( ( ( ( is_utf8 ) && ( 0xCA == ((U8*)s)[0] ) ) && ( 0x42 == ((U8*)s)[1] ) ) && ( 0x49 == ((U8*)s)[2] || 0x4A == ((U8*)s)[2] ) ) ? 3 : 0 )\
1249: ((e)-(s) > 1) ? \
1250 ( ( ( 0x0B == ((U8*)s)[0] || 0x0C == ((U8*)s)[0] ) || 0x15 == ((U8*)s)[0] || 0x25 == ((U8*)s)[0] ) ? 1\
1251 : ( 0x0D == ((U8*)s)[0] ) ? \
1252 ( ( 0x25 == ((U8*)s)[1] ) ? 2 : 1 ) \
1253 : 0 ) \
1254: ((e)-(s) > 0) ? \
1255 ( ( 0x0B <= ((U8*)s)[0] && ((U8*)s)[0] <= 0x0D ) || 0x15 == ((U8*)s)[0] || 0x25 == ((U8*)s)[0] )\
1256: 0 )
1257
1258/*** GENERATED CODE ***/
1259#define is_LNBREAK_utf8_safe(s,e) \
1260( ((e)-(s) > 2) ? \
1261 ( ( ( 0x0B == ((U8*)s)[0] || 0x0C == ((U8*)s)[0] ) || 0x15 == ((U8*)s)[0] || 0x25 == ((U8*)s)[0] ) ? 1\
1262 : ( 0x0D == ((U8*)s)[0] ) ? \
1263 ( ( 0x25 == ((U8*)s)[1] ) ? 2 : 1 ) \
1264 : ( ( ( 0xCA == ((U8*)s)[0] ) && ( 0x42 == ((U8*)s)[1] ) ) && ( 0x49 == ((U8*)s)[2] || 0x4A == ((U8*)s)[2] ) ) ? 3 : 0 )\
1265: ((e)-(s) > 1) ? \
1266 ( ( ( 0x0B == ((U8*)s)[0] || 0x0C == ((U8*)s)[0] ) || 0x15 == ((U8*)s)[0] || 0x25 == ((U8*)s)[0] ) ? 1\
1267 : ( 0x0D == ((U8*)s)[0] ) ? \
1268 ( ( 0x25 == ((U8*)s)[1] ) ? 2 : 1 ) \
1269 : 0 ) \
1270: ((e)-(s) > 0) ? \
1271 ( ( 0x0B <= ((U8*)s)[0] && ((U8*)s)[0] <= 0x0D ) || 0x15 == ((U8*)s)[0] || 0x25 == ((U8*)s)[0] )\
1272: 0 )
1273
1274/*** GENERATED CODE ***/
1275#define is_LNBREAK_latin1_safe(s,e) \
1276( ((e)-(s) > 1) ? \
1277 ( ( ( 0x0B == ((U8*)s)[0] || 0x0C == ((U8*)s)[0] ) || 0x15 == ((U8*)s)[0] || 0x25 == ((U8*)s)[0] ) ? 1\
1278 : ( 0x0D == ((U8*)s)[0] ) ? \
1279 ( ( 0x25 == ((U8*)s)[1] ) ? 2 : 1 ) \
1280 : 0 ) \
1281: ((e)-(s) > 0) ? \
1282 ( ( 0x0B <= ((U8*)s)[0] && ((U8*)s)[0] <= 0x0D ) || 0x15 == ((U8*)s)[0] || 0x25 == ((U8*)s)[0] )\
1283: 0 )
1284
1285/*
1286 HORIZWS: Horizontal Whitespace: \h \H
1287
1288 \p{HorizSpace}
1289*/
1290/*** GENERATED CODE ***/
1291#define is_HORIZWS_high(s) \
1292( ( 0xBD == ((U8*)s)[0] ) ? \
1293 ( ( ( 0x62 == ((U8*)s)[1] ) && ( 0x41 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
1294: ( 0xCA == ((U8*)s)[0] ) ? \
1295 ( ( 0x41 == ((U8*)s)[1] ) ? \
1296 ( ( ( 0x41 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x4A ) || 0x51 == ((U8*)s)[2] ) ? 3 : 0 )\
1297 : ( 0x42 == ((U8*)s)[1] ) ? \
1298 ( ( 0x56 == ((U8*)s)[2] ) ? 3 : 0 ) \
1299 : ( ( 0x43 == ((U8*)s)[1] ) && ( 0x72 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
1300: ( ( ( 0xCE == ((U8*)s)[0] ) && ( 0x41 == ((U8*)s)[1] ) ) && ( 0x41 == ((U8*)s)[2] ) ) ? 3 : 0 )
1301
1302/*** GENERATED CODE ***/
1303#define is_HORIZWS_cp_high(cp) \
1304( 0x1680 == cp || ( 0x1680 < cp && \
1305( ( 0x2000 <= cp && cp <= 0x200A ) || ( 0x200A < cp && \
1306( 0x202F == cp || ( 0x202F < cp && \
1307( 0x205F == cp || 0x3000 == cp ) ) ) ) ) ) )
1308
1309/*
1310 VERTWS: Vertical Whitespace: \v \V
1311
1312 \p{VertSpace}
1313*/
1314/*** GENERATED CODE ***/
1315#define is_VERTWS_high(s) \
1316( ( ( ( 0xCA == ((U8*)s)[0] ) && ( 0x42 == ((U8*)s)[1] ) ) && ( 0x49 == ((U8*)s)[2] || 0x4A == ((U8*)s)[2] ) ) ? 3 : 0 )
1317
1318/*** GENERATED CODE ***/
1319#define is_VERTWS_cp_high(cp) \
1320( 0x2028 == cp || 0x2029 == cp )
1321
1322/*
1323 XDIGIT: Hexadecimal digits
1324
1325 \p{XDigit}
1326*/
1327/*** GENERATED CODE ***/
1328#define is_XDIGIT_high(s) \
1329( ( ( 0xDD == ((U8*)s)[0] ) && ( 0x72 == ((U8*)s)[1] ) ) ? ( ( 0x66 == ((U8*)s)[2] ) ?\
1330 ( ( ( ( ((U8*)s)[3] & 0xF7 ) == 0x57 ) || ( ( ((U8*)s)[3] & 0xFE ) == 0x58 ) || ( ( ((U8*)s)[3] & 0xFE ) == 0x62 ) || ( ( ((U8*)s)[3] & 0xFC ) == 0x64 ) ) ? 4 : 0 )\
1331 : ( ( 0x67 == ((U8*)s)[2] || 0x68 == ((U8*)s)[2] ) && ( 0x42 <= ((U8*)s)[3] && ((U8*)s)[3] <= 0x47 ) ) ? 4 : 0 ) : 0 )
1332
1333/*** GENERATED CODE ***/
1334#define is_XDIGIT_cp_high(cp) \
1335( ( 0xFF10 <= cp && cp <= 0xFF19 ) || ( 0xFF19 < cp && \
1336( ( 0xFF21 <= cp && cp <= 0xFF26 ) || ( 0xFF41 <= cp && cp <= 0xFF46 ) ) ) )
1337
1338/*
1339 XPERLSPACE: \p{XPerlSpace}
1340
1341 \p{XPerlSpace}
1342*/
1343/*** GENERATED CODE ***/
1344#define is_XPERLSPACE_high(s) \
1345( ( 0xBD == ((U8*)s)[0] ) ? \
1346 ( ( ( 0x62 == ((U8*)s)[1] ) && ( 0x41 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
1347: ( 0xCA == ((U8*)s)[0] ) ? \
1348 ( ( 0x41 == ((U8*)s)[1] ) ? \
1349 ( ( ( 0x41 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x4A ) || 0x51 == ((U8*)s)[2] ) ? 3 : 0 )\
1350 : ( 0x42 == ((U8*)s)[1] ) ? \
1351 ( ( ( 0x49 == ((U8*)s)[2] || 0x4A == ((U8*)s)[2] ) || 0x56 == ((U8*)s)[2] ) ? 3 : 0 )\
1352 : ( ( 0x43 == ((U8*)s)[1] ) && ( 0x72 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
1353: ( ( ( 0xCE == ((U8*)s)[0] ) && ( 0x41 == ((U8*)s)[1] ) ) && ( 0x41 == ((U8*)s)[2] ) ) ? 3 : 0 )
1354
1355/*** GENERATED CODE ***/
1356#define is_XPERLSPACE_cp_high(cp) \
1357( 0x1680 == cp || ( 0x1680 < cp && \
1358( ( 0x2000 <= cp && cp <= 0x200A ) || ( 0x200A < cp && \
1359( 0x2028 == cp || ( 0x2028 < cp && \
1360( 0x2029 == cp || ( 0x2029 < cp && \
1361( 0x202F == cp || ( 0x202F < cp && \
1362( 0x205F == cp || 0x3000 == cp ) ) ) ) ) ) ) ) ) ) )
1363
1364/*
1365 REPLACEMENT: Unicode REPLACEMENT CHARACTER
1366
1367 0xFFFD
1368*/
1369/*** GENERATED CODE ***/
1370#define is_REPLACEMENT_utf8_safe(s,e) \
1371( ( ( ( ( ( ((e) - (s)) >= 4 ) && ( 0xDD == ((U8*)s)[0] ) ) && ( 0x72 == ((U8*)s)[1] ) ) && ( 0x72 == ((U8*)s)[2] ) ) && ( 0x70 == ((U8*)s)[3] ) ) ? 4 : 0 )
1372
1373/*
1374 NONCHAR: Non character code points
1375
1376 \p{Nchar}
1377*/
1378/*** GENERATED CODE ***/
1379#define is_NONCHAR_utf8(s) \
1380( ( 0xDD == ((U8*)s)[0] ) ? \
1381 ( ( 0x72 == ((U8*)s)[1] ) ? \
1382 ( ( 0x55 == ((U8*)s)[2] ) ? \
1383 ( ( ( 0x57 <= ((U8*)s)[3] && ((U8*)s)[3] <= 0x59 ) || 0x5F == ((U8*)s)[3] || ( 0x62 <= ((U8*)s)[3] && ((U8*)s)[3] <= 0x6A ) || ( 0x70 <= ((U8*)s)[3] && ((U8*)s)[3] <= 0x72 ) ) ? 4 : 0 )\
1384 : ( 0x56 == ((U8*)s)[2] ) ? \
1385 ( ( ( 0x41 <= ((U8*)s)[3] && ((U8*)s)[3] <= 0x4A ) || ( 0x51 <= ((U8*)s)[3] && ((U8*)s)[3] <= 0x56 ) ) ? 4 : 0 )\
1386 : ( ( 0x72 == ((U8*)s)[2] ) && ( 0x71 == ((U8*)s)[3] || 0x72 == ((U8*)s)[3] ) ) ? 4 : 0 )\
1387 : 0 ) \
1388: ( 0xDF == ((U8*)s)[0] || 0xEA == ((U8*)s)[0] || 0xEC == ((U8*)s)[0] ) ? \
1389 ( ( ( ( 0x72 == ((U8*)s)[1] ) && ( 0x72 == ((U8*)s)[2] ) ) && ( 0x71 == ((U8*)s)[3] || 0x72 == ((U8*)s)[3] ) ) ? 4 : 0 )\
1390: ( 0xED == ((U8*)s)[0] ) ? \
1391 ( ( ( ( ( ((U8*)s)[1] == 0x4A || ((U8*)s)[1] == 0x52 || ( ( ((U8*)s)[1] & 0xFD ) == 0x54 ) || ((U8*)s)[1] == 0x58 || ((U8*)s)[1] == 0x5F || ((U8*)s)[1] == 0x63 || ( ( ((U8*)s)[1] & 0xFD ) == 0x65 ) || ((U8*)s)[1] == 0x69 || ( ( ((U8*)s)[1] & 0xFD ) == 0x70 ) ) && ( 0x72 == ((U8*)s)[2] ) ) && ( 0x72 == ((U8*)s)[3] ) ) && ( 0x71 == ((U8*)s)[4] || 0x72 == ((U8*)s)[4] ) ) ? 5 : 0 )\
1392: ( ( ( ( ( 0xEE == ((U8*)s)[0] ) && ( 0x42 == ((U8*)s)[1] ) ) && ( 0x72 == ((U8*)s)[2] ) ) && ( 0x72 == ((U8*)s)[3] ) ) && ( 0x71 == ((U8*)s)[4] || 0x72 == ((U8*)s)[4] ) ) ? 5 : 0 )
1393
1394/*
1395 SURROGATE: Surrogate characters
1396
1397 \p{Gc=Cs}
1398*/
1399/*** GENERATED CODE ***/
1400#define is_SURROGATE_utf8(s) \
1401( ( ( ( ( 0xDD == ((U8*)s)[0] ) && ( ( ((U8*)s)[1] & 0xFE ) == 0x64 ) ) && ( ( 0x41 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x4A ) || ( 0x51 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x59 ) || 0x5F == ((U8*)s)[2] || ( 0x62 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x6A ) || ( 0x70 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x72 ) ) ) && ( ( 0x41 <= ((U8*)s)[3] && ((U8*)s)[3] <= 0x4A ) || ( 0x51 <= ((U8*)s)[3] && ((U8*)s)[3] <= 0x59 ) || 0x5F == ((U8*)s)[3] || ( 0x62 <= ((U8*)s)[3] && ((U8*)s)[3] <= 0x6A ) || ( 0x70 <= ((U8*)s)[3] && ((U8*)s)[3] <= 0x72 ) ) ) ? 4 : 0 )
1402
1403/*
5dca9278 1404 UTF8_CHAR: Matches legal UTF-EBCDIC encoded characters from 2 through 3 bytes
a1b2a50f 1405
5dca9278 1406 0xA0 - 0x3FFF
a1b2a50f
KW
1407*/
1408/*** GENERATED CODE ***/
40f914fd 1409#define is_UTF8_CHAR_utf8_no_length_checks(s) \
5dca9278 1410( ( 0x78 == ((U8*)s)[0] || 0x80 == ((U8*)s)[0] || ( 0x8A <= ((U8*)s)[0] && ((U8*)s)[0] <= 0x90 ) || ( 0x9A <= ((U8*)s)[0] && ((U8*)s)[0] <= 0xA0 ) || ( 0xAA <= ((U8*)s)[0] && ((U8*)s)[0] <= 0xAF ) || ( 0xB1 <= ((U8*)s)[0] && ((U8*)s)[0] <= 0xB5 ) ) ?\
40f914fd
KW
1411 ( ( ( 0x41 <= ((U8*)s)[1] && ((U8*)s)[1] <= 0x4A ) || ( 0x51 <= ((U8*)s)[1] && ((U8*)s)[1] <= 0x59 ) || 0x5F == ((U8*)s)[1] || ( 0x62 <= ((U8*)s)[1] && ((U8*)s)[1] <= 0x6A ) || ( 0x70 <= ((U8*)s)[1] && ((U8*)s)[1] <= 0x72 ) ) ? 2 : 0 )\
1412: ( ( ( ((U8*)s)[0] == 0xB7 || ( ( ((U8*)s)[0] & 0xFE ) == 0xB8 ) || ( ( ((U8*)s)[0] & 0xFC ) == 0xBC ) || ( ( ((U8*)s)[0] & 0xEE ) == 0xCA ) || ( ( ((U8*)s)[0] & 0xFC ) == 0xCC ) ) && ( ( 0x41 <= ((U8*)s)[1] && ((U8*)s)[1] <= 0x4A ) || ( 0x51 <= ((U8*)s)[1] && ((U8*)s)[1] <= 0x59 ) || 0x5F == ((U8*)s)[1] || ( 0x62 <= ((U8*)s)[1] && ((U8*)s)[1] <= 0x6A ) || ( 0x70 <= ((U8*)s)[1] && ((U8*)s)[1] <= 0x72 ) ) ) && ( ( 0x41 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x4A ) || ( 0x51 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x59 ) || 0x5F == ((U8*)s)[2] || ( 0x62 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x6A ) || ( 0x70 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x72 ) ) ) ? 3 : 0 )
a1b2a50f
KW
1413
1414/*
1415 QUOTEMETA: Meta-characters that \Q should quote
1416
1417 \p{_Perl_Quotemeta}
1418*/
1419/*** GENERATED CODE ***/
1420#define is_QUOTEMETA_high_part0(s) \
09edd811
KW
1421( ( 0x51 == ((U8*)s)[1] ) ? \
1422 ( ( 0x72 == ((U8*)s)[2] ) ? 3 : 0 ) \
1423 : ( ( 0x52 == ((U8*)s)[1] ) && ( 0x41 == ((U8*)s)[2] ) ) ? 3 : 0 )
a1b2a50f
KW
1424
1425
1426/*** GENERATED CODE ***/
1427#define is_QUOTEMETA_high_part1(s) \
09edd811 1428( ( 0xBD == ((U8*)s)[0] ) ? \
a1b2a50f
KW
1429 ( ( 0x62 == ((U8*)s)[1] ) ? \
1430 ( ( 0x41 == ((U8*)s)[2] ) ? 3 : 0 ) \
1431 : ( ( 0x70 == ((U8*)s)[1] ) && ( ( ((U8*)s)[2] & 0xFE ) == 0x62 ) ) ? 3 : 0 )\
1432: ( 0xBE == ((U8*)s)[0] ) ? \
1433 ( ( ( 0x41 == ((U8*)s)[1] ) && ( 0x52 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x55 ) ) ? 3 : 0 )\
1434: ( 0xCA == ((U8*)s)[0] ) ? \
1435 ( ( 0x41 == ((U8*)s)[1] || ( 0x54 <= ((U8*)s)[1] && ((U8*)s)[1] <= 0x59 ) || 0x5F == ((U8*)s)[1] || ( 0x62 <= ((U8*)s)[1] && ((U8*)s)[1] <= 0x6A ) || ( 0x70 <= ((U8*)s)[1] && ((U8*)s)[1] <= 0x72 ) ) ?\
1436 ( ( ( 0x41 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x4A ) || ( 0x51 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x59 ) || 0x5F == ((U8*)s)[2] || ( 0x62 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x6A ) || ( 0x70 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x72 ) ) ? 3 : 0 )\
1437 : ( 0x42 == ((U8*)s)[1] ) ? \
1438 ( ( ( 0x41 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x4A ) || ( 0x51 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x59 ) || 0x5F == ((U8*)s)[2] || ( 0x62 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x6A ) || ( ((U8*)s)[2] & 0xFE ) == 0x70 ) ? 3 : 0 )\
1439 : ( 0x43 == ((U8*)s)[1] ) ? \
1440 ( ( ( 0x42 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x4A ) || ( 0x51 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x59 ) || 0x5F == ((U8*)s)[2] || ( 0x63 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x6A ) || ( 0x70 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x72 ) ) ? 3 : 0 )\
1441 : ( 0x44 == ((U8*)s)[1] ) ? \
1442 ( ( ( 0x41 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x4A ) || ( 0x51 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x56 ) ) ? 3 : 0 )\
1443 : ( ( 0x53 == ((U8*)s)[1] ) && ( ( 0x57 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x59 ) || 0x5F == ((U8*)s)[2] || ( 0x62 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x6A ) || ( 0x70 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x72 ) ) ) ? 3 : 0 )\
1444: ( 0xCB == ((U8*)s)[0] ) ? \
1445 ( ( ( 0x41 <= ((U8*)s)[1] && ((U8*)s)[1] <= 0x43 ) || ( 0x49 == ((U8*)s)[1] || 0x4A == ((U8*)s)[1] ) || ( 0x51 <= ((U8*)s)[1] && ((U8*)s)[1] <= 0x59 ) || 0x5F == ((U8*)s)[1] || ( 0x62 <= ((U8*)s)[1] && ((U8*)s)[1] <= 0x68 ) || ( 0x70 <= ((U8*)s)[1] && ((U8*)s)[1] <= 0x72 ) ) ?\
1446 ( ( ( 0x41 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x4A ) || ( 0x51 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x59 ) || 0x5F == ((U8*)s)[2] || ( 0x62 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x6A ) || ( 0x70 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x72 ) ) ? 3 : 0 )\
1447 : ( 0x69 == ((U8*)s)[1] ) ? \
1448 ( ( ( 0x41 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x4A ) || ( 0x51 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x59 ) || 0x5F == ((U8*)s)[2] || ( ((U8*)s)[2] & 0xFE ) == 0x62 ) ? 3 : 0 )\
1449 : ( ( 0x6A == ((U8*)s)[1] ) && ( ( 0x62 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x6A ) || ( 0x70 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x72 ) ) ) ? 3 : 0 )\
1450: ( 0xCC == ((U8*)s)[0] ) ? \
1451 ( ( ( ( 0x41 <= ((U8*)s)[1] && ((U8*)s)[1] <= 0x4A ) || ( 0x51 <= ((U8*)s)[1] && ((U8*)s)[1] <= 0x59 ) || 0x5F == ((U8*)s)[1] || ( 0x62 <= ((U8*)s)[1] && ((U8*)s)[1] <= 0x6A ) || ( 0x70 <= ((U8*)s)[1] && ((U8*)s)[1] <= 0x72 ) ) && ( ( 0x41 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x4A ) || ( 0x51 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x59 ) || 0x5F == ((U8*)s)[2] || ( 0x62 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x6A ) || ( 0x70 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x72 ) ) ) ? 3 : 0 )\
1452: ( 0xCD == ((U8*)s)[0] ) ? \
1453 ( ( ( ( ( ((U8*)s)[1] & 0xF7 ) == 0x57 ) || ( ( ((U8*)s)[1] & 0xFE ) == 0x58 ) ) && ( ( 0x41 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x4A ) || ( 0x51 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x59 ) || 0x5F == ((U8*)s)[2] || ( 0x62 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x6A ) || ( 0x70 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x72 ) ) ) ? 3 : 0 )\
1454: ( 0xCE == ((U8*)s)[0] ) ? \
1455 ( ( 0x41 == ((U8*)s)[1] ) ? \
1456 ( ( ( 0x41 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x44 ) || ( 0x49 == ((U8*)s)[2] || 0x4A == ((U8*)s)[2] ) || ( 0x51 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x59 ) || 0x5F == ((U8*)s)[2] || ( 0x62 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x6A ) || ( 0x70 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x72 ) ) ? 3 : 0 )\
1457 : ( 0x42 == ((U8*)s)[1] ) ? \
1458 ( ( 0x41 == ((U8*)s)[2] || 0x57 == ((U8*)s)[2] ) ? 3 : 0 ) \
1459 : ( ( 0x52 == ((U8*)s)[1] ) && ( 0x45 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
1460: ( 0xDD == ((U8*)s)[0] ) ? \
1461 ( ( 0x72 == ((U8*)s)[1] ) ? \
1462 ( ( 0x4A == ((U8*)s)[2] ) ? \
1463 ( ( 0x71 == ((U8*)s)[3] || 0x72 == ((U8*)s)[3] ) ? 4 : 0 ) \
1464 : ( 0x57 == ((U8*)s)[2] ) ? \
1465 ( ( ( 0x41 <= ((U8*)s)[3] && ((U8*)s)[3] <= 0x4A ) || ( 0x51 <= ((U8*)s)[3] && ((U8*)s)[3] <= 0x56 ) ) ? 4 : 0 )\
1466 : ( 0x59 == ((U8*)s)[2] ) ? \
1467 ( ( ( ((U8*)s)[3] & 0xFE ) == 0x46 ) ? 4 : 0 ) \
1468 : ( 0x65 == ((U8*)s)[2] ) ? \
1469 ( ( 0x72 == ((U8*)s)[3] ) ? 4 : 0 ) \
1470 : ( 0x70 == ((U8*)s)[2] ) ? \
1471 ( ( 0x41 == ((U8*)s)[3] ) ? 4 : 0 ) \
1472 : ( ( 0x72 == ((U8*)s)[2] ) && ( ( 0x57 <= ((U8*)s)[3] && ((U8*)s)[3] <= 0x59 ) || 0x5F == ((U8*)s)[3] || ( 0x62 <= ((U8*)s)[3] && ((U8*)s)[3] <= 0x66 ) ) ) ? 4 : 0 )\
1473 : 0 ) \
1474: ( 0xDF == ((U8*)s)[0] ) ? \
09edd811
KW
1475 ( ( 0x56 == ((U8*)s)[1] ) ? \
1476 ( ( ( 0x46 == ((U8*)s)[2] ) && ( 0x41 <= ((U8*)s)[3] && ((U8*)s)[3] <= 0x44 ) ) ? 4 : 0 )\
1477 : ( ( ( 0x62 == ((U8*)s)[1] ) && ( 0x52 == ((U8*)s)[2] ) ) && ( 0x5F == ((U8*)s)[3] || ( 0x62 <= ((U8*)s)[3] && ((U8*)s)[3] <= 0x68 ) ) ) ? 4 : 0 )\
a1b2a50f
KW
1478: ( ( ( ( ( 0xED == ((U8*)s)[0] ) && ( 0x6A == ((U8*)s)[1] ) ) && ( 0x41 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x44 ) ) && ( ( 0x41 <= ((U8*)s)[3] && ((U8*)s)[3] <= 0x4A ) || ( 0x51 <= ((U8*)s)[3] && ((U8*)s)[3] <= 0x59 ) || 0x5F == ((U8*)s)[3] || ( 0x62 <= ((U8*)s)[3] && ((U8*)s)[3] <= 0x6A ) || ( 0x70 <= ((U8*)s)[3] && ((U8*)s)[3] <= 0x72 ) ) ) && ( ( 0x41 <= ((U8*)s)[4] && ((U8*)s)[4] <= 0x4A ) || ( 0x51 <= ((U8*)s)[4] && ((U8*)s)[4] <= 0x59 ) || 0x5F == ((U8*)s)[4] || ( 0x62 <= ((U8*)s)[4] && ((U8*)s)[4] <= 0x6A ) || ( 0x70 <= ((U8*)s)[4] && ((U8*)s)[4] <= 0x72 ) ) ) ? 5 : 0 )
1479
1480
1481/*** GENERATED CODE ***/
1482#define is_QUOTEMETA_high(s) \
1483( ( 0xAF == ((U8*)s)[0] ) ? \
1484 ( ( 0x56 == ((U8*)s)[1] ) ? 2 : 0 ) \
09edd811
KW
1485: ( 0xB7 == ((U8*)s)[0] ) ? \
1486 ( ( ( 0x57 == ((U8*)s)[1] ) && ( 0x6A == ((U8*)s)[2] ) ) ? 3 : 0 ) \
1487: ( 0xBC == ((U8*)s)[0] ) ? is_QUOTEMETA_high_part0(s) : is_QUOTEMETA_high_part1(s) )
a1b2a50f
KW
1488
1489/*
1490 MULTI_CHAR_FOLD: multi-char strings that are folded to by a single character
1491
1492 &regcharclass_multi_char_folds::multi_char_folds(1)
1493*/
1494/*** GENERATED CODE ***/
1495#define is_MULTI_CHAR_FOLD_utf8_safe_part0(s,e) \
1496( ( 0x81 == ((U8*)s)[0] ) ? \
1497 ( ( ( 0xAA == ((U8*)s)[1] ) && ( 0x71 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
1498 : ( 0x86 == ((U8*)s)[0] ) ? \
1499 ( ( 0x86 == ((U8*)s)[1] ) ? \
1500 ( ( 0x89 == ((U8*)s)[2] || 0x93 == ((U8*)s)[2] ) ? 3 : 2 ) \
1501 : ( 0x89 == ((U8*)s)[1] || 0x93 == ((U8*)s)[1] ) ? 2 : 0 ) \
1502 : ( 0x88 == ((U8*)s)[0] ) ? \
1503 ( ( ( 0xAE == ((U8*)s)[1] ) && ( 0x58 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
1504 : ( 0x89 == ((U8*)s)[0] ) ? \
1505 ( ( ( 0xAD == ((U8*)s)[1] ) && ( 0x48 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
1506 : ( 0x8E == ((U8*)s)[0] ) ? \
1507 ( ( ( ( 0x72 == ((U8*)s)[1] ) && ( 0x8E == ((U8*)s)[2] ) ) && ( 0x72 == ((U8*)s)[3] ) ) ? 4 : 0 )\
1508 : ( 0x91 == ((U8*)s)[0] ) ? \
1509 ( ( ( 0xAD == ((U8*)s)[1] ) && ( 0x53 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
1510 : ( 0xA2 == ((U8*)s)[0] ) ? \
1511 ( ( ( ((U8*)s)[1] & 0xFE ) == 0xA2 ) ? 2 : 0 ) \
1512 : ( 0xA3 == ((U8*)s)[0] ) ? \
1513 ( ( ( 0xAD == ((U8*)s)[1] ) && ( 0x49 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
1514 : ( 0xA6 == ((U8*)s)[0] || 0xA8 == ((U8*)s)[0] ) ? \
1515 ( ( ( 0xAD == ((U8*)s)[1] ) && ( 0x51 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
1516 : ( 0xAA == ((U8*)s)[0] ) ? \
1517 ( ( ( 0x6A == ((U8*)s)[1] ) && ( 0x95 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
1518 : ( 0xB3 == ((U8*)s)[0] ) ? \
1519 ( ( 0x53 == ((U8*)s)[1] || 0x55 == ((U8*)s)[1] ) ? \
1520 ( ( ( 0xB3 == ((U8*)s)[2] ) && ( 0x67 == ((U8*)s)[3] ) ) ? 4 : 0 )\
1521 : ( 0x58 == ((U8*)s)[1] || 0x65 == ((U8*)s)[1] ) ? \
1522 ( ( 0xAF == ((U8*)s)[2] ) ? \
1523 ( ( 0x43 == ((U8*)s)[3] ) ? 4 : 0 ) \
1524 : ( ( 0xB3 == ((U8*)s)[2] ) && ( 0x67 == ((U8*)s)[3] ) ) ? 4 : 0 )\
1525 : ( ( ( 0x67 == ((U8*)s)[1] ) && ( 0xAF == ((U8*)s)[2] ) ) && ( 0x43 == ((U8*)s)[3] ) ) ? 4 : 0 )\
1526 : ( 0xB4 == ((U8*)s)[0] ) ? \
1527 ( ( 0x42 == ((U8*)s)[1] ) ? \
1528 ( ( ( 0xAD == ((U8*)s)[2] ) && ( 0x5F == ((U8*)s)[3] ) ) ? 4 : 0 )\
1529 : ( 0x46 == ((U8*)s)[1] ) ? \
1530 ( ( 0xAD == ((U8*)s)[2] ) ? \
1531 ( ( 0x5F == ((U8*)s)[3] ) ? 4 : 0 ) \
1532 : ( ( 0xAF == ((U8*)s)[2] ) && ( 0x43 == ((U8*)s)[3] ) ) ? 4 : 0 )\
1533 : ( 0x4A == ((U8*)s)[1] ) ? \
1534 ( ( 0xAF == ((U8*)s)[2] ) ? \
1535 ( ( 0x43 == ((U8*)s)[3] ) ? 4 : 0 ) \
1536 : ( ( 0xB3 == ((U8*)s)[2] ) && ( 0x67 == ((U8*)s)[3] ) ) ? 4 : 0 )\
1537 : ( ( ( 0x55 == ((U8*)s)[1] ) && ( 0xB3 == ((U8*)s)[2] ) ) && ( 0x67 == ((U8*)s)[3] ) ) ? 4 : 0 )\
1538 : ( 0xBF == ((U8*)s)[0] ) ? \
1539 ( ( ( ((U8*)s)[1] & 0xFE ) == 0x66 ) ? \
1540 ( ( ( ( 0x41 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x48 ) && ( 0xB3 == ((U8*)s)[3] ) ) && ( 0x67 == ((U8*)s)[4] ) ) ? 5 : 0 )\
1541 : ( ( ( ( 0x69 == ((U8*)s)[1] ) && ( ( 0x41 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x48 ) || 0x57 == ((U8*)s)[2] || 0x62 == ((U8*)s)[2] || 0x6A == ((U8*)s)[2] ) ) && ( 0xB3 == ((U8*)s)[3] ) ) && ( 0x67 == ((U8*)s)[4] ) ) ? 5 : 0 )\
1542 : 0 )
1543
1544
1545/*** GENERATED CODE ***/
1546#define is_MULTI_CHAR_FOLD_utf8_safe_part1(s,e) \
1547( ((e)-(s) > 3) ? \
1548 ( ( 0x81 == ((U8*)s)[0] ) ? \
1549 ( ( ( 0xAA == ((U8*)s)[1] ) && ( 0x71 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
1550 : ( 0x86 == ((U8*)s)[0] ) ? \
1551 ( ( 0x86 == ((U8*)s)[1] ) ? \
1552 ( ( 0x89 == ((U8*)s)[2] || 0x93 == ((U8*)s)[2] ) ? 3 : 2 ) \
1553 : ( 0x89 == ((U8*)s)[1] || 0x93 == ((U8*)s)[1] ) ? 2 : 0 ) \
1554 : ( 0x88 == ((U8*)s)[0] ) ? \
1555 ( ( ( 0xAE == ((U8*)s)[1] ) && ( 0x58 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
1556 : ( 0x89 == ((U8*)s)[0] ) ? \
1557 ( ( ( 0xAD == ((U8*)s)[1] ) && ( 0x48 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
1558 : ( 0x8E == ((U8*)s)[0] ) ? \
1559 ( ( ( ( 0x72 == ((U8*)s)[1] ) && ( 0x8E == ((U8*)s)[2] ) ) && ( 0x72 == ((U8*)s)[3] ) ) ? 4 : 0 )\
1560 : ( 0x91 == ((U8*)s)[0] ) ? \
1561 ( ( ( 0xAD == ((U8*)s)[1] ) && ( 0x53 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
1562 : ( 0xA2 == ((U8*)s)[0] ) ? \
1563 ( ( ( ((U8*)s)[1] & 0xFE ) == 0xA2 ) ? 2 : 0 ) \
1564 : ( 0xA3 == ((U8*)s)[0] ) ? \
1565 ( ( ( 0xAD == ((U8*)s)[1] ) && ( 0x49 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
1566 : ( 0xA6 == ((U8*)s)[0] || 0xA8 == ((U8*)s)[0] ) ? \
1567 ( ( ( 0xAD == ((U8*)s)[1] ) && ( 0x51 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
1568 : ( 0xAA == ((U8*)s)[0] ) ? \
1569 ( ( ( 0x6A == ((U8*)s)[1] ) && ( 0x95 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
1570 : ( 0xB3 == ((U8*)s)[0] ) ? \
1571 ( ( 0x53 == ((U8*)s)[1] || 0x55 == ((U8*)s)[1] ) ? \
1572 ( ( ( 0xB3 == ((U8*)s)[2] ) && ( 0x67 == ((U8*)s)[3] ) ) ? 4 : 0 )\
1573 : ( 0x58 == ((U8*)s)[1] || 0x65 == ((U8*)s)[1] ) ? \
1574 ( ( 0xAF == ((U8*)s)[2] ) ? \
1575 ( ( 0x43 == ((U8*)s)[3] ) ? 4 : 0 ) \
1576 : ( ( 0xB3 == ((U8*)s)[2] ) && ( 0x67 == ((U8*)s)[3] ) ) ? 4 : 0 )\
1577 : ( ( ( 0x67 == ((U8*)s)[1] ) && ( 0xAF == ((U8*)s)[2] ) ) && ( 0x43 == ((U8*)s)[3] ) ) ? 4 : 0 )\
1578 : ( 0xB4 == ((U8*)s)[0] ) ? \
1579 ( ( 0x42 == ((U8*)s)[1] ) ? \
1580 ( ( ( 0xAD == ((U8*)s)[2] ) && ( 0x5F == ((U8*)s)[3] ) ) ? 4 : 0 )\
1581 : ( 0x46 == ((U8*)s)[1] ) ? \
1582 ( ( 0xAD == ((U8*)s)[2] ) ? \
1583 ( ( 0x5F == ((U8*)s)[3] ) ? 4 : 0 ) \
1584 : ( ( 0xAF == ((U8*)s)[2] ) && ( 0x43 == ((U8*)s)[3] ) ) ? 4 : 0 )\
1585 : ( 0x4A == ((U8*)s)[1] ) ? \
1586 ( ( 0xAF == ((U8*)s)[2] ) ? \
1587 ( ( 0x43 == ((U8*)s)[3] ) ? 4 : 0 ) \
1588 : ( ( 0xB3 == ((U8*)s)[2] ) && ( 0x67 == ((U8*)s)[3] ) ) ? 4 : 0 )\
1589 : ( ( ( 0x55 == ((U8*)s)[1] ) && ( 0xB3 == ((U8*)s)[2] ) ) && ( 0x67 == ((U8*)s)[3] ) ) ? 4 : 0 )\
1590 : 0 ) \
1591: ((e)-(s) > 2) ? \
1592 ( ( 0x81 == ((U8*)s)[0] ) ? \
1593 ( ( ( 0xAA == ((U8*)s)[1] ) && ( 0x71 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
1594 : ( 0x86 == ((U8*)s)[0] ) ? \
1595 ( ( 0x86 == ((U8*)s)[1] ) ? \
1596 ( ( 0x89 == ((U8*)s)[2] || 0x93 == ((U8*)s)[2] ) ? 3 : 2 ) \
1597 : ( 0x89 == ((U8*)s)[1] || 0x93 == ((U8*)s)[1] ) ? 2 : 0 ) \
1598 : ( 0x88 == ((U8*)s)[0] ) ? \
1599 ( ( ( 0xAE == ((U8*)s)[1] ) && ( 0x58 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
1600 : ( 0x89 == ((U8*)s)[0] ) ? \
1601 ( ( ( 0xAD == ((U8*)s)[1] ) && ( 0x48 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
1602 : ( 0x91 == ((U8*)s)[0] ) ? \
1603 ( ( ( 0xAD == ((U8*)s)[1] ) && ( 0x53 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
1604 : ( 0xA2 == ((U8*)s)[0] ) ? \
1605 ( ( ( ((U8*)s)[1] & 0xFE ) == 0xA2 ) ? 2 : 0 ) \
1606 : ( 0xA3 == ((U8*)s)[0] ) ? \
1607 ( ( ( 0xAD == ((U8*)s)[1] ) && ( 0x49 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
1608 : ( 0xA6 == ((U8*)s)[0] || 0xA8 == ((U8*)s)[0] ) ? \
1609 ( ( ( 0xAD == ((U8*)s)[1] ) && ( 0x51 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
1610 : ( ( ( 0xAA == ((U8*)s)[0] ) && ( 0x6A == ((U8*)s)[1] ) ) && ( 0x95 == ((U8*)s)[2] ) ) ? 3 : 0 )\
1611: ((e)-(s) > 1) ? \
1612 ( ( 0x86 == ((U8*)s)[0] ) ? \
1613 ( ( 0x86 == ((U8*)s)[1] || 0x89 == ((U8*)s)[1] || 0x93 == ((U8*)s)[1] ) ? 2 : 0 )\
1614 : ( ( 0xA2 == ((U8*)s)[0] ) && ( ( ((U8*)s)[1] & 0xFE ) == 0xA2 ) ) ? 2 : 0 )\
1615: 0 )
1616
1617
1618/*** GENERATED CODE ***/
1619#define is_MULTI_CHAR_FOLD_utf8_safe(s,e) \
1620( ((e)-(s) > 5) ? \
1621 ( ( 0x81 == ((U8*)s)[0] ) ? \
1622 ( ( ( 0xAA == ((U8*)s)[1] ) && ( 0x71 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
1623 : ( 0x86 == ((U8*)s)[0] ) ? \
1624 ( ( 0x86 == ((U8*)s)[1] ) ? \
1625 ( ( 0x89 == ((U8*)s)[2] || 0x93 == ((U8*)s)[2] ) ? 3 : 2 ) \
1626 : ( 0x89 == ((U8*)s)[1] || 0x93 == ((U8*)s)[1] ) ? 2 : 0 ) \
1627 : ( 0x88 == ((U8*)s)[0] ) ? \
1628 ( ( ( 0xAE == ((U8*)s)[1] ) && ( 0x58 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
1629 : ( 0x89 == ((U8*)s)[0] ) ? \
1630 ( ( ( 0xAD == ((U8*)s)[1] ) && ( 0x48 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
1631 : ( 0x8E == ((U8*)s)[0] ) ? \
1632 ( ( ( ( 0x72 == ((U8*)s)[1] ) && ( 0x8E == ((U8*)s)[2] ) ) && ( 0x72 == ((U8*)s)[3] ) ) ? 4 : 0 )\
1633 : ( 0x91 == ((U8*)s)[0] ) ? \
1634 ( ( ( 0xAD == ((U8*)s)[1] ) && ( 0x53 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
1635 : ( 0xA2 == ((U8*)s)[0] ) ? \
1636 ( ( ( ((U8*)s)[1] & 0xFE ) == 0xA2 ) ? 2 : 0 ) \
1637 : ( 0xA3 == ((U8*)s)[0] ) ? \
1638 ( ( ( 0xAD == ((U8*)s)[1] ) && ( 0x49 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
1639 : ( 0xA6 == ((U8*)s)[0] || 0xA8 == ((U8*)s)[0] ) ? \
1640 ( ( ( 0xAD == ((U8*)s)[1] ) && ( 0x51 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
1641 : ( 0xAA == ((U8*)s)[0] ) ? \
1642 ( ( ( 0x6A == ((U8*)s)[1] ) && ( 0x95 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
1643 : ( 0xB3 == ((U8*)s)[0] ) ? \
1644 ( ( 0x53 == ((U8*)s)[1] || 0x55 == ((U8*)s)[1] ) ? \
1645 ( ( ( 0xB3 == ((U8*)s)[2] ) && ( 0x67 == ((U8*)s)[3] ) ) ? 4 : 0 )\
1646 : ( 0x58 == ((U8*)s)[1] || 0x65 == ((U8*)s)[1] ) ? \
1647 ( ( 0xAF == ((U8*)s)[2] ) ? \
1648 ( ( 0x43 == ((U8*)s)[3] ) ? \
1649 ( ( ( 0xB3 == ((U8*)s)[4] ) && ( 0x67 == ((U8*)s)[5] ) ) ? 6 : 4 )\
1650 : 0 ) \
1651 : ( ( 0xB3 == ((U8*)s)[2] ) && ( 0x67 == ((U8*)s)[3] ) ) ? 4 : 0 )\
1652 : ( 0x67 == ((U8*)s)[1] ) ? \
1653 ( ( 0xAD == ((U8*)s)[2] ) ? \
1654 ( ( 0x49 == ((U8*)s)[3] ) ? \
1655 ( ( 0xAD == ((U8*)s)[4] ) ? \
1656 ( ( 0x41 == ((U8*)s)[5] || 0x42 == ((U8*)s)[5] ) ? 6 : 0 )\
1657 : ( ( 0xAF == ((U8*)s)[4] ) && ( 0x43 == ((U8*)s)[5] ) ) ? 6 : 0 )\
1658 : 0 ) \
1659 : ( ( 0xAF == ((U8*)s)[2] ) && ( 0x43 == ((U8*)s)[3] ) ) ? 4 : 0 )\
1660 : 0 ) \
1661 : ( 0xB4 == ((U8*)s)[0] ) ? \
1662 ( ( 0x42 == ((U8*)s)[1] ) ? \
1663 ( ( ( 0xAD == ((U8*)s)[2] ) && ( 0x5F == ((U8*)s)[3] ) ) ? 4 : 0 )\
1664 : ( 0x46 == ((U8*)s)[1] ) ? \
1665 ( ( 0xAD == ((U8*)s)[2] ) ? \
1666 ( ( 0x49 == ((U8*)s)[3] ) ? \
1667 ( ( 0xAD == ((U8*)s)[4] ) ? \
1668 ( ( 0x41 == ((U8*)s)[5] || 0x42 == ((U8*)s)[5] ) ? 6 : 0 )\
1669 : ( ( 0xAF == ((U8*)s)[4] ) && ( 0x43 == ((U8*)s)[5] ) ) ? 6 : 0 )\
1670 : ( 0x5F == ((U8*)s)[3] ) ? \
1671 ( ( 0xAD == ((U8*)s)[4] ) ? \
1672 ( ( 0x41 == ((U8*)s)[5] || 0x42 == ((U8*)s)[5] ) ? 6 : 4 )\
1673 : ( ( 0xAF == ((U8*)s)[4] ) && ( 0x43 == ((U8*)s)[5] ) ) ? 6 : 4 )\
1674 : 0 ) \
1675 : ( ( 0xAF == ((U8*)s)[2] ) && ( 0x43 == ((U8*)s)[3] ) ) ? 4 : 0 )\
1676 : ( 0x4A == ((U8*)s)[1] ) ? \
1677 ( ( 0xAF == ((U8*)s)[2] ) ? \
1678 ( ( 0x43 == ((U8*)s)[3] ) ? \
1679 ( ( ( 0xB3 == ((U8*)s)[4] ) && ( 0x67 == ((U8*)s)[5] ) ) ? 6 : 4 )\
1680 : 0 ) \
1681 : ( ( 0xB3 == ((U8*)s)[2] ) && ( 0x67 == ((U8*)s)[3] ) ) ? 4 : 0 )\
1682 : ( ( ( 0x55 == ((U8*)s)[1] ) && ( 0xB3 == ((U8*)s)[2] ) ) && ( 0x67 == ((U8*)s)[3] ) ) ? 4 : 0 )\
1683 : ( 0xB7 == ((U8*)s)[0] ) ? \
1684 ( ( 0x52 == ((U8*)s)[1] ) ? \
1685 ( ( 0x46 == ((U8*)s)[2] ) ? \
1686 ( ( ( ( 0xB7 == ((U8*)s)[3] ) && ( 0x53 == ((U8*)s)[4] ) ) && ( 0x43 == ((U8*)s)[5] ) ) ? 6 : 0 )\
1687 : ( 0x62 == ((U8*)s)[2] ) ? \
1688 ( ( ( ( 0xB7 == ((U8*)s)[3] ) && ( 0x52 == ((U8*)s)[4] ) ) && ( 0x46 == ((U8*)s)[5] || 0x52 == ((U8*)s)[5] || 0x54 == ((U8*)s)[5] || 0x64 == ((U8*)s)[5] ) ) ? 6 : 0 )\
1689 : ( ( ( ( 0x71 == ((U8*)s)[2] ) && ( 0xB7 == ((U8*)s)[3] ) ) && ( 0x52 == ((U8*)s)[4] ) ) && ( 0x64 == ((U8*)s)[5] ) ) ? 6 : 0 )\
1690 : 0 ) \
1691 : ( 0xBF == ((U8*)s)[0] ) ? \
1692 ( ( ( ((U8*)s)[1] & 0xFE ) == 0x66 ) ? \
1693 ( ( ( ( 0x41 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x48 ) && ( 0xB3 == ((U8*)s)[3] ) ) && ( 0x67 == ((U8*)s)[4] ) ) ? 5 : 0 )\
1694 : ( ( ( ( 0x69 == ((U8*)s)[1] ) && ( ( 0x41 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x48 ) || 0x57 == ((U8*)s)[2] || 0x62 == ((U8*)s)[2] || 0x6A == ((U8*)s)[2] ) ) && ( 0xB3 == ((U8*)s)[3] ) ) && ( 0x67 == ((U8*)s)[4] ) ) ? 5 : 0 )\
1695 : 0 ) \
1696: ((e)-(s) > 4) ? is_MULTI_CHAR_FOLD_utf8_safe_part0(s,e) : is_MULTI_CHAR_FOLD_utf8_safe_part1(s,e) )
1697
1698/*
1699 MULTI_CHAR_FOLD: multi-char strings that are folded to by a single character
1700
1701 &regcharclass_multi_char_folds::multi_char_folds(0)
1702*/
1703/*** GENERATED CODE ***/
1704#define is_MULTI_CHAR_FOLD_latin1_safe(s,e) \
1705( ((e)-(s) > 2) ? \
1706 ( ( ( ((U8*)s)[0] & 0xBF ) == 0x86 ) ? \
1707 ( ( ( ((U8*)s)[1] & 0xBF ) == 0x86 ) ? \
1708 ( ( ( ( ((U8*)s)[2] & 0xBF ) == 0x89 ) || ( ( ((U8*)s)[2] & 0xBF ) == 0x93 ) ) ? 3 : 2 )\
1709 : ( ( ( ((U8*)s)[1] & 0xBF ) == 0x89 ) || ( ( ((U8*)s)[1] & 0xBF ) == 0x93 ) ) ? 2 : 0 )\
1710 : ( ( ( ((U8*)s)[0] & 0xBF ) == 0xA2 ) && ( ( ((U8*)s)[1] & 0xBE ) == 0xA2 ) ) ? 2 : 0 )\
1711: ((e)-(s) > 1) ? \
1712 ( ( ( ((U8*)s)[0] & 0xBF ) == 0x86 ) ? \
1713 ( ( ( ( ((U8*)s)[1] & 0xBF ) == 0x86 ) || ( ( ((U8*)s)[1] & 0xBF ) == 0x89 ) || ( ( ((U8*)s)[1] & 0xBF ) == 0x93 ) ) ? 2 : 0 )\
1714 : ( ( ( ((U8*)s)[0] & 0xBF ) == 0xA2 ) && ( ( ((U8*)s)[1] & 0xBE ) == 0xA2 ) ) ? 2 : 0 )\
1715: 0 )
1716
1717/*
1718 FOLDS_TO_MULTI: characters that fold to multi-char strings
1719
1720 \p{_Perl_Folds_To_Multi_Char}
1721*/
1722/*** GENERATED CODE ***/
1723#define is_FOLDS_TO_MULTI_utf8(s) \
1724( ( 0x80 == ((U8*)s)[0] ) ? \
1725 ( ( 0x72 == ((U8*)s)[1] ) ? 2 : 0 ) \
1726: ( 0x8C == ((U8*)s)[0] || 0x9B == ((U8*)s)[0] || ( ((U8*)s)[0] & 0xFE ) == 0xB2 ) ?\
1727 ( ( 0x57 == ((U8*)s)[1] ) ? 2 : 0 ) \
1728: ( 0x8D == ((U8*)s)[0] ) ? \
1729 ( ( 0x4A == ((U8*)s)[1] ) ? 2 : 0 ) \
1730: ( 0xB7 == ((U8*)s)[0] ) ? \
1731 ( ( ( 0x53 == ((U8*)s)[1] ) && ( 0x48 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
1732: ( 0xBF == ((U8*)s)[0] ) ? \
1733 ( ( 0x62 == ((U8*)s)[1] ) ? \
1734 ( ( ( 0x64 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x68 ) || 0x71 == ((U8*)s)[2] ) ? 3 : 0 )\
1735 : ( 0x68 == ((U8*)s)[1] ) ? \
1736 ( ( 0x57 == ((U8*)s)[2] || 0x59 == ((U8*)s)[2] || 0x62 == ((U8*)s)[2] || 0x64 == ((U8*)s)[2] ) ? 3 : 0 )\
1737 : ( 0x6A == ((U8*)s)[1] ) ? \
1738 ( ( ( 0x41 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x4A ) || ( 0x51 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x59 ) || 0x5F == ((U8*)s)[2] || ( 0x62 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x6A ) || ( 0x70 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x72 ) ) ? 3 : 0 )\
1739 : ( 0x70 == ((U8*)s)[1] ) ? \
1740 ( ( ( 0x41 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x4A ) || ( 0x51 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x56 ) || 0x59 == ((U8*)s)[2] || 0x5F == ((U8*)s)[2] || 0x62 == ((U8*)s)[2] || ( ((U8*)s)[2] & 0xFE ) == 0x64 || 0x6A == ((U8*)s)[2] ) ? 3 : 0 )\
1741 : ( 0x71 == ((U8*)s)[1] ) ? \
1742 ( ( ( ( ((U8*)s)[2] & 0xFB ) == 0x43 ) || ( ( ((U8*)s)[2] & 0xDE ) == 0x44 ) || ((U8*)s)[2] == 0x48 || ((U8*)s)[2] == 0x53 || ((U8*)s)[2] == 0x59 || ((U8*)s)[2] == 0x5F ) ? 3 : 0 )\
1743 : ( ( 0x72 == ((U8*)s)[1] ) && ( ( ( ((U8*)s)[2] & 0xFB ) == 0x43 ) || ( ( ((U8*)s)[2] & 0xDE ) == 0x44 ) || ((U8*)s)[2] == 0x48 || ((U8*)s)[2] == 0x59 || ((U8*)s)[2] == 0x5F || ( ( ((U8*)s)[2] & 0xF7 ) == 0x62 ) ) ) ? 3 : 0 )\
1744: ( ( ( ( 0xDD == ((U8*)s)[0] ) && ( 0x71 == ((U8*)s)[1] ) ) && ( 0x66 == ((U8*)s)[2] ) ) && ( ( 0x41 <= ((U8*)s)[3] && ((U8*)s)[3] <= 0x47 ) || 0x5F == ((U8*)s)[3] || ( 0x62 <= ((U8*)s)[3] && ((U8*)s)[3] <= 0x65 ) ) ) ? 4 : 0 )
1745
1746/*
1747 PROBLEMATIC_LOCALE_FOLD: characters whose fold is problematic under locale
1748
1749 \p{_Perl_Problematic_Locale_Folds}
1750*/
1751/*** GENERATED CODE ***/
1752#define is_PROBLEMATIC_LOCALE_FOLD_utf8(s) \
1753( ( ( ( ((U8*)s)[0] & 0xC0 ) == 0x00 ) || ( ( ((U8*)s)[0] & 0xEF ) == 0x40 ) || ( ( ((U8*)s)[0] & 0xDF ) == 0x4B ) || ( ( ((U8*)s)[0] & 0xFC ) == 0x4C ) || ( ( ((U8*)s)[0] & 0xDE ) == 0x5A ) || ( ( ((U8*)s)[0] & 0xFE ) == 0x5C ) || ((U8*)s)[0] == 0x5E || ( ( ((U8*)s)[0] & 0xFE ) == 0x60 ) || ( ( ((U8*)s)[0] & 0xEC ) == 0x6C ) || ((U8*)s)[0] == 0x79 || ( ( ((U8*)s)[0] & 0xEF ) == 0x81 ) || ( ( ((U8*)s)[0] & 0xEE ) == 0x82 ) || ( ( ((U8*)s)[0] & 0xEC ) == 0x84 ) || ( ( ((U8*)s)[0] & 0xEE ) == 0x88 ) || ((U8*)s)[0] == 0xA1 || ( ( ((U8*)s)[0] & 0xBE ) == 0xA2 ) || ( ( ((U8*)s)[0] & 0xBC ) == 0xA4 ) || ( ( ((U8*)s)[0] & 0xFE ) == 0xA8 ) || ((U8*)s)[0] == 0xB0 || ( ( ((U8*)s)[0] & 0xFE ) == 0xBA ) || ( ( ((U8*)s)[0] & 0xE8 ) == 0xC0 ) || ( ( ((U8*)s)[0] & 0xCE ) == 0xC8 ) || ((U8*)s)[0] == 0xE0 || ( ( ((U8*)s)[0] & 0xF8 ) == 0xF0 ) || ((U8*)s)[0] == 0xFF ) ? 1\
1754: ( 0x78 == ((U8*)s)[0] || 0x80 == ((U8*)s)[0] || 0x8A == ((U8*)s)[0] ) ? \
1755 ( ( ( 0x41 <= ((U8*)s)[1] && ((U8*)s)[1] <= 0x4A ) || ( 0x51 <= ((U8*)s)[1] && ((U8*)s)[1] <= 0x59 ) || 0x5F == ((U8*)s)[1] || ( 0x62 <= ((U8*)s)[1] && ((U8*)s)[1] <= 0x6A ) || ( 0x70 <= ((U8*)s)[1] && ((U8*)s)[1] <= 0x72 ) ) ? 2 : 0 )\
1756: ( 0x8C == ((U8*)s)[0] || 0x9B == ((U8*)s)[0] ) ? \
1757 ( ( 0x57 == ((U8*)s)[1] ) ? 2 : 0 ) \
1758: ( 0x8D == ((U8*)s)[0] ) ? \
1759 ( ( 0x4A == ((U8*)s)[1] ) ? 2 : 0 ) \
1760: ( 0x8E == ((U8*)s)[0] ) ? \
1761 ( ( 0x66 == ((U8*)s)[1] || 0x72 == ((U8*)s)[1] ) ? 2 : 0 ) \
1762: ( ( ((U8*)s)[0] & 0xFE ) == 0xB2 ) ? \
1763 ( ( 0x6A == ((U8*)s)[1] ) ? 2 : 0 ) \
1764: ( 0xBF == ((U8*)s)[0] ) ? \
1765 ( ( ( 0x62 == ((U8*)s)[1] ) && ( ( 0x64 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x68 ) || 0x71 == ((U8*)s)[2] ) ) ? 3 : 0 )\
1766: ( 0xCA == ((U8*)s)[0] ) ? \
1767 ( ( ( 0x4A == ((U8*)s)[1] ) && ( 0x51 == ((U8*)s)[2] || 0x52 == ((U8*)s)[2] ) ) ? 3 : 0 )\
1768: ( ( ( ( 0xDD == ((U8*)s)[0] ) && ( 0x71 == ((U8*)s)[1] ) ) && ( 0x66 == ((U8*)s)[2] ) ) && ( 0x41 <= ((U8*)s)[3] && ((U8*)s)[3] <= 0x47 ) ) ? 4 : 0 )
1769
1770/*** GENERATED CODE ***/
1771#define is_PROBLEMATIC_LOCALE_FOLD_cp(cp) \
1772( cp <= 0xFF || ( 0xFF < cp && \
1773( 0x130 == cp || ( 0x130 < cp && \
1774( 0x149 == cp || ( 0x149 < cp && \
1775( 0x178 == cp || ( 0x178 < cp && \
1776( 0x17F == cp || ( 0x17F < cp && \
1777( 0x1F0 == cp || ( 0x1F0 < cp && \
1778( 0x39C == cp || ( 0x39C < cp && \
1779( 0x3BC == cp || ( 0x3BC < cp && \
1780( ( 0x1E96 <= cp && cp <= 0x1E9A ) || ( 0x1E9A < cp && \
1781( 0x1E9E == cp || ( 0x1E9E < cp && \
1782( 0x212A == cp || ( 0x212A < cp && \
1783( 0x212B == cp || ( 0xFB00 <= cp && cp <= 0xFB06 ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) )
1784
1785/*
1786 PROBLEMATIC_LOCALE_FOLDEDS_START: The first folded character of folds which are problematic under locale
1787
1788 \p{_Perl_Problematic_Locale_Foldeds_Start}
1789*/
1790/*** GENERATED CODE ***/
1791#define is_PROBLEMATIC_LOCALE_FOLDEDS_START_utf8(s) \
1792( ( ( ( ((U8*)s)[0] & 0xC0 ) == 0x00 ) || ( ( ((U8*)s)[0] & 0xEF ) == 0x40 ) || ( ( ((U8*)s)[0] & 0xDF ) == 0x4B ) || ( ( ((U8*)s)[0] & 0xFC ) == 0x4C ) || ( ( ((U8*)s)[0] & 0xDE ) == 0x5A ) || ( ( ((U8*)s)[0] & 0xFE ) == 0x5C ) || ((U8*)s)[0] == 0x5E || ( ( ((U8*)s)[0] & 0xFE ) == 0x60 ) || ( ( ((U8*)s)[0] & 0xEC ) == 0x6C ) || ((U8*)s)[0] == 0x79 || ( ( ((U8*)s)[0] & 0xEF ) == 0x81 ) || ( ( ((U8*)s)[0] & 0xEE ) == 0x82 ) || ( ( ((U8*)s)[0] & 0xEC ) == 0x84 ) || ( ( ((U8*)s)[0] & 0xEE ) == 0x88 ) || ((U8*)s)[0] == 0xA1 || ( ( ((U8*)s)[0] & 0xBE ) == 0xA2 ) || ( ( ((U8*)s)[0] & 0xBC ) == 0xA4 ) || ( ( ((U8*)s)[0] & 0xFE ) == 0xA8 ) || ((U8*)s)[0] == 0xB0 || ( ( ((U8*)s)[0] & 0xFE ) == 0xBA ) || ( ( ((U8*)s)[0] & 0xE8 ) == 0xC0 ) || ( ( ((U8*)s)[0] & 0xCE ) == 0xC8 ) || ((U8*)s)[0] == 0xE0 || ( ( ((U8*)s)[0] & 0xF8 ) == 0xF0 ) || ((U8*)s)[0] == 0xFF ) ? 1\
1793: ( 0x78 == ((U8*)s)[0] || 0x80 == ((U8*)s)[0] || 0x8A == ((U8*)s)[0] ) ? \
1794 ( ( ( 0x41 <= ((U8*)s)[1] && ((U8*)s)[1] <= 0x4A ) || ( 0x51 <= ((U8*)s)[1] && ((U8*)s)[1] <= 0x59 ) || 0x5F == ((U8*)s)[1] || ( 0x62 <= ((U8*)s)[1] && ((U8*)s)[1] <= 0x6A ) || ( 0x70 <= ((U8*)s)[1] && ((U8*)s)[1] <= 0x72 ) ) ? 2 : 0 )\
1795: ( 0x8C == ((U8*)s)[0] || 0x9B == ((U8*)s)[0] ) ? \
1796 ( ( 0x57 == ((U8*)s)[1] ) ? 2 : 0 ) \
1797: ( 0x8D == ((U8*)s)[0] ) ? \
1798 ( ( 0x4A == ((U8*)s)[1] ) ? 2 : 0 ) \
1799: ( 0x8E == ((U8*)s)[0] ) ? \
1800 ( ( 0x66 == ((U8*)s)[1] || 0x72 == ((U8*)s)[1] ) ? 2 : 0 ) \
1801: ( 0xAA == ((U8*)s)[0] || ( ((U8*)s)[0] & 0xFE ) == 0xB2 ) ? \
1802 ( ( 0x6A == ((U8*)s)[1] ) ? 2 : 0 ) \
1803: ( 0xBF == ((U8*)s)[0] ) ? \
1804 ( ( ( 0x62 == ((U8*)s)[1] ) && ( ( 0x64 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x68 ) || 0x71 == ((U8*)s)[2] ) ) ? 3 : 0 )\
1805: ( 0xCA == ((U8*)s)[0] ) ? \
1806 ( ( ( 0x4A == ((U8*)s)[1] ) && ( 0x51 == ((U8*)s)[2] || 0x52 == ((U8*)s)[2] ) ) ? 3 : 0 )\
1807: ( ( ( ( 0xDD == ((U8*)s)[0] ) && ( 0x71 == ((U8*)s)[1] ) ) && ( 0x66 == ((U8*)s)[2] ) ) && ( 0x41 <= ((U8*)s)[3] && ((U8*)s)[3] <= 0x47 ) ) ? 4 : 0 )
1808
1809/*** GENERATED CODE ***/
1810#define is_PROBLEMATIC_LOCALE_FOLDEDS_START_cp(cp) \
1811( cp <= 0xFF || ( 0xFF < cp && \
1812( 0x130 == cp || ( 0x130 < cp && \
1813( 0x149 == cp || ( 0x149 < cp && \
1814( 0x178 == cp || ( 0x178 < cp && \
1815( 0x17F == cp || ( 0x17F < cp && \
1816( 0x1F0 == cp || ( 0x1F0 < cp && \
1817( 0x2BC == cp || ( 0x2BC < cp && \
1818( 0x39C == cp || ( 0x39C < cp && \
1819( 0x3BC == cp || ( 0x3BC < cp && \
1820( ( 0x1E96 <= cp && cp <= 0x1E9A ) || ( 0x1E9A < cp && \
1821( 0x1E9E == cp || ( 0x1E9E < cp && \
1822( 0x212A == cp || ( 0x212A < cp && \
1823( 0x212B == cp || ( 0xFB00 <= cp && cp <= 0xFB06 ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) )
1824
1825/*
1826 PATWS: pattern white space
1827
1828 \p{PatWS}
1829*/
1830/*** GENERATED CODE ***/
1831#define is_PATWS_safe(s,e,is_utf8) \
dd9bc2b0 1832( ( LIKELY((e) > (s)) ) ? \
a1b2a50f 1833 ( ( ( ( ((U8*)s)[0] & 0xEF ) == 0x05 ) || ((U8*)s)[0] == 0x0B || ( ( ((U8*)s)[0] & 0xFE ) == 0x0C ) || ((U8*)s)[0] == 0x25 || ((U8*)s)[0] == 0x40 ) ? 1\
dd9bc2b0 1834 : ( ( is_utf8 && LIKELY(((e) - (s)) >= UTF8SKIP(s)) ) && ( 0xCA == ((U8*)s)[0] ) ) ? ( ( 0x41 == ((U8*)s)[1] ) ?\
a1b2a50f
KW
1835 ( ( 0x55 == ((U8*)s)[2] || 0x56 == ((U8*)s)[2] ) ? 3 : 0 )\
1836 : ( ( 0x42 == ((U8*)s)[1] ) && ( 0x49 == ((U8*)s)[2] || 0x4A == ((U8*)s)[2] ) ) ? 3 : 0 ) : 0 )\
1837: 0 )
1838
1839/*** GENERATED CODE ***/
1840#define is_PATWS_cp(cp) \
1841( 0x05 == cp || ( 0x05 < cp && \
1842( ( 0x0B <= cp && cp <= 0x0D ) || ( 0x0D < cp && \
1843( 0x15 == cp || ( 0x15 < cp && \
1844( 0x25 == cp || ( 0x25 < cp && \
1845( 0x40 == cp || ( 0x40 < cp && \
1846( 0x200E == cp || ( 0x200E < cp && \
1847( 0x200F == cp || ( 0x200F < cp && \
1848( 0x2028 == cp || 0x2029 == cp ) ) ) ) ) ) ) ) ) ) ) ) ) ) )
1849
1850#endif /* EBCDIC 037 */
1851
1852#if 'A' == 193 /* EBCDIC POSIX-BC */ \
1853 && '\\' == 188 && '[' == 187 && ']' == 189 && '{' == 251 && '}' == 253 \
1854 && '^' == 106 && '~' == 255 && '!' == 90 && '#' == 123 && '|' == 79 \
1855 && '$' == 91 && '@' == 124 && '`' == 74
1856/*
1857 LNBREAK: Line Break: \R
1858
1859 "\x0D\x0A" # CRLF - Network (Windows) line ending
1860 \p{VertSpace}
1861*/
1862/*** GENERATED CODE ***/
1863#define is_LNBREAK_safe(s,e,is_utf8) \
1864( ((e)-(s) > 2) ? \
1865 ( ( ( 0x0B == ((U8*)s)[0] || 0x0C == ((U8*)s)[0] ) || 0x15 == ((U8*)s)[0] || 0x25 == ((U8*)s)[0] ) ? 1\
1866 : ( 0x0D == ((U8*)s)[0] ) ? \
1867 ( ( 0x15 == ((U8*)s)[1] ) ? 2 : 1 ) \
1868 : ( ( ( ( is_utf8 ) && ( 0xCA == ((U8*)s)[0] ) ) && ( 0x42 == ((U8*)s)[1] ) ) && ( 0x49 == ((U8*)s)[2] || 0x51 == ((U8*)s)[2] ) ) ? 3 : 0 )\
1869: ((e)-(s) > 1) ? \
1870 ( ( ( 0x0B == ((U8*)s)[0] || 0x0C == ((U8*)s)[0] ) || 0x15 == ((U8*)s)[0] || 0x25 == ((U8*)s)[0] ) ? 1\
1871 : ( 0x0D == ((U8*)s)[0] ) ? \
1872 ( ( 0x15 == ((U8*)s)[1] ) ? 2 : 1 ) \
1873 : 0 ) \
1874: ((e)-(s) > 0) ? \
1875 ( ( 0x0B <= ((U8*)s)[0] && ((U8*)s)[0] <= 0x0D ) || 0x15 == ((U8*)s)[0] || 0x25 == ((U8*)s)[0] )\
1876: 0 )
1877
1878/*** GENERATED CODE ***/
1879#define is_LNBREAK_utf8_safe(s,e) \
1880( ((e)-(s) > 2) ? \
1881 ( ( ( 0x0B == ((U8*)s)[0] || 0x0C == ((U8*)s)[0] ) || 0x15 == ((U8*)s)[0] || 0x25 == ((U8*)s)[0] ) ? 1\
1882 : ( 0x0D == ((U8*)s)[0] ) ? \
1883 ( ( 0x15 == ((U8*)s)[1] ) ? 2 : 1 ) \
1884 : ( ( ( 0xCA == ((U8*)s)[0] ) && ( 0x42 == ((U8*)s)[1] ) ) && ( 0x49 == ((U8*)s)[2] || 0x51 == ((U8*)s)[2] ) ) ? 3 : 0 )\
1885: ((e)-(s) > 1) ? \
1886 ( ( ( 0x0B == ((U8*)s)[0] || 0x0C == ((U8*)s)[0] ) || 0x15 == ((U8*)s)[0] || 0x25 == ((U8*)s)[0] ) ? 1\
1887 : ( 0x0D == ((U8*)s)[0] ) ? \
1888 ( ( 0x15 == ((U8*)s)[1] ) ? 2 : 1 ) \
1889 : 0 ) \
1890: ((e)-(s) > 0) ? \
1891 ( ( 0x0B <= ((U8*)s)[0] && ((U8*)s)[0] <= 0x0D ) || 0x15 == ((U8*)s)[0] || 0x25 == ((U8*)s)[0] )\
1892: 0 )
1893
1894/*** GENERATED CODE ***/
1895#define is_LNBREAK_latin1_safe(s,e) \
1896( ((e)-(s) > 1) ? \
1897 ( ( ( 0x0B == ((U8*)s)[0] || 0x0C == ((U8*)s)[0] ) || 0x15 == ((U8*)s)[0] || 0x25 == ((U8*)s)[0] ) ? 1\
1898 : ( 0x0D == ((U8*)s)[0] ) ? \
1899 ( ( 0x15 == ((U8*)s)[1] ) ? 2 : 1 ) \
1900 : 0 ) \
1901: ((e)-(s) > 0) ? \
1902 ( ( 0x0B <= ((U8*)s)[0] && ((U8*)s)[0] <= 0x0D ) || 0x15 == ((U8*)s)[0] || 0x25 == ((U8*)s)[0] )\
1903: 0 )
1904
1905/*
1906 HORIZWS: Horizontal Whitespace: \h \H
1907
1908 \p{HorizSpace}
1909*/
1910/*** GENERATED CODE ***/
1911#define is_HORIZWS_high(s) \
1912( ( 0xBE == ((U8*)s)[0] ) ? \
1913 ( ( ( 0x64 == ((U8*)s)[1] ) && ( 0x41 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
1914: ( 0xCA == ((U8*)s)[0] ) ? \
1915 ( ( 0x41 == ((U8*)s)[1] ) ? \
1916 ( ( ( 0x41 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x49 ) || ( 0x51 == ((U8*)s)[2] || 0x52 == ((U8*)s)[2] ) ) ? 3 : 0 )\
1917 : ( 0x42 == ((U8*)s)[1] ) ? \
1918 ( ( 0x57 == ((U8*)s)[2] ) ? 3 : 0 ) \
1919 : ( ( 0x43 == ((U8*)s)[1] ) && ( 0x75 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
1920: ( ( ( 0xCE == ((U8*)s)[0] ) && ( 0x41 == ((U8*)s)[1] ) ) && ( 0x41 == ((U8*)s)[2] ) ) ? 3 : 0 )
1921
1922/*** GENERATED CODE ***/
1923#define is_HORIZWS_cp_high(cp) \
1924( 0x1680 == cp || ( 0x1680 < cp && \
1925( ( 0x2000 <= cp && cp <= 0x200A ) || ( 0x200A < cp && \
1926( 0x202F == cp || ( 0x202F < cp && \
1927( 0x205F == cp || 0x3000 == cp ) ) ) ) ) ) )
1928
1929/*
1930 VERTWS: Vertical Whitespace: \v \V
1931
1932 \p{VertSpace}
1933*/
1934/*** GENERATED CODE ***/
1935#define is_VERTWS_high(s) \
1936( ( ( ( 0xCA == ((U8*)s)[0] ) && ( 0x42 == ((U8*)s)[1] ) ) && ( 0x49 == ((U8*)s)[2] || 0x51 == ((U8*)s)[2] ) ) ? 3 : 0 )
1937
1938/*** GENERATED CODE ***/
1939#define is_VERTWS_cp_high(cp) \
1940( 0x2028 == cp || 0x2029 == cp )
1941
1942/*
1943 XDIGIT: Hexadecimal digits
1944
1945 \p{XDigit}
1946*/
1947/*** GENERATED CODE ***/
1948#define is_XDIGIT_high(s) \
1949( ( ( 0xDC == ((U8*)s)[0] ) && ( 0x75 == ((U8*)s)[1] ) ) ? ( ( 0x68 == ((U8*)s)[2] ) ?\
1950 ( ( ( ((U8*)s)[3] & 0xFE ) == 0x58 || ( 0x62 <= ((U8*)s)[3] && ((U8*)s)[3] <= 0x69 ) ) ? 4 : 0 )\
1951 : ( ( 0x69 == ((U8*)s)[2] || 0x70 == ((U8*)s)[2] ) && ( 0x42 <= ((U8*)s)[3] && ((U8*)s)[3] <= 0x47 ) ) ? 4 : 0 ) : 0 )
1952
1953/*** GENERATED CODE ***/
1954#define is_XDIGIT_cp_high(cp) \
1955( ( 0xFF10 <= cp && cp <= 0xFF19 ) || ( 0xFF19 < cp && \
1956( ( 0xFF21 <= cp && cp <= 0xFF26 ) || ( 0xFF41 <= cp && cp <= 0xFF46 ) ) ) )
1957
1958/*
1959 XPERLSPACE: \p{XPerlSpace}
1960
1961 \p{XPerlSpace}
1962*/
1963/*** GENERATED CODE ***/
1964#define is_XPERLSPACE_high(s) \
1965( ( 0xBE == ((U8*)s)[0] ) ? \
1966 ( ( ( 0x64 == ((U8*)s)[1] ) && ( 0x41 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
1967: ( 0xCA == ((U8*)s)[0] ) ? \
1968 ( ( 0x41 == ((U8*)s)[1] ) ? \
1969 ( ( ( 0x41 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x49 ) || ( 0x51 == ((U8*)s)[2] || 0x52 == ((U8*)s)[2] ) ) ? 3 : 0 )\
1970 : ( 0x42 == ((U8*)s)[1] ) ? \
1971 ( ( 0x49 == ((U8*)s)[2] || 0x51 == ((U8*)s)[2] || 0x57 == ((U8*)s)[2] ) ? 3 : 0 )\
1972 : ( ( 0x43 == ((U8*)s)[1] ) && ( 0x75 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
1973: ( ( ( 0xCE == ((U8*)s)[0] ) && ( 0x41 == ((U8*)s)[1] ) ) && ( 0x41 == ((U8*)s)[2] ) ) ? 3 : 0 )
1974
1975/*** GENERATED CODE ***/
1976#define is_XPERLSPACE_cp_high(cp) \
1977( 0x1680 == cp || ( 0x1680 < cp && \
1978( ( 0x2000 <= cp && cp <= 0x200A ) || ( 0x200A < cp && \
1979( 0x2028 == cp || ( 0x2028 < cp && \
1980( 0x2029 == cp || ( 0x2029 < cp && \
1981( 0x202F == cp || ( 0x202F < cp && \
1982( 0x205F == cp || 0x3000 == cp ) ) ) ) ) ) ) ) ) ) )
1983
1984/*
1985 REPLACEMENT: Unicode REPLACEMENT CHARACTER
1986
1987 0xFFFD
1988*/
1989/*** GENERATED CODE ***/
1990#define is_REPLACEMENT_utf8_safe(s,e) \
1991( ( ( ( ( ( ((e) - (s)) >= 4 ) && ( 0xDC == ((U8*)s)[0] ) ) && ( 0x75 == ((U8*)s)[1] ) ) && ( 0x75 == ((U8*)s)[2] ) ) && ( 0x73 == ((U8*)s)[3] ) ) ? 4 : 0 )
1992
1993/*
1994 NONCHAR: Non character code points
1995
1996 \p{Nchar}
1997*/
1998/*** GENERATED CODE ***/
1999#define is_NONCHAR_utf8(s) \
2000( ( 0xDC == ((U8*)s)[0] ) ? \
2001 ( ( 0x75 == ((U8*)s)[1] ) ? \
2002 ( ( 0x56 == ((U8*)s)[2] ) ? \
2003 ( ( ( ((U8*)s)[3] & 0xFE ) == 0x58 || ( 0x62 <= ((U8*)s)[3] && ((U8*)s)[3] <= 0x69 ) || ( 0x70 <= ((U8*)s)[3] && ((U8*)s)[3] <= 0x75 ) ) ? 4 : 0 )\
2004 : ( 0x57 == ((U8*)s)[2] ) ? \
2005 ( ( ( 0x41 <= ((U8*)s)[3] && ((U8*)s)[3] <= 0x49 ) || ( 0x51 <= ((U8*)s)[3] && ((U8*)s)[3] <= 0x57 ) ) ? 4 : 0 )\
2006 : ( ( 0x75 == ((U8*)s)[2] ) && ( ( ((U8*)s)[3] & 0xFE ) == 0x74 ) ) ? 4 : 0 )\
2007 : 0 ) \
2008: ( 0xDE == ((U8*)s)[0] || 0xE0 == ((U8*)s)[0] || 0xEA == ((U8*)s)[0] ) ? \
2009 ( ( ( ( 0x75 == ((U8*)s)[1] ) && ( 0x75 == ((U8*)s)[2] ) ) && ( ( ((U8*)s)[3] & 0xFE ) == 0x74 ) ) ? 4 : 0 )\
2010: ( 0xEB == ((U8*)s)[0] ) ? \
2011 ( ( ( ( ( ( ( ((U8*)s)[1] & 0xF9 ) == 0x51 ) || ((U8*)s)[1] == 0x59 || ((U8*)s)[1] == 0x63 || ( ( ((U8*)s)[1] & 0xFD ) == 0x65 ) || ((U8*)s)[1] == 0x69 || ( ( ((U8*)s)[1] & 0xFD ) == 0x71 ) || ((U8*)s)[1] == 0x75 ) && ( 0x75 == ((U8*)s)[2] ) ) && ( 0x75 == ((U8*)s)[3] ) ) && ( ( ((U8*)s)[4] & 0xFE ) == 0x74 ) ) ? 5 : 0 )\
2012: ( ( ( ( ( 0xEC == ((U8*)s)[0] ) && ( 0x42 == ((U8*)s)[1] ) ) && ( 0x75 == ((U8*)s)[2] ) ) && ( 0x75 == ((U8*)s)[3] ) ) && ( ( ((U8*)s)[4] & 0xFE ) == 0x74 ) ) ? 5 : 0 )
2013
2014/*
2015 SURROGATE: Surrogate characters
2016
2017 \p{Gc=Cs}
2018*/
2019/*** GENERATED CODE ***/
2020#define is_SURROGATE_utf8(s) \
2021( ( ( ( ( 0xDC == ((U8*)s)[0] ) && ( ( ((U8*)s)[1] & 0xFE ) == 0x66 ) ) && ( ( ( ((U8*)s)[2] & 0xEF ) == 0x41 ) || ( ( ((U8*)s)[2] & 0xCE ) == 0x42 ) || ( ( ((U8*)s)[2] & 0xEC ) == 0x44 ) || ( ( ((U8*)s)[2] & 0xEE ) == 0x48 ) || ( ( ((U8*)s)[2] & 0xFC ) == 0x64 ) || ( ( ((U8*)s)[2] & 0xFE ) == 0x68 ) || ( ( ((U8*)s)[2] & 0xFA ) == 0x70 ) ) ) && ( ( ( ((U8*)s)[3] & 0xEF ) == 0x41 ) || ( ( ((U8*)s)[3] & 0xCE ) == 0x42 ) || ( ( ((U8*)s)[3] & 0xEC ) == 0x44 ) || ( ( ((U8*)s)[3] & 0xEE ) == 0x48 ) || ( ( ((U8*)s)[3] & 0xFC ) == 0x64 ) || ( ( ((U8*)s)[3] & 0xFE ) == 0x68 ) || ( ( ((U8*)s)[3] & 0xFA ) == 0x70 ) ) ) ? 4 : 0 )
2022
2023/*
5dca9278 2024 UTF8_CHAR: Matches legal UTF-EBCDIC encoded characters from 2 through 3 bytes
a1b2a50f 2025
5dca9278 2026 0xA0 - 0x3FFF
a1b2a50f
KW
2027*/
2028/*** GENERATED CODE ***/
40f914fd 2029#define is_UTF8_CHAR_utf8_no_length_checks(s) \
5dca9278 2030( ( ( 0x8A <= ((U8*)s)[0] && ((U8*)s)[0] <= 0x90 ) || ( 0x9A <= ((U8*)s)[0] && ((U8*)s)[0] <= 0xA1 ) || ( 0xAA <= ((U8*)s)[0] && ((U8*)s)[0] <= 0xB5 ) ) ?\
40f914fd
KW
2031 ( ( ( ( ((U8*)s)[1] & 0xEF ) == 0x41 ) || ( ( ((U8*)s)[1] & 0xCE ) == 0x42 ) || ( ( ((U8*)s)[1] & 0xEC ) == 0x44 ) || ( ( ((U8*)s)[1] & 0xEE ) == 0x48 ) || ( ( ((U8*)s)[1] & 0xFC ) == 0x64 ) || ( ( ((U8*)s)[1] & 0xFE ) == 0x68 ) || ( ( ((U8*)s)[1] & 0xFA ) == 0x70 ) ) ? 2 : 0 )\
2032: ( ( ( ( 0xB7 <= ((U8*)s)[0] && ((U8*)s)[0] <= 0xBA ) || ( 0xBE <= ((U8*)s)[0] && ((U8*)s)[0] <= 0xC0 ) || ( 0xCA <= ((U8*)s)[0] && ((U8*)s)[0] <= 0xD0 ) || 0xDA == ((U8*)s)[0] ) && ( ( ( ((U8*)s)[1] & 0xEF ) == 0x41 ) || ( ( ((U8*)s)[1] & 0xCE ) == 0x42 ) || ( ( ((U8*)s)[1] & 0xEC ) == 0x44 ) || ( ( ((U8*)s)[1] & 0xEE ) == 0x48 ) || ( ( ((U8*)s)[1] & 0xFC ) == 0x64 ) || ( ( ((U8*)s)[1] & 0xFE ) == 0x68 ) || ( ( ((U8*)s)[1] & 0xFA ) == 0x70 ) ) ) && ( ( ( ((U8*)s)[2] & 0xEF ) == 0x41 ) || ( ( ((U8*)s)[2] & 0xCE ) == 0x42 ) || ( ( ((U8*)s)[2] & 0xEC ) == 0x44 ) || ( ( ((U8*)s)[2] & 0xEE ) == 0x48 ) || ( ( ((U8*)s)[2] & 0xFC ) == 0x64 ) || ( ( ((U8*)s)[2] & 0xFE ) == 0x68 ) || ( ( ((U8*)s)[2] & 0xFA ) == 0x70 ) ) ) ? 3 : 0 )
a1b2a50f
KW
2033
2034/*
2035 QUOTEMETA: Meta-characters that \Q should quote
2036
2037 \p{_Perl_Quotemeta}
2038*/
2039/*** GENERATED CODE ***/
2040#define is_QUOTEMETA_high_part0(s) \
09edd811
KW
2041( ( 0x64 == ((U8*)s)[1] ) ? \
2042 ( ( 0x41 == ((U8*)s)[2] ) ? 3 : 0 ) \
2043 : ( ( 0x73 == ((U8*)s)[1] ) && ( ( ((U8*)s)[2] & 0xFE ) == 0x64 ) ) ? 3 : 0 )
a1b2a50f
KW
2044
2045
2046/*** GENERATED CODE ***/
2047#define is_QUOTEMETA_high_part1(s) \
09edd811 2048( ( 0xBF == ((U8*)s)[0] ) ? \
a1b2a50f
KW
2049 ( ( ( 0x41 == ((U8*)s)[1] ) && ( 0x53 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x56 ) ) ? 3 : 0 )\
2050: ( 0xCA == ((U8*)s)[0] ) ? \
2051 ( ( 0x41 == ((U8*)s)[1] || ( 0x55 <= ((U8*)s)[1] && ((U8*)s)[1] <= 0x59 ) || ( 0x62 <= ((U8*)s)[1] && ((U8*)s)[1] <= 0x69 ) || ( 0x70 <= ((U8*)s)[1] && ((U8*)s)[1] <= 0x75 ) ) ?\
2052 ( ( ( ( ((U8*)s)[2] & 0xEF ) == 0x41 ) || ( ( ((U8*)s)[2] & 0xCE ) == 0x42 ) || ( ( ((U8*)s)[2] & 0xEC ) == 0x44 ) || ( ( ((U8*)s)[2] & 0xEE ) == 0x48 ) || ( ( ((U8*)s)[2] & 0xFC ) == 0x64 ) || ( ( ((U8*)s)[2] & 0xFE ) == 0x68 ) || ( ( ((U8*)s)[2] & 0xFA ) == 0x70 ) ) ? 3 : 0 )\
2053 : ( 0x42 == ((U8*)s)[1] ) ? \
2054 ( ( ( 0x41 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x49 ) || ( 0x51 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x59 ) || ( 0x62 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x69 ) || ( 0x70 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x74 ) ) ? 3 : 0 )\
2055 : ( 0x43 == ((U8*)s)[1] ) ? \
2056 ( ( ( ( ((U8*)s)[2] & 0xCE ) == 0x42 ) || ( ( ((U8*)s)[2] & 0xEC ) == 0x44 ) || ( ( ((U8*)s)[2] & 0xEE ) == 0x48 ) || ((U8*)s)[2] == 0x51 || ((U8*)s)[2] == 0x65 || ( ( ((U8*)s)[2] & 0xFE ) == 0x66 ) || ( ( ((U8*)s)[2] & 0xFE ) == 0x68 ) || ( ( ((U8*)s)[2] & 0xFA ) == 0x70 ) ) ? 3 : 0 )\
2057 : ( 0x44 == ((U8*)s)[1] ) ? \
2058 ( ( ( 0x41 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x49 ) || ( 0x51 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x57 ) ) ? 3 : 0 )\
2059 : ( ( 0x54 == ((U8*)s)[1] ) && ( ( ((U8*)s)[2] & 0xFE ) == 0x58 || ( 0x62 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x69 ) || ( 0x70 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x75 ) ) ) ? 3 : 0 )\
2060: ( 0xCB == ((U8*)s)[0] ) ? \
2061 ( ( ( 0x41 <= ((U8*)s)[1] && ((U8*)s)[1] <= 0x43 ) || 0x49 == ((U8*)s)[1] || ( 0x51 <= ((U8*)s)[1] && ((U8*)s)[1] <= 0x59 ) || ( 0x62 <= ((U8*)s)[1] && ((U8*)s)[1] <= 0x69 ) || 0x70 == ((U8*)s)[1] || ( 0x73 <= ((U8*)s)[1] && ((U8*)s)[1] <= 0x75 ) ) ?\
2062 ( ( ( ( ((U8*)s)[2] & 0xEF ) == 0x41 ) || ( ( ((U8*)s)[2] & 0xCE ) == 0x42 ) || ( ( ((U8*)s)[2] & 0xEC ) == 0x44 ) || ( ( ((U8*)s)[2] & 0xEE ) == 0x48 ) || ( ( ((U8*)s)[2] & 0xFC ) == 0x64 ) || ( ( ((U8*)s)[2] & 0xFE ) == 0x68 ) || ( ( ((U8*)s)[2] & 0xFA ) == 0x70 ) ) ? 3 : 0 )\
2063 : ( 0x71 == ((U8*)s)[1] ) ? \
2064 ( ( ( 0x41 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x49 ) || ( 0x51 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x59 ) || ( 0x62 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x65 ) ) ? 3 : 0 )\
2065 : ( ( 0x72 == ((U8*)s)[1] ) && ( ( 0x64 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x69 ) || ( 0x70 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x75 ) ) ) ? 3 : 0 )\
2066: ( 0xCC == ((U8*)s)[0] ) ? \
2067 ( ( ( ( ( ((U8*)s)[1] & 0xEF ) == 0x41 ) || ( ( ((U8*)s)[1] & 0xCE ) == 0x42 ) || ( ( ((U8*)s)[1] & 0xEC ) == 0x44 ) || ( ( ((U8*)s)[1] & 0xEE ) == 0x48 ) || ( ( ((U8*)s)[1] & 0xFC ) == 0x64 ) || ( ( ((U8*)s)[1] & 0xFE ) == 0x68 ) || ( ( ((U8*)s)[1] & 0xFA ) == 0x70 ) ) && ( ( ( ((U8*)s)[2] & 0xEF ) == 0x41 ) || ( ( ((U8*)s)[2] & 0xCE ) == 0x42 ) || ( ( ((U8*)s)[2] & 0xEC ) == 0x44 ) || ( ( ((U8*)s)[2] & 0xEE ) == 0x48 ) || ( ( ((U8*)s)[2] & 0xFC ) == 0x64 ) || ( ( ((U8*)s)[2] & 0xFE ) == 0x68 ) || ( ( ((U8*)s)[2] & 0xFA ) == 0x70 ) ) ) ? 3 : 0 )\
2068: ( 0xCD == ((U8*)s)[0] ) ? \
2069 ( ( ( ( ((U8*)s)[1] & 0xFE ) == 0x58 || ( ((U8*)s)[1] & 0xFE ) == 0x62 ) && ( ( ( ((U8*)s)[2] & 0xEF ) == 0x41 ) || ( ( ((U8*)s)[2] & 0xCE ) == 0x42 ) || ( ( ((U8*)s)[2] & 0xEC ) == 0x44 ) || ( ( ((U8*)s)[2] & 0xEE ) == 0x48 ) || ( ( ((U8*)s)[2] & 0xFC ) == 0x64 ) || ( ( ((U8*)s)[2] & 0xFE ) == 0x68 ) || ( ( ((U8*)s)[2] & 0xFA ) == 0x70 ) ) ) ? 3 : 0 )\
2070: ( 0xCE == ((U8*)s)[0] ) ? \
2071 ( ( 0x41 == ((U8*)s)[1] ) ? \
2072 ( ( ( ( ((U8*)s)[2] & 0xE7 ) == 0x41 ) || ( ( ((U8*)s)[2] & 0xCE ) == 0x42 ) || ((U8*)s)[2] == 0x44 || ( ( ((U8*)s)[2] & 0xFC ) == 0x54 ) || ((U8*)s)[2] == 0x58 || ( ( ((U8*)s)[2] & 0xFC ) == 0x64 ) || ( ( ((U8*)s)[2] & 0xFE ) == 0x68 ) || ( ( ((U8*)s)[2] & 0xFA ) == 0x70 ) ) ? 3 : 0 )\
2073 : ( 0x42 == ((U8*)s)[1] ) ? \
2074 ( ( 0x41 == ((U8*)s)[2] || 0x58 == ((U8*)s)[2] ) ? 3 : 0 ) \
2075 : ( ( 0x53 == ((U8*)s)[1] ) && ( 0x45 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
2076: ( 0xDC == ((U8*)s)[0] ) ? \
2077 ( ( 0x75 == ((U8*)s)[1] ) ? \
2078 ( ( 0x51 == ((U8*)s)[2] ) ? \
2079 ( ( ( ((U8*)s)[3] & 0xFE ) == 0x74 ) ? 4 : 0 ) \
2080 : ( 0x58 == ((U8*)s)[2] ) ? \
2081 ( ( ( 0x41 <= ((U8*)s)[3] && ((U8*)s)[3] <= 0x49 ) || ( 0x51 <= ((U8*)s)[3] && ((U8*)s)[3] <= 0x57 ) ) ? 4 : 0 )\
2082 : ( 0x62 == ((U8*)s)[2] ) ? \
2083 ( ( ( ((U8*)s)[3] & 0xFE ) == 0x46 ) ? 4 : 0 ) \
2084 : ( 0x67 == ((U8*)s)[2] ) ? \
2085 ( ( 0x75 == ((U8*)s)[3] ) ? 4 : 0 ) \
2086 : ( 0x73 == ((U8*)s)[2] ) ? \
2087 ( ( 0x41 == ((U8*)s)[3] ) ? 4 : 0 ) \
2088 : ( ( 0x75 == ((U8*)s)[2] ) && ( ( ((U8*)s)[3] & 0xFE ) == 0x58 || ( 0x62 <= ((U8*)s)[3] && ((U8*)s)[3] <= 0x68 ) ) ) ? 4 : 0 )\
2089 : 0 ) \
2090: ( 0xDE == ((U8*)s)[0] ) ? \
09edd811
KW
2091 ( ( 0x57 == ((U8*)s)[1] ) ? \
2092 ( ( ( 0x46 == ((U8*)s)[2] ) && ( 0x41 <= ((U8*)s)[3] && ((U8*)s)[3] <= 0x44 ) ) ? 4 : 0 )\
2093 : ( ( ( 0x64 == ((U8*)s)[1] ) && ( 0x53 == ((U8*)s)[2] ) ) && ( ( 0x63 <= ((U8*)s)[3] && ((U8*)s)[3] <= 0x69 ) || 0x70 == ((U8*)s)[3] ) ) ? 4 : 0 )\
a1b2a50f
KW
2094: ( ( ( ( ( 0xEB == ((U8*)s)[0] ) && ( 0x72 == ((U8*)s)[1] ) ) && ( 0x41 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x44 ) ) && ( ( ( ((U8*)s)[3] & 0xEF ) == 0x41 ) || ( ( ((U8*)s)[3] & 0xCE ) == 0x42 ) || ( ( ((U8*)s)[3] & 0xEC ) == 0x44 ) || ( ( ((U8*)s)[3] & 0xEE ) == 0x48 ) || ( ( ((U8*)s)[3] & 0xFC ) == 0x64 ) || ( ( ((U8*)s)[3] & 0xFE ) == 0x68 ) || ( ( ((U8*)s)[3] & 0xFA ) == 0x70 ) ) ) && ( ( ( ((U8*)s)[4] & 0xEF ) == 0x41 ) || ( ( ((U8*)s)[4] & 0xCE ) == 0x42 ) || ( ( ((U8*)s)[4] & 0xEC ) == 0x44 ) || ( ( ((U8*)s)[4] & 0xEE ) == 0x48 ) || ( ( ((U8*)s)[4] & 0xFC ) == 0x64 ) || ( ( ((U8*)s)[4] & 0xFE ) == 0x68 ) || ( ( ((U8*)s)[4] & 0xFA ) == 0x70 ) ) ) ? 5 : 0 )
2095
2096
2097/*** GENERATED CODE ***/
2098#define is_QUOTEMETA_high(s) \
2099( ( 0xB0 == ((U8*)s)[0] ) ? \
2100 ( ( 0x57 == ((U8*)s)[1] ) ? 2 : 0 ) \
2101: ( 0xB7 == ((U8*)s)[0] ) ? \
2102 ( ( ( 0x58 == ((U8*)s)[1] ) && ( 0x72 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
09edd811
KW
2103: ( 0xBA == ((U8*)s)[0] ) ? \
2104 ( ( 0x52 == ((U8*)s)[1] ) ? \
2105 ( ( 0x75 == ((U8*)s)[2] ) ? 3 : 0 ) \
2106 : ( ( 0x53 == ((U8*)s)[1] ) && ( 0x41 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
2107: ( 0xBE == ((U8*)s)[0] ) ? is_QUOTEMETA_high_part0(s) : is_QUOTEMETA_high_part1(s) )
a1b2a50f
KW
2108
2109/*
2110 MULTI_CHAR_FOLD: multi-char strings that are folded to by a single character
2111
2112 &regcharclass_multi_char_folds::multi_char_folds(1)
2113*/
2114/*** GENERATED CODE ***/
2115#define is_MULTI_CHAR_FOLD_utf8_safe_part0(s,e) \
2116( ( 0x81 == ((U8*)s)[0] ) ? \
2117 ( ( ( 0xAB == ((U8*)s)[1] ) && ( 0x74 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
2118 : ( 0x86 == ((U8*)s)[0] ) ? \
2119 ( ( 0x86 == ((U8*)s)[1] ) ? \
2120 ( ( 0x89 == ((U8*)s)[2] || 0x93 == ((U8*)s)[2] ) ? 3 : 2 ) \
2121 : ( 0x89 == ((U8*)s)[1] || 0x93 == ((U8*)s)[1] ) ? 2 : 0 ) \
2122 : ( 0x88 == ((U8*)s)[0] ) ? \
2123 ( ( ( 0xAF == ((U8*)s)[1] ) && ( 0x59 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
2124 : ( 0x89 == ((U8*)s)[0] ) ? \
2125 ( ( ( 0xAE == ((U8*)s)[1] ) && ( 0x48 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
2126 : ( 0x90 == ((U8*)s)[0] ) ? \
2127 ( ( ( ( 0x75 == ((U8*)s)[1] ) && ( 0x90 == ((U8*)s)[2] ) ) && ( 0x75 == ((U8*)s)[3] ) ) ? 4 : 0 )\
2128 : ( 0x91 == ((U8*)s)[0] ) ? \
2129 ( ( ( 0xAE == ((U8*)s)[1] ) && ( 0x54 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
2130 : ( 0xA2 == ((U8*)s)[0] ) ? \
2131 ( ( ( ((U8*)s)[1] & 0xFE ) == 0xA2 ) ? 2 : 0 ) \
2132 : ( 0xA3 == ((U8*)s)[0] ) ? \
2133 ( ( ( 0xAE == ((U8*)s)[1] ) && ( 0x49 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
2134 : ( 0xA6 == ((U8*)s)[0] || 0xA8 == ((U8*)s)[0] ) ? \
2135 ( ( ( 0xAE == ((U8*)s)[1] ) && ( 0x52 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
2136 : ( 0xAB == ((U8*)s)[0] ) ? \
2137 ( ( ( 0x72 == ((U8*)s)[1] ) && ( 0x95 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
2138 : ( 0xB3 == ((U8*)s)[0] ) ? \
2139 ( ( ( ((U8*)s)[1] & 0xFD ) == 0x54 ) ? \
2140 ( ( ( 0xB3 == ((U8*)s)[2] ) && ( 0x69 == ((U8*)s)[3] ) ) ? 4 : 0 )\
2141 : ( 0x59 == ((U8*)s)[1] || 0x67 == ((U8*)s)[1] ) ? \
2142 ( ( 0xB0 == ((U8*)s)[2] ) ? \
2143 ( ( 0x43 == ((U8*)s)[3] ) ? 4 : 0 ) \
2144 : ( ( 0xB3 == ((U8*)s)[2] ) && ( 0x69 == ((U8*)s)[3] ) ) ? 4 : 0 )\
2145 : ( ( ( 0x69 == ((U8*)s)[1] ) && ( 0xB0 == ((U8*)s)[2] ) ) && ( 0x43 == ((U8*)s)[3] ) ) ? 4 : 0 )\
2146 : ( 0xB4 == ((U8*)s)[0] ) ? \
2147 ( ( 0x42 == ((U8*)s)[1] ) ? \
2148 ( ( ( 0xAE == ((U8*)s)[2] ) && ( 0x63 == ((U8*)s)[3] ) ) ? 4 : 0 )\
2149 : ( 0x46 == ((U8*)s)[1] ) ? \
2150 ( ( 0xAE == ((U8*)s)[2] ) ? \
2151 ( ( 0x63 == ((U8*)s)[3] ) ? 4 : 0 ) \
2152 : ( ( 0xB0 == ((U8*)s)[2] ) && ( 0x43 == ((U8*)s)[3] ) ) ? 4 : 0 )\
2153 : ( 0x51 == ((U8*)s)[1] ) ? \
2154 ( ( 0xB0 == ((U8*)s)[2] ) ? \
2155 ( ( 0x43 == ((U8*)s)[3] ) ? 4 : 0 ) \
2156 : ( ( 0xB3 == ((U8*)s)[2] ) && ( 0x69 == ((U8*)s)[3] ) ) ? 4 : 0 )\
2157 : ( ( ( 0x56 == ((U8*)s)[1] ) && ( 0xB3 == ((U8*)s)[2] ) ) && ( 0x69 == ((U8*)s)[3] ) ) ? 4 : 0 )\
2158 : ( 0xC0 == ((U8*)s)[0] ) ? \
2159 ( ( ( ((U8*)s)[1] & 0xFE ) == 0x68 ) ? \
2160 ( ( ( ( 0x41 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x48 ) && ( 0xB3 == ((U8*)s)[3] ) ) && ( 0x69 == ((U8*)s)[4] ) ) ? 5 : 0 )\
2161 : ( ( ( ( 0x71 == ((U8*)s)[1] ) && ( ( 0x41 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x48 ) || 0x58 == ((U8*)s)[2] || 0x64 == ((U8*)s)[2] || 0x72 == ((U8*)s)[2] ) ) && ( 0xB3 == ((U8*)s)[3] ) ) && ( 0x69 == ((U8*)s)[4] ) ) ? 5 : 0 )\
2162 : 0 )
2163
2164
2165/*** GENERATED CODE ***/
2166#define is_MULTI_CHAR_FOLD_utf8_safe_part1(s,e) \
2167( ((e)-(s) > 3) ? \
2168 ( ( 0x81 == ((U8*)s)[0] ) ? \
2169 ( ( ( 0xAB == ((U8*)s)[1] ) && ( 0x74 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
2170 : ( 0x86 == ((U8*)s)[0] ) ? \
2171 ( ( 0x86 == ((U8*)s)[1] ) ? \
2172 ( ( 0x89 == ((U8*)s)[2] || 0x93 == ((U8*)s)[2] ) ? 3 : 2 ) \
2173 : ( 0x89 == ((U8*)s)[1] || 0x93 == ((U8*)s)[1] ) ? 2 : 0 ) \
2174 : ( 0x88 == ((U8*)s)[0] ) ? \
2175 ( ( ( 0xAF == ((U8*)s)[1] ) && ( 0x59 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
2176 : ( 0x89 == ((U8*)s)[0] ) ? \
2177 ( ( ( 0xAE == ((U8*)s)[1] ) && ( 0x48 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
2178 : ( 0x90 == ((U8*)s)[0] ) ? \
2179 ( ( ( ( 0x75 == ((U8*)s)[1] ) && ( 0x90 == ((U8*)s)[2] ) ) && ( 0x75 == ((U8*)s)[3] ) ) ? 4 : 0 )\
2180 : ( 0x91 == ((U8*)s)[0] ) ? \
2181 ( ( ( 0xAE == ((U8*)s)[1] ) && ( 0x54 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
2182 : ( 0xA2 == ((U8*)s)[0] ) ? \
2183 ( ( ( ((U8*)s)[1] & 0xFE ) == 0xA2 ) ? 2 : 0 ) \
2184 : ( 0xA3 == ((U8*)s)[0] ) ? \
2185 ( ( ( 0xAE == ((U8*)s)[1] ) && ( 0x49 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
2186 : ( 0xA6 == ((U8*)s)[0] || 0xA8 == ((U8*)s)[0] ) ? \
2187 ( ( ( 0xAE == ((U8*)s)[1] ) && ( 0x52 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
2188 : ( 0xAB == ((U8*)s)[0] ) ? \
2189 ( ( ( 0x72 == ((U8*)s)[1] ) && ( 0x95 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
2190 : ( 0xB3 == ((U8*)s)[0] ) ? \
2191 ( ( ( ((U8*)s)[1] & 0xFD ) == 0x54 ) ? \
2192 ( ( ( 0xB3 == ((U8*)s)[2] ) && ( 0x69 == ((U8*)s)[3] ) ) ? 4 : 0 )\
2193 : ( 0x59 == ((U8*)s)[1] || 0x67 == ((U8*)s)[1] ) ? \
2194 ( ( 0xB0 == ((U8*)s)[2] ) ? \
2195 ( ( 0x43 == ((U8*)s)[3] ) ? 4 : 0 ) \
2196 : ( ( 0xB3 == ((U8*)s)[2] ) && ( 0x69 == ((U8*)s)[3] ) ) ? 4 : 0 )\
2197 : ( ( ( 0x69 == ((U8*)s)[1] ) && ( 0xB0 == ((U8*)s)[2] ) ) && ( 0x43 == ((U8*)s)[3] ) ) ? 4 : 0 )\
2198 : ( 0xB4 == ((U8*)s)[0] ) ? \
2199 ( ( 0x42 == ((U8*)s)[1] ) ? \
2200 ( ( ( 0xAE == ((U8*)s)[2] ) && ( 0x63 == ((U8*)s)[3] ) ) ? 4 : 0 )\
2201 : ( 0x46 == ((U8*)s)[1] ) ? \
2202 ( ( 0xAE == ((U8*)s)[2] ) ? \
2203 ( ( 0x63 == ((U8*)s)[3] ) ? 4 : 0 ) \
2204 : ( ( 0xB0 == ((U8*)s)[2] ) && ( 0x43 == ((U8*)s)[3] ) ) ? 4 : 0 )\
2205 : ( 0x51 == ((U8*)s)[1] ) ? \
2206 ( ( 0xB0 == ((U8*)s)[2] ) ? \
2207 ( ( 0x43 == ((U8*)s)[3] ) ? 4 : 0 ) \
2208 : ( ( 0xB3 == ((U8*)s)[2] ) && ( 0x69 == ((U8*)s)[3] ) ) ? 4 : 0 )\
2209 : ( ( ( 0x56 == ((U8*)s)[1] ) && ( 0xB3 == ((U8*)s)[2] ) ) && ( 0x69 == ((U8*)s)[3] ) ) ? 4 : 0 )\
2210 : 0 ) \
2211: ((e)-(s) > 2) ? \
2212 ( ( 0x81 == ((U8*)s)[0] ) ? \
2213 ( ( ( 0xAB == ((U8*)s)[1] ) && ( 0x74 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
2214 : ( 0x86 == ((U8*)s)[0] ) ? \
2215 ( ( 0x86 == ((U8*)s)[1] ) ? \
2216 ( ( 0x89 == ((U8*)s)[2] || 0x93 == ((U8*)s)[2] ) ? 3 : 2 ) \
2217 : ( 0x89 == ((U8*)s)[1] || 0x93 == ((U8*)s)[1] ) ? 2 : 0 ) \
2218 : ( 0x88 == ((U8*)s)[0] ) ? \
2219 ( ( ( 0xAF == ((U8*)s)[1] ) && ( 0x59 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
2220 : ( 0x89 == ((U8*)s)[0] ) ? \
2221 ( ( ( 0xAE == ((U8*)s)[1] ) && ( 0x48 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
2222 : ( 0x91 == ((U8*)s)[0] ) ? \
2223 ( ( ( 0xAE == ((U8*)s)[1] ) && ( 0x54 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
2224 : ( 0xA2 == ((U8*)s)[0] ) ? \
2225 ( ( ( ((U8*)s)[1] & 0xFE ) == 0xA2 ) ? 2 : 0 ) \
2226 : ( 0xA3 == ((U8*)s)[0] ) ? \
2227 ( ( ( 0xAE == ((U8*)s)[1] ) && ( 0x49 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
2228 : ( 0xA6 == ((U8*)s)[0] || 0xA8 == ((U8*)s)[0] ) ? \
2229 ( ( ( 0xAE == ((U8*)s)[1] ) && ( 0x52 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
2230 : ( ( ( 0xAB == ((U8*)s)[0] ) && ( 0x72 == ((U8*)s)[1] ) ) && ( 0x95 == ((U8*)s)[2] ) ) ? 3 : 0 )\
2231: ((e)-(s) > 1) ? \
2232 ( ( 0x86 == ((U8*)s)[0] ) ? \
2233 ( ( 0x86 == ((U8*)s)[1] || 0x89 == ((U8*)s)[1] || 0x93 == ((U8*)s)[1] ) ? 2 : 0 )\
2234 : ( ( 0xA2 == ((U8*)s)[0] ) && ( ( ((U8*)s)[1] & 0xFE ) == 0xA2 ) ) ? 2 : 0 )\
2235: 0 )
2236
2237
2238/*** GENERATED CODE ***/
2239#define is_MULTI_CHAR_FOLD_utf8_safe(s,e) \
2240( ((e)-(s) > 5) ? \
2241 ( ( 0x81 == ((U8*)s)[0] ) ? \
2242 ( ( ( 0xAB == ((U8*)s)[1] ) && ( 0x74 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
2243 : ( 0x86 == ((U8*)s)[0] ) ? \
2244 ( ( 0x86 == ((U8*)s)[1] ) ? \
2245 ( ( 0x89 == ((U8*)s)[2] || 0x93 == ((U8*)s)[2] ) ? 3 : 2 ) \
2246 : ( 0x89 == ((U8*)s)[1] || 0x93 == ((U8*)s)[1] ) ? 2 : 0 ) \
2247 : ( 0x88 == ((U8*)s)[0] ) ? \
2248 ( ( ( 0xAF == ((U8*)s)[1] ) && ( 0x59 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
2249 : ( 0x89 == ((U8*)s)[0] ) ? \
2250 ( ( ( 0xAE == ((U8*)s)[1] ) && ( 0x48 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
2251 : ( 0x90 == ((U8*)s)[0] ) ? \
2252 ( ( ( ( 0x75 == ((U8*)s)[1] ) && ( 0x90 == ((U8*)s)[2] ) ) && ( 0x75 == ((U8*)s)[3] ) ) ? 4 : 0 )\
2253 : ( 0x91 == ((U8*)s)[0] ) ? \
2254 ( ( ( 0xAE == ((U8*)s)[1] ) && ( 0x54 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
2255 : ( 0xA2 == ((U8*)s)[0] ) ? \
2256 ( ( ( ((U8*)s)[1] & 0xFE ) == 0xA2 ) ? 2 : 0 ) \
2257 : ( 0xA3 == ((U8*)s)[0] ) ? \
2258 ( ( ( 0xAE == ((U8*)s)[1] ) && ( 0x49 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
2259 : ( 0xA6 == ((U8*)s)[0] || 0xA8 == ((U8*)s)[0] ) ? \
2260 ( ( ( 0xAE == ((U8*)s)[1] ) && ( 0x52 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
2261 : ( 0xAB == ((U8*)s)[0] ) ? \
2262 ( ( ( 0x72 == ((U8*)s)[1] ) && ( 0x95 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
2263 : ( 0xB3 == ((U8*)s)[0] ) ? \
2264 ( ( ( ((U8*)s)[1] & 0xFD ) == 0x54 ) ? \
2265 ( ( ( 0xB3 == ((U8*)s)[2] ) && ( 0x69 == ((U8*)s)[3] ) ) ? 4 : 0 )\
2266 : ( 0x59 == ((U8*)s)[1] || 0x67 == ((U8*)s)[1] ) ? \
2267 ( ( 0xB0 == ((U8*)s)[2] ) ? \
2268 ( ( 0x43 == ((U8*)s)[3] ) ? \
2269 ( ( ( 0xB3 == ((U8*)s)[4] ) && ( 0x69 == ((U8*)s)[5] ) ) ? 6 : 4 )\
2270 : 0 ) \
2271 : ( ( 0xB3 == ((U8*)s)[2] ) && ( 0x69 == ((U8*)s)[3] ) ) ? 4 : 0 )\
2272 : ( 0x69 == ((U8*)s)[1] ) ? \
2273 ( ( 0xAE == ((U8*)s)[2] ) ? \
2274 ( ( 0x49 == ((U8*)s)[3] ) ? \
2275 ( ( 0xAE == ((U8*)s)[4] ) ? \
2276 ( ( 0x41 == ((U8*)s)[5] || 0x42 == ((U8*)s)[5] ) ? 6 : 0 )\
2277 : ( ( 0xB0 == ((U8*)s)[4] ) && ( 0x43 == ((U8*)s)[5] ) ) ? 6 : 0 )\
2278 : 0 ) \
2279 : ( ( 0xB0 == ((U8*)s)[2] ) && ( 0x43 == ((U8*)s)[3] ) ) ? 4 : 0 )\
2280 : 0 ) \
2281 : ( 0xB4 == ((U8*)s)[0] ) ? \
2282 ( ( 0x42 == ((U8*)s)[1] ) ? \
2283 ( ( ( 0xAE == ((U8*)s)[2] ) && ( 0x63 == ((U8*)s)[3] ) ) ? 4 : 0 )\
2284 : ( 0x46 == ((U8*)s)[1] ) ? \
2285 ( ( 0xAE == ((U8*)s)[2] ) ? \
2286 ( ( 0x49 == ((U8*)s)[3] ) ? \
2287 ( ( 0xAE == ((U8*)s)[4] ) ? \
2288 ( ( 0x41 == ((U8*)s)[5] || 0x42 == ((U8*)s)[5] ) ? 6 : 0 )\
2289 : ( ( 0xB0 == ((U8*)s)[4] ) && ( 0x43 == ((U8*)s)[5] ) ) ? 6 : 0 )\
2290 : ( 0x63 == ((U8*)s)[3] ) ? \
2291 ( ( 0xAE == ((U8*)s)[4] ) ? \
2292 ( ( 0x41 == ((U8*)s)[5] || 0x42 == ((U8*)s)[5] ) ? 6 : 4 )\
2293 : ( ( 0xB0 == ((U8*)s)[4] ) && ( 0x43 == ((U8*)s)[5] ) ) ? 6 : 4 )\
2294 : 0 ) \
2295 : ( ( 0xB0 == ((U8*)s)[2] ) && ( 0x43 == ((U8*)s)[3] ) ) ? 4 : 0 )\
2296 : ( 0x51 == ((U8*)s)[1] ) ? \
2297 ( ( 0xB0 == ((U8*)s)[2] ) ? \
2298 ( ( 0x43 == ((U8*)s)[3] ) ? \
2299 ( ( ( 0xB3 == ((U8*)s)[4] ) && ( 0x69 == ((U8*)s)[5] ) ) ? 6 : 4 )\
2300 : 0 ) \
2301 : ( ( 0xB3 == ((U8*)s)[2] ) && ( 0x69 == ((U8*)s)[3] ) ) ? 4 : 0 )\
2302 : ( ( ( 0x56 == ((U8*)s)[1] ) && ( 0xB3 == ((U8*)s)[2] ) ) && ( 0x69 == ((U8*)s)[3] ) ) ? 4 : 0 )\
2303 : ( 0xB7 == ((U8*)s)[0] ) ? \
2304 ( ( 0x53 == ((U8*)s)[1] ) ? \
2305 ( ( 0x46 == ((U8*)s)[2] ) ? \
2306 ( ( ( ( 0xB7 == ((U8*)s)[3] ) && ( 0x54 == ((U8*)s)[4] ) ) && ( 0x43 == ((U8*)s)[5] ) ) ? 6 : 0 )\
2307 : ( 0x64 == ((U8*)s)[2] ) ? \
2308 ( ( ( ( 0xB7 == ((U8*)s)[3] ) && ( 0x53 == ((U8*)s)[4] ) ) && ( ( ( ((U8*)s)[5] & 0xDF ) == 0x46 ) || ((U8*)s)[5] == 0x53 || ((U8*)s)[5] == 0x55 ) ) ? 6 : 0 )\
2309 : ( ( ( ( 0x74 == ((U8*)s)[2] ) && ( 0xB7 == ((U8*)s)[3] ) ) && ( 0x53 == ((U8*)s)[4] ) ) && ( 0x66 == ((U8*)s)[5] ) ) ? 6 : 0 )\
2310 : 0 ) \
2311 : ( 0xC0 == ((U8*)s)[0] ) ? \
2312 ( ( ( ((U8*)s)[1] & 0xFE ) == 0x68 ) ? \
2313 ( ( ( ( 0x41 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x48 ) && ( 0xB3 == ((U8*)s)[3] ) ) && ( 0x69 == ((U8*)s)[4] ) ) ? 5 : 0 )\
2314 : ( ( ( ( 0x71 == ((U8*)s)[1] ) && ( ( 0x41 <= ((U8*)s)[2] && ((U8*)s)[2] <= 0x48 ) || 0x58 == ((U8*)s)[2] || 0x64 == ((U8*)s)[2] || 0x72 == ((U8*)s)[2] ) ) && ( 0xB3 == ((U8*)s)[3] ) ) && ( 0x69 == ((U8*)s)[4] ) ) ? 5 : 0 )\
2315 : 0 ) \
2316: ((e)-(s) > 4) ? is_MULTI_CHAR_FOLD_utf8_safe_part0(s,e) : is_MULTI_CHAR_FOLD_utf8_safe_part1(s,e) )
2317
2318/*
2319 MULTI_CHAR_FOLD: multi-char strings that are folded to by a single character
2320
2321 &regcharclass_multi_char_folds::multi_char_folds(0)
2322*/
2323/*** GENERATED CODE ***/
2324#define is_MULTI_CHAR_FOLD_latin1_safe(s,e) \
2325( ((e)-(s) > 2) ? \
2326 ( ( ( ((U8*)s)[0] & 0xBF ) == 0x86 ) ? \
2327 ( ( ( ((U8*)s)[1] & 0xBF ) == 0x86 ) ? \
2328 ( ( ( ( ((U8*)s)[2] & 0xBF ) == 0x89 ) || ( ( ((U8*)s)[2] & 0xBF ) == 0x93 ) ) ? 3 : 2 )\
2329 : ( ( ( ((U8*)s)[1] & 0xBF ) == 0x89 ) || ( ( ((U8*)s)[1] & 0xBF ) == 0x93 ) ) ? 2 : 0 )\
2330 : ( ( ( ((U8*)s)[0] & 0xBF ) == 0xA2 ) && ( ( ((U8*)s)[1] & 0xBE ) == 0xA2 ) ) ? 2 : 0 )\
2331: ((e)-(s) > 1) ? \
2332 ( ( ( ((U8*)s)[0] & 0xBF ) == 0x86 ) ? \
2333 ( ( ( ( ((U8*)s)[1] & 0xBF ) == 0x86 ) || ( ( ((U8*)s)[1] & 0xBF ) == 0x89 ) || ( ( ((U8*)s)[1] & 0xBF ) == 0x93 ) ) ? 2 : 0 )\
2334 : ( ( ( ((U8*)s)[0] & 0xBF ) == 0xA2 ) && ( ( ((U8*)s)[1] & 0xBE ) == 0xA2 ) ) ? 2 : 0 )\
2335: 0 )
2336
2337/*
2338 FOLDS_TO_MULTI: characters that fold to multi-char strings
2339
2340 \p{_Perl_Folds_To_Multi_Char}
2341*/
2342/*** GENERATED CODE ***/
2343#define is_FOLDS_TO_MULTI_utf8(s) \
2344( ( 0x8B == ((U8*)s)[0] ) ? \
2345 ( ( 0x75 == ((U8*)s)[1] ) ? 2 : 0 ) \
2346: ( 0x8E == ((U8*)s)[0] || 0x9D == ((U8*)s)[0] || ( ((U8*)s)[0] & 0xFE ) == 0xB2 ) ?\
2347 ( ( 0x58 == ((U8*)s)[1] ) ? 2 : 0 ) \
2348: ( 0x8F == ((U8*)s)[0] ) ? \
2349 ( ( 0x51 == ((U8*)s)[1] ) ? 2 : 0 ) \
2350: ( 0xB7 == ((U8*)s)[0] ) ? \
2351 ( ( ( 0x54 == ((U8*)s)[1] ) && ( 0x48 == ((U8*)s)[2] ) ) ? 3 : 0 ) \
2352: ( 0xC0 == ((U8*)s)[0] ) ? \
2353 ( ( 0x64 == ((U8*)s)[1] ) ? \
2354 ( ( ( ( ((U8*)s)[2] & 0xFE ) == 0x66 ) || ( ( ((U8*)s)[2] & 0xFE ) == 0x68 ) || ( ( ((U8*)s)[2] & 0xFB ) == 0x70 ) ) ? 3 : 0 )\
2355 : ( 0x70 == ((U8*)s)[1] ) ? \
2356 ( ( ((U8*)s)[2] == 0x58 || ((U8*)s)[2] == 0x62 || ( ( ((U8*)s)[2] & 0xFD ) == 0x64 ) ) ? 3 : 0 )\
2357 : ( 0x72 == ((U8*)s)[1] ) ? \
2358 ( ( ( ( ((U8*)s)[2] & 0xEF ) == 0x41 ) || ( ( ((U8*)s)[2] & 0xCE ) == 0x42 ) || ( ( ((U8*)s)[2] & 0xEC ) == 0x44 ) || ( ( ((U8*)s)[2] & 0xEE ) == 0x48 ) || ( ( ((U8*)s)[2] & 0xFC ) == 0x64 ) || ( ( ((U8*)s)[2] & 0xFE ) == 0x68 ) || ( ( ((U8*)s)[2] & 0xFA ) == 0x70 ) ) ? 3 : 0 )\
2359 : ( 0x73 == ((U8*)s)[1] ) ? \
2360 ( ( ( ( ((U8*)s)[2] & 0xEF ) == 0x41 ) || ( ( ((U8*)s)[2] & 0xEE ) == 0x42 ) || ( ( ((U8*)s)[2] & 0xEC ) == 0x44 ) || ( ( ((U8*)s)[2] & 0xFE ) == 0x48 ) || ( ( ((U8*)s)[2] & 0xFA ) == 0x62 ) || ((U8*)s)[2] == 0x64 || ((U8*)s)[2] == 0x72 ) ? 3 : 0 )\
2361 : ( 0x74 == ((U8*)s)[1] ) ? \
2362 ( ( ( ( ((U8*)s)[2] & 0xFB ) == 0x43 ) || ( ( ((U8*)s)[2] & 0xFE ) == 0x44 ) || ((U8*)s)[2] == 0x48 || ((U8*)s)[2] == 0x54 || ( ( ((U8*)s)[2] & 0xFA ) == 0x62 ) ) ? 3 : 0 )\
2363 : ( ( 0x75 == ((U8*)s)[1] ) && ( ( ( ((U8*)s)[2] & 0xFB ) == 0x43 ) || ( ( ((U8*)s)[2] & 0xFE ) == 0x44 ) || ((U8*)s)[2] == 0x48 || ( ( ((U8*)s)[2] & 0xFA ) == 0x62 ) || ((U8*)s)[2] == 0x64 || ((U8*)s)[2] == 0x72 ) ) ? 3 : 0 )\
2364: ( ( ( ( 0xDC == ((U8*)s)[0] ) && ( 0x74 == ((U8*)s)[1] ) ) && ( 0x68 == ((U8*)s)[2] ) ) && ( ( 0x41 <= ((U8*)s)[3] && ((U8*)s)[3] <= 0x47 ) || ( 0x63 <= ((U8*)s)[3] && ((U8*)s)[3] <= 0x67 ) ) ) ? 4 : 0 )
2365
2366/*
2367 PROBLEMATIC_LOCALE_FOLD: characters whose fold is problematic under locale
2368
2369 \p{_Perl_Problematic_Locale_Folds}
2370*/
2371/*** GENERATED CODE ***/
2372#define is_PROBLEMATIC_LOCALE_FOLD_utf8(s) \
2373( ( ( ( ((U8*)s)[0] & 0xC0 ) == 0x00 ) || ( ( ((U8*)s)[0] & 0xEF ) == 0x40 ) || ( ( ((U8*)s)[0] & 0xCE ) == 0x4A ) || ( ( ((U8*)s)[0] & 0xCC ) == 0x4C ) || ( ( ((U8*)s)[0] & 0xFE ) == 0x60 ) || ( ( ((U8*)s)[0] & 0xAF ) == 0x81 ) || ( ( ((U8*)s)[0] & 0xEE ) == 0x82 ) || ( ( ((U8*)s)[0] & 0xEC ) == 0x84 ) || ( ( ((U8*)s)[0] & 0xEE ) == 0x88 ) || ( ( ((U8*)s)[0] & 0xFE ) == 0xA2 ) || ( ( ((U8*)s)[0] & 0xFC ) == 0xA4 ) || ( ( ((U8*)s)[0] & 0xFE ) == 0xA8 ) || ( ( ((U8*)s)[0] & 0xBF ) == 0xBB ) || ( ( ((U8*)s)[0] & 0xFE ) == 0xBC ) || ( ( ((U8*)s)[0] & 0xCE ) == 0xC2 ) || ( ( ((U8*)s)[0] & 0xCC ) == 0xC4 ) || ( ( ((U8*)s)[0] & 0xCE ) == 0xC8 ) || ( ( ((U8*)s)[0] & 0xFE ) == 0xF0 ) || ( ( ((U8*)s)[0] & 0xFD ) == 0xFD ) ) ? 1\
2374: ( 0x8A <= ((U8*)s)[0] && ((U8*)s)[0] <= 0x8C ) ? \
2375 ( ( ( ( ((U8*)s)[1] & 0xEF ) == 0x41 ) || ( ( ((U8*)s)[1] & 0xCE ) == 0x42 ) || ( ( ((U8*)s)[1] & 0xEC ) == 0x44 ) || ( ( ((U8*)s)[1] & 0xEE ) == 0x48 ) || ( ( ((U8*)s)[1] & 0xFC ) == 0x64 ) || ( ( ((U8*)s)[1] & 0xFE ) == 0x68 ) || ( ( ((U8*)s)[1] & 0xFA ) == 0x70 ) ) ? 2 : 0 )\
2376: ( 0x8E == ((U8*)s)[0] || 0x9D == ((U8*)s)[0] ) ? \
2377 ( ( 0x58 == ((U8*)s)[1] ) ? 2 : 0 ) \
2378: ( 0x8F == ((U8*)s)[0] ) ? \
2379 ( ( 0x51 == ((U8*)s)[1] ) ? 2 : 0 ) \
2380: ( 0x90 == ((U8*)s)[0] ) ? \
2381 ( ( 0x68 == ((U8*)s)[1] || 0x75 == ((U8*)s)[1] ) ? 2 : 0 ) \
2382: ( ( ((U8*)s)[0] & 0xFE ) == 0xB2 ) ? \
2383 ( ( 0x72 == ((U8*)s)[1] ) ? 2 : 0 ) \
2384: ( 0xC0 == ((U8*)s)[0] ) ? \
2385 ( ( ( 0x64 == ((U8*)s)[1] ) && ( ( ( ((U8*)s)[2] & 0xFE ) == 0x66 ) || ( ( ((U8*)s)[2] & 0xFE ) == 0x68 ) || ( ( ((U8*)s)[2] & 0xFB ) == 0x70 ) ) ) ? 3 : 0 )\
2386: ( 0xCA == ((U8*)s)[0] ) ? \
2387 ( ( ( 0x51 == ((U8*)s)[1] ) && ( ( ((U8*)s)[2] & 0xFE ) == 0x52 ) ) ? 3 : 0 )\
2388: ( ( ( ( 0xDC == ((U8*)s)[0] ) && ( 0x74 == ((U8*)s)[1] ) ) && ( 0x68 == ((U8*)s)[2] ) ) && ( 0x41 <= ((U8*)s)[3] && ((U8*)s)[3] <= 0x47 ) ) ? 4 : 0 )
2389
2390/*** GENERATED CODE ***/
2391#define is_PROBLEMATIC_LOCALE_FOLD_cp(cp) \
2392( cp <= 0xFF || ( 0xFF < cp && \
2393( 0x130 == cp || ( 0x130 < cp && \
2394( 0x149 == cp || ( 0x149 < cp && \
2395( 0x178 == cp || ( 0x178 < cp && \
2396( 0x17F == cp || ( 0x17F < cp && \
2397( 0x1F0 == cp || ( 0x1F0 < cp && \
2398( 0x39C == cp || ( 0x39C < cp && \
2399( 0x3BC == cp || ( 0x3BC < cp && \
2400( ( 0x1E96 <= cp && cp <= 0x1E9A ) || ( 0x1E9A < cp && \
2401( 0x1E9E == cp || ( 0x1E9E < cp && \
2402( 0x212A == cp || ( 0x212A < cp && \
2403( 0x212B == cp || ( 0xFB00 <= cp && cp <= 0xFB06 ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) )
2404
2405/*
2406 PROBLEMATIC_LOCALE_FOLDEDS_START: The first folded character of folds which are problematic under locale
2407
2408 \p{_Perl_Problematic_Locale_Foldeds_Start}
2409*/
2410/*** GENERATED CODE ***/
2411#define is_PROBLEMATIC_LOCALE_FOLDEDS_START_utf8(s) \
2412( ( ( ( ((U8*)s)[0] & 0xC0 ) == 0x00 ) || ( ( ((U8*)s)[0] & 0xEF ) == 0x40 ) || ( ( ((U8*)s)[0] & 0xCE ) == 0x4A ) || ( ( ((U8*)s)[0] & 0xCC ) == 0x4C ) || ( ( ((U8*)s)[0] & 0xFE ) == 0x60 ) || ( ( ((U8*)s)[0] & 0xAF ) == 0x81 ) || ( ( ((U8*)s)[0] & 0xEE ) == 0x82 ) || ( ( ((U8*)s)[0] & 0xEC ) == 0x84 ) || ( ( ((U8*)s)[0] & 0xEE ) == 0x88 ) || ( ( ((U8*)s)[0] & 0xFE ) == 0xA2 ) || ( ( ((U8*)s)[0] & 0xFC ) == 0xA4 ) || ( ( ((U8*)s)[0] & 0xFE ) == 0xA8 ) || ( ( ((U8*)s)[0] & 0xBF ) == 0xBB ) || ( ( ((U8*)s)[0] & 0xFE ) == 0xBC ) || ( ( ((U8*)s)[0] & 0xCE ) == 0xC2 ) || ( ( ((U8*)s)[0] & 0xCC ) == 0xC4 ) || ( ( ((U8*)s)[0] & 0xCE ) == 0xC8 ) || ( ( ((U8*)s)[0] & 0xFE ) == 0xF0 ) || ( ( ((U8*)s)[0] & 0xFD ) == 0xFD ) ) ? 1\
2413: ( 0x8A <= ((U8*)s)[0] && ((U8*)s)[0] <= 0x8C ) ? \
2414 ( ( ( ( ((U8*)s)[1] & 0xEF ) == 0x41 ) || ( ( ((U8*)s)[1] & 0xCE ) == 0x42 ) || ( ( ((U8*)s)[1] & 0xEC ) == 0x44 ) || ( ( ((U8*)s)[1] & 0xEE ) == 0x48 ) || ( ( ((U8*)s)[1] & 0xFC ) == 0x64 ) || ( ( ((U8*)s)[1] & 0xFE ) == 0x68 ) || ( ( ((U8*)s)[1] & 0xFA ) == 0x70 ) ) ? 2 : 0 )\
2415: ( 0x8E == ((U8*)s)[0] || 0x9D == ((U8*)s)[0] ) ? \
2416 ( ( 0x58 == ((U8*)s)[1] ) ? 2 : 0 ) \
2417: ( 0x8F == ((U8*)s)[0] ) ? \
2418 ( ( 0x51 == ((U8*)s)[1] ) ? 2 : 0 ) \
2419: ( 0x90 == ((U8*)s)[0] ) ? \
2420 ( ( 0x68 == ((U8*)s)[1] || 0x75 == ((U8*)s)[1] ) ? 2 : 0 ) \
2421: ( 0xAB == ((U8*)s)[0] || ( ((U8*)s)[0] & 0xFE ) == 0xB2 ) ? \
2422 ( ( 0x72 == ((U8*)s)[1] ) ? 2 : 0 ) \
2423: ( 0xC0 == ((U8*)s)[0] ) ? \
2424 ( ( ( 0x64 == ((U8*)s)[1] ) && ( ( ( ((U8*)s)[2] & 0xFE ) == 0x66 ) || ( ( ((U8*)s)[2] & 0xFE ) == 0x68 ) || ( ( ((U8*)s)[2] & 0xFB ) == 0x70 ) ) ) ? 3 : 0 )\
2425: ( 0xCA == ((U8*)s)[0] ) ? \
2426 ( ( ( 0x51 == ((U8*)s)[1] ) && ( ( ((U8*)s)[2] & 0xFE ) == 0x52 ) ) ? 3 : 0 )\
2427: ( ( ( ( 0xDC == ((U8*)s)[0] ) && ( 0x74 == ((U8*)s)[1] ) ) && ( 0x68 == ((U8*)s)[2] ) ) && ( 0x41 <= ((U8*)s)[3] && ((U8*)s)[3] <= 0x47 ) ) ? 4 : 0 )
2428
2429/*** GENERATED CODE ***/
2430#define is_PROBLEMATIC_LOCALE_FOLDEDS_START_cp(cp) \
2431( cp <= 0xFF || ( 0xFF < cp && \
2432( 0x130 == cp || ( 0x130 < cp && \
2433( 0x149 == cp || ( 0x149 < cp && \
2434( 0x178 == cp || ( 0x178 < cp && \
2435( 0x17F == cp || ( 0x17F < cp && \
2436( 0x1F0 == cp || ( 0x1F0 < cp && \
2437( 0x2BC == cp || ( 0x2BC < cp && \
2438( 0x39C == cp || ( 0x39C < cp && \
2439( 0x3BC == cp || ( 0x3BC < cp && \
2440( ( 0x1E96 <= cp && cp <= 0x1E9A ) || ( 0x1E9A < cp && \
2441( 0x1E9E == cp || ( 0x1E9E < cp && \
2442( 0x212A == cp || ( 0x212A < cp && \
2443( 0x212B == cp || ( 0xFB00 <= cp && cp <= 0xFB06 ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) )
2444
2445/*
2446 PATWS: pattern white space
2447
2448 \p{PatWS}
2449*/
2450/*** GENERATED CODE ***/
2451#define is_PATWS_safe(s,e,is_utf8) \
dd9bc2b0 2452( ( LIKELY((e) > (s)) ) ? \
a1b2a50f 2453 ( ( ( ( ((U8*)s)[0] & 0xEF ) == 0x05 ) || ((U8*)s)[0] == 0x0B || ( ( ((U8*)s)[0] & 0xFE ) == 0x0C ) || ((U8*)s)[0] == 0x25 || ((U8*)s)[0] == 0x40 ) ? 1\
dd9bc2b0 2454 : ( ( is_utf8 && LIKELY(((e) - (s)) >= UTF8SKIP(s)) ) && ( 0xCA == ((U8*)s)[0] ) ) ? ( ( 0x41 == ((U8*)s)[1] ) ?\
a1b2a50f
KW
2455 ( ( ( ((U8*)s)[2] & 0xFE ) == 0x56 ) ? 3 : 0 ) \
2456 : ( ( 0x42 == ((U8*)s)[1] ) && ( 0x49 == ((U8*)s)[2] || 0x51 == ((U8*)s)[2] ) ) ? 3 : 0 ) : 0 )\
2457: 0 )
2458
2459/*** GENERATED CODE ***/
2460#define is_PATWS_cp(cp) \
2461( 0x05 == cp || ( 0x05 < cp && \
2462( ( 0x0B <= cp && cp <= 0x0D ) || ( 0x0D < cp && \
2463( 0x15 == cp || ( 0x15 < cp && \
2464( 0x25 == cp || ( 0x25 < cp && \
2465( 0x40 == cp || ( 0x40 < cp && \
2466( 0x200E == cp || ( 0x200E < cp && \
2467( 0x200F == cp || ( 0x200F < cp && \
2468( 0x2028 == cp || 0x2029 == cp ) ) ) ) ) ) ) ) ) ) ) ) ) ) )
2469
2470#endif /* EBCDIC POSIX-BC */
8770da0e 2471
d10c72f2
KW
2472#endif /* H_REGCHARCLASS */
2473
542a7545 2474/* Generated from:
ce6e23cf 2475 * b32261c9bf79e5e25de72f2af500acf5dfa262eb974f43af2a1d4b53e13b248c lib/Unicode/UCD.pm
ac71d2a0
TUC
2476 * ae98bec7e4f0564758eed81eca5015481ba32581f8a735a825b71b3bba714450 lib/unicore/ArabicShaping.txt
2477 * 1687fe5994eb7e5c0dab8503fc2a1b3b479d91af9d3b8055941c9bd791f7d0b5 lib/unicore/BidiBrackets.txt
2478 * 350d1302116194b0b21def287434b55c5088098fbc726e879f7420a391965643 lib/unicore/BidiMirroring.txt
2479 * 288fc7b85c76bda296e296c8465f1f4baeb456cb814430dfaa0f546bfbe86b4a lib/unicore/Blocks.txt
2480 * 86e075f2ede997b3fa5965516c75190b5a88bb82d302272d9c3179b7a57af03f lib/unicore/CaseFolding.txt
2481 * 2fafee5be73bf2817ee669c53c504a6c4aa02ac7344194af18511aea2e05d750 lib/unicore/CompositionExclusions.txt
2482 * 302f6d6171dc9c6165db86d0226b7923a64cea06c493d339d35436bf137606a3 lib/unicore/DAge.txt
2483 * ff666dece87dfdbdbf04a2e26a0bfb52c4ba98db1f8965b0b01ddb9e15f97476 lib/unicore/DCoreProperties.txt
2484 * 6cc76100d402d7dd12bd769ac61158b91e71aad58c8333abb848f1b9c9fdde2d lib/unicore/DNormalizationProps.txt
2485 * ccc571829b384b8a2c24b7a62f8aa6a891a6e8c48f08513ef84fd6da26dba4bb lib/unicore/EastAsianWidth.txt
2486 * 2320db06cf88c755ec7b9cfec96dd9e1d774173521dbc3ee7985377c2ab90d32 lib/unicore/HangulSyllableType.txt
2487 * e52216b5fdb04910e06e94f01cabdf70656b0077c92b756c7b38822626d572f2 lib/unicore/IndicPositionalCategory.txt
2488 * 4db71a39102e173095cb8bda8b4c35e78fe6b365e443c584b19f081d8c4894fc lib/unicore/IndicSyllabicCategory.txt
2489 * eeb30346bb545bb45ff16486d9234397bfe1a195bb12b54fc1d9f48f87e8aa5e lib/unicore/Jamo.txt
2490 * 13e2b7087bcca3163272e64e34e480534bd2f8353a0245c26e6642566f59a60d lib/unicore/LineBreak.txt
2491 * 9bb54cd7b5509779f269fa60341bcbfca8da8f17d3c4999e44a5a51671d3c402 lib/unicore/NameAliases.txt
2492 * e4c29d9ceefbe2382af819ac7646265a9e4ea599ce04a90d31bec97cfaa2848f lib/unicore/NamedSequences.txt
2493 * 70d40297f1bf91397fbdab5a770c12100733e67c5c3398446c5e950715d5e535 lib/unicore/PropList.txt
2494 * 03a440f2a4b9151043a6bb53d4a4e528b73238079f9d686dc2a5846e6895588a lib/unicore/PropValueAliases.txt
2495 * 8e8b48c2080d31aa6713f5535aad94a1f7bc9a65cc52563724e5e69b0a3b4196 lib/unicore/PropertyAliases.txt
2496 * 45d42b1ecbac2263c1c63c95104e63ea64313eb99be94542e040aea11c449f6c lib/unicore/ScriptExtensions.txt
2497 * 79fbd73ad82c30fdb67d36a349d12667bd58d3e9da6a8ce7dd26383b637ba85f lib/unicore/Scripts.txt
2498 * fb2025dae3b9b17649b6e379c1cdbddf50641267ca6d2446caeccf4a141fe167 lib/unicore/SpecialCasing.txt
2499 * 38b17e1118206489a7e0ab5d29d7932212d38838df7d3ec025ecb58e8798ec20 lib/unicore/UnicodeData.txt
2500 * 0cedd6e0f5cadf57ce9cfc96beccfd083b0faa0809a631a777cd25f0316bfabb lib/unicore/auxiliary/GCBTest.txt
2501 * 230005412f9a47128e37bc52330766aaa0b5522a53737a89cff66e891e14527a lib/unicore/auxiliary/GraphemeBreakProperty.txt
2502 * 41bf82452d71ce15eda8c9bb1bb0c20b72205acaaf503e3cb84734ed8e85d33a lib/unicore/auxiliary/SBTest.txt
2503 * d3b45cdb0a73eeb9d25158336583dfc1e6f64da59537acb0008988b40e6b3b63 lib/unicore/auxiliary/SentenceBreakProperty.txt
2504 * a661f42a54f7cc4dded72a61c508be2b482f912d4b6cf140335010f0c684dbb9 lib/unicore/auxiliary/WBTest.txt
2505 * c255bd2e1f163373510679bf4b272eee97b635bfce2a6550d6c10fe5c917f01a lib/unicore/auxiliary/WordBreakProperty.txt
2506 * 16dac6f1c164a4f52741b71221a8aafb6acb52cd8a436af139da6e93d86efdfb lib/unicore/extracted/DBidiClass.txt
2507 * c4e78efc041668548117f7462af03b28dfbb2caca5d46a1ae78ae0ce0bb26c4a lib/unicore/extracted/DBinaryProperties.txt
2508 * 5886bb44aae8f2821663f742793cb91d4ed0923c6840f3bfb73530e37030abf8 lib/unicore/extracted/DCombiningClass.txt
2509 * 9edba3785ed0e6e46e10f67e2dd0ec3cb0799b7f75f526fe918429576060352e lib/unicore/extracted/DDecompositionType.txt
2510 * b774387f79b27ae4268ae89450f971408dc9bbbb523426482ab4375c962bd922 lib/unicore/extracted/DEastAsianWidth.txt
2511 * ba4207d2464077e807b20caf063041142afc0a8a38c328c5c23b3417c9f2da33 lib/unicore/extracted/DGeneralCategory.txt
2512 * 29fdd151266595eb1b37715937afe0727bb632a2bc1130f0d2314040175df82e lib/unicore/extracted/DJoinGroup.txt
2513 * 7725fe247da06986e43e89fd316b8b22a0619546d0c1ed499a94b25e9164c150 lib/unicore/extracted/DJoinType.txt
2514 * 1a0687fb9c6c4567e853913549df0944fe40821279a3e9cdaa6ab8679bc286fd lib/unicore/extracted/DLineBreak.txt
2515 * 40bcfed3ca727c19e1331f6c33806231d5f7eeeabd2e6a9e06a3740c85d0c250 lib/unicore/extracted/DNumType.txt
2516 * a18d502bad39d527ac5586d7bc93e29f565859e3bcc24ada627eff606d6f5fed lib/unicore/extracted/DNumValues.txt
06df818f 2517 * f80d9451fb07e23977f0a4d04b58e477f7b565f8897670a959a8f6395ab2c706 lib/unicore/mktables
ac71d2a0 2518 * 462c9aaa608fb2014cd9649af1c5c009485c60b9c8b15b89401fdc10cf6161c6 lib/unicore/version
b60dc4b9 2519 * c6884f4d629f04d1316f3476cb1050b6a1b98ca30c903262955d4eae337c6b1e regen/charset_translations.pl
c03e41dd 2520 * 8b29da548b7ad90659de234b5061a8c9fb0f40322a256d60fc5e9385ae4ece0e regen/regcharclass.pl
9b63e895 2521 * 393f8d882713a3ba227351ad0f00ea4839fda74fcf77dcd1cdf31519925adba5 regen/regcharclass_multi_char_folds.pl
542a7545 2522 * ex: set ro: */