This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
mktables: White-space only
[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 17
6a5bc5ac
KW
18#ifndef PERL_REGCHARCLASS_H_ /* Guard against nested #includes */
19#define PERL_REGCHARCLASS_H_
d10c72f2 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) ? \
e42cde6b 31 ( ( inRANGE(((const U8*)s)[0], 0x0A, 0x0C ) ) ? 1 \
29f3ce8f
KW
32 : ( 0x0D == ((const U8*)s)[0] ) ? \
33 ( ( 0x0A == ((const U8*)s)[1] ) ? 2 : 1 ) \
e64b1bd1 34 : ( is_utf8 ) ? \
29f3ce8f
KW
35 ( ( 0xC2 == ((const U8*)s)[0] ) ? \
36 ( ( 0x85 == ((const U8*)s)[1] ) ? 2 : 0 ) \
e42cde6b 37 : ( ( ( 0xE2 == ((const U8*)s)[0] ) && ( 0x80 == ((const U8*)s)[1] ) ) && ( inRANGE(((const U8*)s)[2], 0xA8, 0xA9 ) ) ) ? 3 : 0 )\
29f3ce8f 38 : ( 0x85 == ((const U8*)s)[0] ) ) \
e64b1bd1 39: ((e)-(s) > 1) ? \
e42cde6b 40 ( ( inRANGE(((const U8*)s)[0], 0x0A, 0x0C ) ) ? 1 \
29f3ce8f
KW
41 : ( 0x0D == ((const U8*)s)[0] ) ? \
42 ( ( 0x0A == ((const U8*)s)[1] ) ? 2 : 1 ) \
e64b1bd1 43 : ( is_utf8 ) ? \
29f3ce8f
KW
44 ( ( ( 0xC2 == ((const U8*)s)[0] ) && ( 0x85 == ((const U8*)s)[1] ) ) ? 2 : 0 )\
45 : ( 0x85 == ((const U8*)s)[0] ) ) \
e64b1bd1 46: ((e)-(s) > 0) ? \
e42cde6b 47 ( ( inRANGE(((const U8*)s)[0], 0x0A, 0x0D ) ) ? 1 \
e64b1bd1 48 : ( !( is_utf8 ) ) ? \
29f3ce8f 49 ( 0x85 == ((const 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) ? \
e42cde6b 56 ( ( inRANGE(((const U8*)s)[0], 0x0A, 0x0C ) ) ? 1 \
29f3ce8f
KW
57 : ( 0x0D == ((const U8*)s)[0] ) ? \
58 ( ( 0x0A == ((const U8*)s)[1] ) ? 2 : 1 ) \
59 : ( 0xC2 == ((const U8*)s)[0] ) ? \
60 ( ( 0x85 == ((const U8*)s)[1] ) ? 2 : 0 ) \
e42cde6b 61 : ( ( ( 0xE2 == ((const U8*)s)[0] ) && ( 0x80 == ((const U8*)s)[1] ) ) && ( inRANGE(((const U8*)s)[2], 0xA8, 0xA9 ) ) ) ? 3 : 0 )\
e64b1bd1 62: ((e)-(s) > 1) ? \
e42cde6b 63 ( ( inRANGE(((const U8*)s)[0], 0x0A, 0x0C ) ) ? 1 \
29f3ce8f
KW
64 : ( 0x0D == ((const U8*)s)[0] ) ? \
65 ( ( 0x0A == ((const U8*)s)[1] ) ? 2 : 1 ) \
66 : ( ( 0xC2 == ((const U8*)s)[0] ) && ( 0x85 == ((const U8*)s)[1] ) ) ? 2 : 0 )\
e64b1bd1 67: ((e)-(s) > 0) ? \
e42cde6b 68 ( inRANGE(((const U8*)s)[0], 0x0A, 0x0D ) ) \
e64b1bd1 69: 0 )
e1d1eefb 70
12b72891 71/*** GENERATED CODE ***/
12b72891 72#define is_LNBREAK_latin1_safe(s,e) \
e64b1bd1 73( ((e)-(s) > 1) ? \
e42cde6b 74 ( ( inRANGE(((const U8*)s)[0], 0x0A, 0x0C ) || 0x85 == ((const U8*)s)[0] ) ? 1\
29f3ce8f
KW
75 : ( 0x0D == ((const U8*)s)[0] ) ? \
76 ( ( 0x0A == ((const U8*)s)[1] ) ? 2 : 1 ) \
9a3182e9 77 : 0 ) \
e64b1bd1 78: ((e)-(s) > 0) ? \
e42cde6b 79 ( inRANGE(((const U8*)s)[0], 0x0A, 0x0D ) || 0x85 == ((const 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) \
29f3ce8f
KW
89( ( 0xE1 == ((const U8*)s)[0] ) ? \
90 ( ( ( 0x9A == ((const U8*)s)[1] ) && ( 0x80 == ((const U8*)s)[2] ) ) ? 3 : 0 )\
91: ( 0xE2 == ((const U8*)s)[0] ) ? \
92 ( ( 0x80 == ((const U8*)s)[1] ) ? \
e42cde6b 93 ( ( inRANGE(((const U8*)s)[2], 0x80, 0x8A ) || 0xAF == ((const U8*)s)[2] ) ? 3 : 0 )\
29f3ce8f
KW
94 : ( ( 0x81 == ((const U8*)s)[1] ) && ( 0x9F == ((const U8*)s)[2] ) ) ? 3 : 0 )\
95: ( ( ( 0xE3 == ((const U8*)s)[0] ) && ( 0x80 == ((const U8*)s)[1] ) ) && ( 0x80 == ((const U8*)s)[2] ) ) ? 3 : 0 )
2cafb56b
KW
96
97/*** GENERATED CODE ***/
2cafb56b 98#define is_HORIZWS_cp_high(cp) \
c7c8bf55 99( 0x1680 == cp || ( 0x1680 < cp && \
e42cde6b 100( inRANGE(cp, 0x2000, 0x200A) || ( 0x200A < cp && \
c7c8bf55
KW
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) \
e42cde6b 111( ( ( ( 0xE2 == ((const U8*)s)[0] ) && ( 0x80 == ((const U8*)s)[1] ) ) && ( inRANGE(((const U8*)s)[2], 0xA8, 0xA9 ) ) ) ? 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) \
29f3ce8f
KW
124( ( 0xEF == ((const U8*)s)[0] ) ? \
125 ( ( 0xBC == ((const U8*)s)[1] ) ? \
e42cde6b
KW
126 ( ( inRANGE(((const U8*)s)[2], 0x90, 0x99 ) || inRANGE(((const U8*)s)[2], 0xA1, 0xA6 ) ) ? 3 : 0 )\
127 : ( ( 0xBD == ((const U8*)s)[1] ) && ( inRANGE(((const U8*)s)[2], 0x81, 0x86 ) ) ) ? 3 : 0 )\
4ac6419d
KW
128: 0 )
129
130/*** GENERATED CODE ***/
131#define is_XDIGIT_cp_high(cp) \
e42cde6b
KW
132( inRANGE(cp, 0xFF10, 0xFF19) || ( 0xFF19 < cp && \
133( inRANGE(cp, 0xFF21, 0xFF26) || inRANGE(cp, 0xFF41, 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) \
29f3ce8f
KW
142( ( 0xE1 == ((const U8*)s)[0] ) ? \
143 ( ( ( 0x9A == ((const U8*)s)[1] ) && ( 0x80 == ((const U8*)s)[2] ) ) ? 3 : 0 )\
144: ( 0xE2 == ((const U8*)s)[0] ) ? \
145 ( ( 0x80 == ((const U8*)s)[1] ) ? \
e42cde6b 146 ( ( inRANGE(((const U8*)s)[2], 0x80, 0x8A ) || inRANGE(((const U8*)s)[2], 0xA8, 0xA9 ) || 0xAF == ((const U8*)s)[2] ) ? 3 : 0 )\
29f3ce8f
KW
147 : ( ( 0x81 == ((const U8*)s)[1] ) && ( 0x9F == ((const U8*)s)[2] ) ) ? 3 : 0 )\
148: ( ( ( 0xE3 == ((const U8*)s)[0] ) && ( 0x80 == ((const U8*)s)[1] ) ) && ( 0x80 == ((const U8*)s)[2] ) ) ? 3 : 0 )
bedac28b
KW
149
150/*** GENERATED CODE ***/
151#define is_XPERLSPACE_cp_high(cp) \
c7c8bf55 152( 0x1680 == cp || ( 0x1680 < cp && \
e42cde6b 153( inRANGE(cp, 0x2000, 0x200A) || ( 0x200A < cp && \
c7c8bf55
KW
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 NONCHAR: Non character code points
161
099323b4 162 \p{_Perl_Nchar}
b96a92fb
KW
163*/
164/*** GENERATED CODE ***/
89d986df 165#define is_NONCHAR_utf8_safe(s,e) \
29f3ce8f
KW
166( ( ( LIKELY((e) > (s)) ) && ( LIKELY(((e) - (s)) >= UTF8SKIP(s)) ) ) ? ( ( 0xEF == ((const U8*)s)[0] ) ?\
167 ( ( 0xB7 == ((const U8*)s)[1] ) ? \
e42cde6b
KW
168 ( ( inRANGE(((const U8*)s)[2], 0x90, 0xAF ) ) ? 3 : 0 ) \
169 : ( ( 0xBF == ((const U8*)s)[1] ) && ( inRANGE(((const U8*)s)[2], 0xBE, 0xBF ) ) ) ? 3 : 0 )\
29f3ce8f 170 : ( 0xF0 == ((const U8*)s)[0] ) ? \
e42cde6b
KW
171 ( ( ( ( ((const U8*)s)[1] == 0x9F || ( ( ((const U8*)s)[1] & 0xEF ) == 0xAF ) ) && ( 0xBF == ((const U8*)s)[2] ) ) && ( inRANGE(((const U8*)s)[3], 0xBE, 0xBF ) ) ) ? 4 : 0 )\
172 : ( inRANGE(((const U8*)s)[0], 0xF1, 0xF3 ) ) ? \
173 ( ( ( ( ( ((const U8*)s)[1] & 0xCF ) == 0x8F ) && ( 0xBF == ((const U8*)s)[2] ) ) && ( inRANGE(((const U8*)s)[3], 0xBE, 0xBF ) ) ) ? 4 : 0 )\
174 : ( ( ( ( 0xF4 == ((const U8*)s)[0] ) && ( 0x8F == ((const U8*)s)[1] ) ) && ( 0xBF == ((const U8*)s)[2] ) ) && ( inRANGE(((const U8*)s)[3], 0xBE, 0xBF ) ) ) ? 4 : 0 ) : 0 )
b96a92fb
KW
175
176/*
21cb232c 177 SURROGATE: Surrogate code points
b96a92fb 178
099323b4 179 \p{_Perl_Surrogate}
b96a92fb
KW
180*/
181/*** GENERATED CODE ***/
89d986df 182#define is_SURROGATE_utf8_safe(s,e) \
e42cde6b 183( ( ( ( ( ((e) - (s)) >= 3 ) && ( 0xED == ((const U8*)s)[0] ) ) && ( inRANGE(((const U8*)s)[1], 0xA0, 0xBF ) ) ) && ( inRANGE(((const U8*)s)[2], 0x80, 0xBF ) ) ) ? 3 : 0 )
b96a92fb
KW
184
185/*
685289b5
KW
186 QUOTEMETA: Meta-characters that \Q should quote
187
188 \p{_Perl_Quotemeta}
189*/
190/*** GENERATED CODE ***/
191#define is_QUOTEMETA_high(s) \
29f3ce8f
KW
192( ( 0xCD == ((const U8*)s)[0] ) ? \
193 ( ( 0x8F == ((const U8*)s)[1] ) ? 2 : 0 ) \
194: ( 0xD8 == ((const U8*)s)[0] ) ? \
195 ( ( 0x9C == ((const U8*)s)[1] ) ? 2 : 0 ) \
196: ( 0xE1 == ((const U8*)s)[0] ) ? \
197 ( ( 0x85 == ((const U8*)s)[1] ) ? \
e42cde6b 198 ( ( inRANGE(((const U8*)s)[2], 0x9F, 0xA0 ) ) ? 3 : 0 ) \
29f3ce8f
KW
199 : ( 0x9A == ((const U8*)s)[1] ) ? \
200 ( ( 0x80 == ((const U8*)s)[2] ) ? 3 : 0 ) \
201 : ( 0x9E == ((const U8*)s)[1] ) ? \
e42cde6b
KW
202 ( ( inRANGE(((const U8*)s)[2], 0xB4, 0xB5 ) ) ? 3 : 0 ) \
203 : ( ( 0xA0 == ((const U8*)s)[1] ) && ( inRANGE(((const U8*)s)[2], 0x8B, 0x8E ) ) ) ? 3 : 0 )\
29f3ce8f
KW
204: ( 0xE2 == ((const U8*)s)[0] ) ? \
205 ( ( 0x80 == ((const U8*)s)[1] ) ? \
e42cde6b 206 ( ( inRANGE(((const U8*)s)[2], 0x80, 0xBE ) ) ? 3 : 0 ) \
29f3ce8f 207 : ( 0x81 == ((const U8*)s)[1] ) ? \
e42cde6b 208 ( ( inRANGE(((const U8*)s)[2], 0x81, 0x93 ) || inRANGE(((const U8*)s)[2], 0x95, 0xAF ) ) ? 3 : 0 )\
29f3ce8f 209 : ( 0x86 == ((const U8*)s)[1] ) ? \
e42cde6b
KW
210 ( ( inRANGE(((const U8*)s)[2], 0x90, 0xBF ) ) ? 3 : 0 ) \
211 : ( inRANGE(((const U8*)s)[1], 0x87, 0x90 ) || inRANGE(((const U8*)s)[1], 0x94, 0x9C ) || inRANGE(((const U8*)s)[1], 0x9F, 0xAF ) || inRANGE(((const U8*)s)[1], 0xB8, 0xB9 ) ) ?\
6e130234 212 3 \
29f3ce8f 213 : ( 0x91 == ((const U8*)s)[1] ) ? \
e42cde6b 214 ( ( inRANGE(((const U8*)s)[2], 0x80, 0x9F ) ) ? 3 : 0 ) \
29f3ce8f 215 : ( 0x9D == ((const U8*)s)[1] ) ? \
e42cde6b
KW
216 ( ( inRANGE(((const U8*)s)[2], 0x80, 0xB5 ) ) ? 3 : 0 ) \
217 : ( ( 0x9E == ((const U8*)s)[1] ) && ( inRANGE(((const U8*)s)[2], 0x94, 0xBF ) ) ) ? 3 : 0 )\
29f3ce8f
KW
218: ( 0xE3 == ((const U8*)s)[0] ) ? \
219 ( ( 0x80 == ((const U8*)s)[1] ) ? \
e42cde6b 220 ( ( inRANGE(((const U8*)s)[2], 0x80, 0x83 ) || inRANGE(((const U8*)s)[2], 0x88, 0xA0 ) || 0xB0 == ((const U8*)s)[2] ) ? 3 : 0 )\
29f3ce8f
KW
221 : ( ( 0x85 == ((const U8*)s)[1] ) && ( 0xA4 == ((const U8*)s)[2] ) ) ? 3 : 0 )\
222: ( 0xEF == ((const U8*)s)[0] ) ? \
223 ( ( 0xB4 == ((const U8*)s)[1] ) ? \
e42cde6b 224 ( ( inRANGE(((const U8*)s)[2], 0xBE, 0xBF ) ) ? 3 : 0 ) \
29f3ce8f 225 : ( 0xB8 == ((const U8*)s)[1] ) ? \
e42cde6b 226 ( ( inRANGE(((const U8*)s)[2], 0x80, 0x8F ) ) ? 3 : 0 ) \
29f3ce8f 227 : ( 0xB9 == ((const U8*)s)[1] ) ? \
e42cde6b 228 ( ( inRANGE(((const U8*)s)[2], 0x85, 0x86 ) ) ? 3 : 0 ) \
29f3ce8f
KW
229 : ( 0xBB == ((const U8*)s)[1] ) ? \
230 ( ( 0xBF == ((const U8*)s)[2] ) ? 3 : 0 ) \
231 : ( 0xBE == ((const U8*)s)[1] ) ? \
232 ( ( 0xA0 == ((const U8*)s)[2] ) ? 3 : 0 ) \
e42cde6b 233 : ( ( 0xBF == ((const U8*)s)[1] ) && ( inRANGE(((const U8*)s)[2], 0xB0, 0xB8 ) ) ) ? 3 : 0 )\
29f3ce8f
KW
234: ( 0xF0 == ((const U8*)s)[0] ) ? \
235 ( ( 0x9B == ((const U8*)s)[1] ) ? \
e42cde6b
KW
236 ( ( ( 0xB2 == ((const U8*)s)[2] ) && ( inRANGE(((const U8*)s)[3], 0xA0, 0xA3 ) ) ) ? 4 : 0 )\
237 : ( ( ( 0x9D == ((const U8*)s)[1] ) && ( 0x85 == ((const U8*)s)[2] ) ) && ( inRANGE(((const U8*)s)[3], 0xB3, 0xBA ) ) ) ? 4 : 0 )\
29f3ce8f 238: ( ( 0xF3 == ((const U8*)s)[0] ) && ( 0xA0 == ((const U8*)s)[1] ) ) ? 4 : 0 )
685289b5 239
8769f413
KW
240/*
241 MULTI_CHAR_FOLD: multi-char strings that are folded to by a single character
242
8769f413
KW
243 &regcharclass_multi_char_folds::multi_char_folds(1)
244*/
245/*** GENERATED CODE ***/
251b239f 246#define is_MULTI_CHAR_FOLD_utf8_safe_part0(s,e) \
29f3ce8f
KW
247( ( 0x61 == ((const U8*)s)[0] ) ? \
248 ( ( ( 0xCA == ((const U8*)s)[1] ) && ( 0xBE == ((const U8*)s)[2] ) ) ? 3 : 0 )\
249 : ( 0x66 == ((const U8*)s)[0] ) ? \
250 ( ( 0x66 == ((const U8*)s)[1] ) ? \
251 ( ( 0x69 == ((const U8*)s)[2] || 0x6C == ((const U8*)s)[2] ) ? 3 : 2 )\
252 : ( 0x69 == ((const U8*)s)[1] || 0x6C == ((const U8*)s)[1] ) ? 2 : 0 )\
253 : ( 0x68 == ((const U8*)s)[0] ) ? \
254 ( ( ( 0xCC == ((const U8*)s)[1] ) && ( 0xB1 == ((const U8*)s)[2] ) ) ? 3 : 0 )\
255 : ( 0x69 == ((const U8*)s)[0] ) ? \
256 ( ( ( 0xCC == ((const U8*)s)[1] ) && ( 0x87 == ((const U8*)s)[2] ) ) ? 3 : 0 )\
257 : ( 0x6A == ((const U8*)s)[0] ) ? \
258 ( ( ( 0xCC == ((const U8*)s)[1] ) && ( 0x8C == ((const U8*)s)[2] ) ) ? 3 : 0 )\
259 : ( 0x73 == ((const U8*)s)[0] ) ? \
e42cde6b 260 ( ( inRANGE(((const U8*)s)[1], 0x73, 0x74 ) ) ? 2 : 0 ) \
29f3ce8f
KW
261 : ( 0x74 == ((const U8*)s)[0] ) ? \
262 ( ( ( 0xCC == ((const U8*)s)[1] ) && ( 0x88 == ((const U8*)s)[2] ) ) ? 3 : 0 )\
263 : ( 0x77 == ((const U8*)s)[0] || 0x79 == ((const U8*)s)[0] ) ? \
264 ( ( ( 0xCC == ((const U8*)s)[1] ) && ( 0x8A == ((const U8*)s)[2] ) ) ? 3 : 0 )\
265 : ( 0xC5 == ((const U8*)s)[0] ) ? \
266 ( ( ( ( 0xBF == ((const U8*)s)[1] ) && ( 0xC5 == ((const U8*)s)[2] ) ) && ( 0xBF == ((const U8*)s)[3] ) ) ? 4 : 0 )\
267 : ( 0xCA == ((const U8*)s)[0] ) ? \
268 ( ( ( 0xBC == ((const U8*)s)[1] ) && ( 0x6E == ((const U8*)s)[2] ) ) ? 3 : 0 )\
269 : ( 0xCE == ((const U8*)s)[0] ) ? \
270 ( ( ( ((const U8*)s)[1] & 0xFD ) == 0xAC ) ? \
271 ( ( ( 0xCE == ((const U8*)s)[2] ) && ( 0xB9 == ((const U8*)s)[3] ) ) ? 4 : 0 )\
272 : ( 0xB1 == ((const U8*)s)[1] || 0xB7 == ((const U8*)s)[1] ) ? \
273 ( ( 0xCD == ((const U8*)s)[2] ) ? \
274 ( ( 0x82 == ((const U8*)s)[3] ) ? 4 : 0 ) \
275 : ( ( 0xCE == ((const U8*)s)[2] ) && ( 0xB9 == ((const U8*)s)[3] ) ) ? 4 : 0 )\
276 : ( ( ( 0xB9 == ((const U8*)s)[1] ) && ( 0xCD == ((const U8*)s)[2] ) ) && ( 0x82 == ((const U8*)s)[3] ) ) ? 4 : 0 )\
277 : ( 0xCF == ((const U8*)s)[0] ) ? \
278 ( ( 0x81 == ((const U8*)s)[1] ) ? \
279 ( ( ( 0xCC == ((const U8*)s)[2] ) && ( 0x93 == ((const U8*)s)[3] ) ) ? 4 : 0 )\
280 : ( 0x85 == ((const U8*)s)[1] ) ? \
281 ( ( 0xCC == ((const U8*)s)[2] ) ? \
282 ( ( 0x93 == ((const U8*)s)[3] ) ? 4 : 0 ) \
283 : ( ( 0xCD == ((const U8*)s)[2] ) && ( 0x82 == ((const U8*)s)[3] ) ) ? 4 : 0 )\
284 : ( 0x89 == ((const U8*)s)[1] ) ? \
285 ( ( 0xCD == ((const U8*)s)[2] ) ? \
286 ( ( 0x82 == ((const U8*)s)[3] ) ? 4 : 0 ) \
287 : ( ( 0xCE == ((const U8*)s)[2] ) && ( 0xB9 == ((const U8*)s)[3] ) ) ? 4 : 0 )\
288 : ( ( ( 0x8E == ((const U8*)s)[1] ) && ( 0xCE == ((const U8*)s)[2] ) ) && ( 0xB9 == ((const U8*)s)[3] ) ) ? 4 : 0 )\
289 : ( 0xD5 == ((const U8*)s)[0] ) ? \
290 ( ( 0xA5 == ((const U8*)s)[1] ) ? \
291 ( ( ( 0xD6 == ((const U8*)s)[2] ) && ( 0x82 == ((const U8*)s)[3] ) ) ? 4 : 0 )\
292 : ( 0xB4 == ((const U8*)s)[1] ) ? \
293 ( ( ( 0xD5 == ((const U8*)s)[2] ) && ( ( ( ((const U8*)s)[3] & 0xF7 ) == 0xA5 ) || ((const U8*)s)[3] == 0xAB || ((const U8*)s)[3] == 0xB6 ) ) ? 4 : 0 )\
294 : ( ( ( 0xBE == ((const U8*)s)[1] ) && ( 0xD5 == ((const U8*)s)[2] ) ) && ( 0xB6 == ((const U8*)s)[3] ) ) ? 4 : 0 )\
295 : ( 0xE1 == ((const U8*)s)[0] ) ? \
296 ( ( 0xBC == ((const U8*)s)[1] ) ? \
297 ( ( ( ( ( ((const U8*)s)[2] & 0xD8 ) == 0x80 ) && ( 0xCE == ((const U8*)s)[3] ) ) && ( 0xB9 == ((const U8*)s)[4] ) ) ? 5 : 0 )\
298 : ( ( ( ( 0xBD == ((const U8*)s)[1] ) && ( ( ( ((const U8*)s)[2] & 0xF8 ) == 0xA0 ) || ( ( ((const U8*)s)[2] & 0xFB ) == 0xB0 ) || ((const U8*)s)[2] == 0xBC ) ) && ( 0xCE == ((const U8*)s)[3] ) ) && ( 0xB9 == ((const U8*)s)[4] ) ) ? 5 : 0 )\
251b239f
KW
299 : 0 )
300
301
302/*** GENERATED CODE ***/
c7c8bf55
KW
303#define is_MULTI_CHAR_FOLD_utf8_safe_part1(s,e) \
304( ((e)-(s) > 3) ? \
29f3ce8f
KW
305 ( ( 0x61 == ((const U8*)s)[0] ) ? \
306 ( ( ( 0xCA == ((const U8*)s)[1] ) && ( 0xBE == ((const U8*)s)[2] ) ) ? 3 : 0 )\
307 : ( 0x66 == ((const U8*)s)[0] ) ? \
308 ( ( 0x66 == ((const U8*)s)[1] ) ? \
309 ( ( 0x69 == ((const U8*)s)[2] || 0x6C == ((const U8*)s)[2] ) ? 3 : 2 )\
310 : ( 0x69 == ((const U8*)s)[1] || 0x6C == ((const U8*)s)[1] ) ? 2 : 0 )\
311 : ( 0x68 == ((const U8*)s)[0] ) ? \
312 ( ( ( 0xCC == ((const U8*)s)[1] ) && ( 0xB1 == ((const U8*)s)[2] ) ) ? 3 : 0 )\
313 : ( 0x69 == ((const U8*)s)[0] ) ? \
314 ( ( ( 0xCC == ((const U8*)s)[1] ) && ( 0x87 == ((const U8*)s)[2] ) ) ? 3 : 0 )\
315 : ( 0x6A == ((const U8*)s)[0] ) ? \
316 ( ( ( 0xCC == ((const U8*)s)[1] ) && ( 0x8C == ((const U8*)s)[2] ) ) ? 3 : 0 )\
317 : ( 0x73 == ((const U8*)s)[0] ) ? \
e42cde6b 318 ( ( inRANGE(((const U8*)s)[1], 0x73, 0x74 ) ) ? 2 : 0 ) \
29f3ce8f
KW
319 : ( 0x74 == ((const U8*)s)[0] ) ? \
320 ( ( ( 0xCC == ((const U8*)s)[1] ) && ( 0x88 == ((const U8*)s)[2] ) ) ? 3 : 0 )\
321 : ( 0x77 == ((const U8*)s)[0] || 0x79 == ((const U8*)s)[0] ) ? \
322 ( ( ( 0xCC == ((const U8*)s)[1] ) && ( 0x8A == ((const U8*)s)[2] ) ) ? 3 : 0 )\
323 : ( 0xC5 == ((const U8*)s)[0] ) ? \
324 ( ( ( ( 0xBF == ((const U8*)s)[1] ) && ( 0xC5 == ((const U8*)s)[2] ) ) && ( 0xBF == ((const U8*)s)[3] ) ) ? 4 : 0 )\
325 : ( 0xCA == ((const U8*)s)[0] ) ? \
326 ( ( ( 0xBC == ((const U8*)s)[1] ) && ( 0x6E == ((const U8*)s)[2] ) ) ? 3 : 0 )\
327 : ( 0xCE == ((const U8*)s)[0] ) ? \
328 ( ( ( ((const U8*)s)[1] & 0xFD ) == 0xAC ) ? \
329 ( ( ( 0xCE == ((const U8*)s)[2] ) && ( 0xB9 == ((const U8*)s)[3] ) ) ? 4 : 0 )\
330 : ( 0xB1 == ((const U8*)s)[1] || 0xB7 == ((const U8*)s)[1] ) ? \
331 ( ( 0xCD == ((const U8*)s)[2] ) ? \
332 ( ( 0x82 == ((const U8*)s)[3] ) ? 4 : 0 ) \
333 : ( ( 0xCE == ((const U8*)s)[2] ) && ( 0xB9 == ((const U8*)s)[3] ) ) ? 4 : 0 )\
334 : ( ( ( 0xB9 == ((const U8*)s)[1] ) && ( 0xCD == ((const U8*)s)[2] ) ) && ( 0x82 == ((const U8*)s)[3] ) ) ? 4 : 0 )\
335 : ( 0xCF == ((const U8*)s)[0] ) ? \
336 ( ( 0x81 == ((const U8*)s)[1] ) ? \
337 ( ( ( 0xCC == ((const U8*)s)[2] ) && ( 0x93 == ((const U8*)s)[3] ) ) ? 4 : 0 )\
338 : ( 0x85 == ((const U8*)s)[1] ) ? \
339 ( ( 0xCC == ((const U8*)s)[2] ) ? \
340 ( ( 0x93 == ((const U8*)s)[3] ) ? 4 : 0 ) \
341 : ( ( 0xCD == ((const U8*)s)[2] ) && ( 0x82 == ((const U8*)s)[3] ) ) ? 4 : 0 )\
342 : ( 0x89 == ((const U8*)s)[1] ) ? \
343 ( ( 0xCD == ((const U8*)s)[2] ) ? \
344 ( ( 0x82 == ((const U8*)s)[3] ) ? 4 : 0 ) \
345 : ( ( 0xCE == ((const U8*)s)[2] ) && ( 0xB9 == ((const U8*)s)[3] ) ) ? 4 : 0 )\
346 : ( ( ( 0x8E == ((const U8*)s)[1] ) && ( 0xCE == ((const U8*)s)[2] ) ) && ( 0xB9 == ((const U8*)s)[3] ) ) ? 4 : 0 )\
347 : ( 0xD5 == ((const U8*)s)[0] ) ? \
348 ( ( 0xA5 == ((const U8*)s)[1] ) ? \
349 ( ( ( 0xD6 == ((const U8*)s)[2] ) && ( 0x82 == ((const U8*)s)[3] ) ) ? 4 : 0 )\
350 : ( 0xB4 == ((const U8*)s)[1] ) ? \
351 ( ( ( 0xD5 == ((const U8*)s)[2] ) && ( ( ( ((const U8*)s)[3] & 0xF7 ) == 0xA5 ) || ((const U8*)s)[3] == 0xAB || ((const U8*)s)[3] == 0xB6 ) ) ? 4 : 0 )\
352 : ( ( ( 0xBE == ((const U8*)s)[1] ) && ( 0xD5 == ((const U8*)s)[2] ) ) && ( 0xB6 == ((const U8*)s)[3] ) ) ? 4 : 0 )\
c7c8bf55
KW
353 : 0 ) \
354: ((e)-(s) > 2) ? \
29f3ce8f
KW
355 ( ( 0x61 == ((const U8*)s)[0] ) ? \
356 ( ( ( 0xCA == ((const U8*)s)[1] ) && ( 0xBE == ((const U8*)s)[2] ) ) ? 3 : 0 )\
357 : ( 0x66 == ((const U8*)s)[0] ) ? \
358 ( ( 0x66 == ((const U8*)s)[1] ) ? \
359 ( ( 0x69 == ((const U8*)s)[2] || 0x6C == ((const U8*)s)[2] ) ? 3 : 2 )\
360 : ( 0x69 == ((const U8*)s)[1] || 0x6C == ((const U8*)s)[1] ) ? 2 : 0 )\
361 : ( 0x68 == ((const U8*)s)[0] ) ? \
362 ( ( ( 0xCC == ((const U8*)s)[1] ) && ( 0xB1 == ((const U8*)s)[2] ) ) ? 3 : 0 )\
363 : ( 0x69 == ((const U8*)s)[0] ) ? \
364 ( ( ( 0xCC == ((const U8*)s)[1] ) && ( 0x87 == ((const U8*)s)[2] ) ) ? 3 : 0 )\
365 : ( 0x6A == ((const U8*)s)[0] ) ? \
366 ( ( ( 0xCC == ((const U8*)s)[1] ) && ( 0x8C == ((const U8*)s)[2] ) ) ? 3 : 0 )\
367 : ( 0x73 == ((const U8*)s)[0] ) ? \
e42cde6b 368 ( ( inRANGE(((const U8*)s)[1], 0x73, 0x74 ) ) ? 2 : 0 ) \
29f3ce8f
KW
369 : ( 0x74 == ((const U8*)s)[0] ) ? \
370 ( ( ( 0xCC == ((const U8*)s)[1] ) && ( 0x88 == ((const U8*)s)[2] ) ) ? 3 : 0 )\
371 : ( 0x77 == ((const U8*)s)[0] || 0x79 == ((const U8*)s)[0] ) ? \
372 ( ( ( 0xCC == ((const U8*)s)[1] ) && ( 0x8A == ((const U8*)s)[2] ) ) ? 3 : 0 )\
373 : ( ( ( 0xCA == ((const U8*)s)[0] ) && ( 0xBC == ((const U8*)s)[1] ) ) && ( 0x6E == ((const U8*)s)[2] ) ) ? 3 : 0 )\
251b239f 374: ((e)-(s) > 1) ? \
29f3ce8f
KW
375 ( ( 0x66 == ((const U8*)s)[0] ) ? \
376 ( ( 0x66 == ((const U8*)s)[1] || 0x69 == ((const U8*)s)[1] || 0x6C == ((const U8*)s)[1] ) ? 2 : 0 )\
e42cde6b 377 : ( ( 0x73 == ((const U8*)s)[0] ) && ( inRANGE(((const U8*)s)[1], 0x73, 0x74 ) ) ) ? 2 : 0 )\
c4c8e615
KW
378: 0 )
379
380
381/*** GENERATED CODE ***/
251b239f 382#define is_MULTI_CHAR_FOLD_utf8_safe(s,e) \
c7c8bf55 383( ((e)-(s) > 5) ? \
29f3ce8f
KW
384 ( ( 0x61 == ((const U8*)s)[0] ) ? \
385 ( ( ( 0xCA == ((const U8*)s)[1] ) && ( 0xBE == ((const U8*)s)[2] ) ) ? 3 : 0 )\
386 : ( 0x66 == ((const U8*)s)[0] ) ? \
387 ( ( 0x66 == ((const U8*)s)[1] ) ? \
388 ( ( 0x69 == ((const U8*)s)[2] || 0x6C == ((const U8*)s)[2] ) ? 3 : 2 )\
389 : ( 0x69 == ((const U8*)s)[1] || 0x6C == ((const U8*)s)[1] ) ? 2 : 0 )\
390 : ( 0x68 == ((const U8*)s)[0] ) ? \
391 ( ( ( 0xCC == ((const U8*)s)[1] ) && ( 0xB1 == ((const U8*)s)[2] ) ) ? 3 : 0 )\
392 : ( 0x69 == ((const U8*)s)[0] ) ? \
393 ( ( ( 0xCC == ((const U8*)s)[1] ) && ( 0x87 == ((const U8*)s)[2] ) ) ? 3 : 0 )\
394 : ( 0x6A == ((const U8*)s)[0] ) ? \
395 ( ( ( 0xCC == ((const U8*)s)[1] ) && ( 0x8C == ((const U8*)s)[2] ) ) ? 3 : 0 )\
396 : ( 0x73 == ((const U8*)s)[0] ) ? \
e42cde6b 397 ( ( inRANGE(((const U8*)s)[1], 0x73, 0x74 ) ) ? 2 : 0 ) \
29f3ce8f
KW
398 : ( 0x74 == ((const U8*)s)[0] ) ? \
399 ( ( ( 0xCC == ((const U8*)s)[1] ) && ( 0x88 == ((const U8*)s)[2] ) ) ? 3 : 0 )\
400 : ( 0x77 == ((const U8*)s)[0] || 0x79 == ((const U8*)s)[0] ) ? \
401 ( ( ( 0xCC == ((const U8*)s)[1] ) && ( 0x8A == ((const U8*)s)[2] ) ) ? 3 : 0 )\
402 : ( 0xC5 == ((const U8*)s)[0] ) ? \
403 ( ( ( ( 0xBF == ((const U8*)s)[1] ) && ( 0xC5 == ((const U8*)s)[2] ) ) && ( 0xBF == ((const U8*)s)[3] ) ) ? 4 : 0 )\
404 : ( 0xCA == ((const U8*)s)[0] ) ? \
405 ( ( ( 0xBC == ((const U8*)s)[1] ) && ( 0x6E == ((const U8*)s)[2] ) ) ? 3 : 0 )\
406 : ( 0xCE == ((const U8*)s)[0] ) ? \
407 ( ( ( ((const U8*)s)[1] & 0xFD ) == 0xAC ) ? \
408 ( ( ( 0xCE == ((const U8*)s)[2] ) && ( 0xB9 == ((const U8*)s)[3] ) ) ? 4 : 0 )\
409 : ( 0xB1 == ((const U8*)s)[1] || 0xB7 == ((const U8*)s)[1] ) ? \
410 ( ( 0xCD == ((const U8*)s)[2] ) ? \
411 ( ( 0x82 == ((const U8*)s)[3] ) ? \
412 ( ( ( 0xCE == ((const U8*)s)[4] ) && ( 0xB9 == ((const U8*)s)[5] ) ) ? 6 : 4 )\
c7c8bf55 413 : 0 ) \
29f3ce8f
KW
414 : ( ( 0xCE == ((const U8*)s)[2] ) && ( 0xB9 == ((const U8*)s)[3] ) ) ? 4 : 0 )\
415 : ( 0xB9 == ((const U8*)s)[1] ) ? \
416 ( ( 0xCC == ((const U8*)s)[2] ) ? \
417 ( ( 0x88 == ((const U8*)s)[3] ) ? \
418 ( ( 0xCC == ((const U8*)s)[4] ) ? \
e42cde6b 419 ( ( inRANGE(((const U8*)s)[5], 0x80, 0x81 ) ) ? 6 : 0 )\
29f3ce8f 420 : ( ( 0xCD == ((const U8*)s)[4] ) && ( 0x82 == ((const U8*)s)[5] ) ) ? 6 : 0 )\
c7c8bf55 421 : 0 ) \
29f3ce8f 422 : ( ( 0xCD == ((const U8*)s)[2] ) && ( 0x82 == ((const U8*)s)[3] ) ) ? 4 : 0 )\
c7c8bf55 423 : 0 ) \
29f3ce8f
KW
424 : ( 0xCF == ((const U8*)s)[0] ) ? \
425 ( ( 0x81 == ((const U8*)s)[1] ) ? \
426 ( ( ( 0xCC == ((const U8*)s)[2] ) && ( 0x93 == ((const U8*)s)[3] ) ) ? 4 : 0 )\
427 : ( 0x85 == ((const U8*)s)[1] ) ? \
428 ( ( 0xCC == ((const U8*)s)[2] ) ? \
429 ( ( 0x88 == ((const U8*)s)[3] ) ? \
430 ( ( 0xCC == ((const U8*)s)[4] ) ? \
e42cde6b 431 ( ( inRANGE(((const U8*)s)[5], 0x80, 0x81 ) ) ? 6 : 0 )\
29f3ce8f
KW
432 : ( ( 0xCD == ((const U8*)s)[4] ) && ( 0x82 == ((const U8*)s)[5] ) ) ? 6 : 0 )\
433 : ( 0x93 == ((const U8*)s)[3] ) ? \
434 ( ( 0xCC == ((const U8*)s)[4] ) ? \
e42cde6b 435 ( ( inRANGE(((const U8*)s)[5], 0x80, 0x81 ) ) ? 6 : 4 )\
29f3ce8f 436 : ( ( 0xCD == ((const U8*)s)[4] ) && ( 0x82 == ((const U8*)s)[5] ) ) ? 6 : 4 )\
c7c8bf55 437 : 0 ) \
29f3ce8f
KW
438 : ( ( 0xCD == ((const U8*)s)[2] ) && ( 0x82 == ((const U8*)s)[3] ) ) ? 4 : 0 )\
439 : ( 0x89 == ((const U8*)s)[1] ) ? \
440 ( ( 0xCD == ((const U8*)s)[2] ) ? \
441 ( ( 0x82 == ((const U8*)s)[3] ) ? \
442 ( ( ( 0xCE == ((const U8*)s)[4] ) && ( 0xB9 == ((const U8*)s)[5] ) ) ? 6 : 4 )\
c7c8bf55 443 : 0 ) \
29f3ce8f
KW
444 : ( ( 0xCE == ((const U8*)s)[2] ) && ( 0xB9 == ((const U8*)s)[3] ) ) ? 4 : 0 )\
445 : ( ( ( 0x8E == ((const U8*)s)[1] ) && ( 0xCE == ((const U8*)s)[2] ) ) && ( 0xB9 == ((const U8*)s)[3] ) ) ? 4 : 0 )\
446 : ( 0xD5 == ((const U8*)s)[0] ) ? \
447 ( ( 0xA5 == ((const U8*)s)[1] ) ? \
448 ( ( ( 0xD6 == ((const U8*)s)[2] ) && ( 0x82 == ((const U8*)s)[3] ) ) ? 4 : 0 )\
449 : ( 0xB4 == ((const U8*)s)[1] ) ? \
450 ( ( ( 0xD5 == ((const U8*)s)[2] ) && ( ( ( ((const U8*)s)[3] & 0xF7 ) == 0xA5 ) || ((const U8*)s)[3] == 0xAB || ((const U8*)s)[3] == 0xB6 ) ) ? 4 : 0 )\
451 : ( ( ( 0xBE == ((const U8*)s)[1] ) && ( 0xD5 == ((const U8*)s)[2] ) ) && ( 0xB6 == ((const U8*)s)[3] ) ) ? 4 : 0 )\
452 : ( 0xE1 == ((const U8*)s)[0] ) ? \
453 ( ( 0xBC == ((const U8*)s)[1] ) ? \
454 ( ( ( ( ( ((const U8*)s)[2] & 0xD8 ) == 0x80 ) && ( 0xCE == ((const U8*)s)[3] ) ) && ( 0xB9 == ((const U8*)s)[4] ) ) ? 5 : 0 )\
455 : ( ( ( ( 0xBD == ((const U8*)s)[1] ) && ( ( ( ((const U8*)s)[2] & 0xF8 ) == 0xA0 ) || ( ( ((const U8*)s)[2] & 0xFB ) == 0xB0 ) || ((const U8*)s)[2] == 0xBC ) ) && ( 0xCE == ((const U8*)s)[3] ) ) && ( 0xB9 == ((const U8*)s)[4] ) ) ? 5 : 0 )\
c7c8bf55
KW
456 : 0 ) \
457: ((e)-(s) > 4) ? is_MULTI_CHAR_FOLD_utf8_safe_part0(s,e) : is_MULTI_CHAR_FOLD_utf8_safe_part1(s,e) )
8769f413
KW
458
459/*
40b1ba4f 460 MULTI_CHAR_FOLD: multi-char strings that are folded to by a single character
8769f413
KW
461
462 &regcharclass_multi_char_folds::multi_char_folds(0)
463*/
464/*** GENERATED CODE ***/
251b239f
KW
465#define is_MULTI_CHAR_FOLD_latin1_safe(s,e) \
466( ((e)-(s) > 2) ? \
29f3ce8f
KW
467 ( ( ( ((const U8*)s)[0] & 0xDF ) == 0x46 ) ? \
468 ( ( ( ((const U8*)s)[1] & 0xDF ) == 0x46 ) ? \
469 ( ( ( ( ((const U8*)s)[2] & 0xDF ) == 0x49 ) || ( ( ((const U8*)s)[2] & 0xDF ) == 0x4C ) ) ? 3 : 2 )\
470 : ( ( ( ((const U8*)s)[1] & 0xDF ) == 0x49 ) || ( ( ((const U8*)s)[1] & 0xDF ) == 0x4C ) ) ? 2 : 0 )\
e42cde6b 471 : ( ( ( ((const U8*)s)[0] & 0xDF ) == 0x53 ) && ( inRANGE(((const U8*)s)[1], 0x53, 0x54 ) || inRANGE(((const U8*)s)[1], 0x73, 0x74 ) ) ) ? 2 : 0 )\
251b239f 472: ((e)-(s) > 1) ? \
29f3ce8f
KW
473 ( ( ( ((const U8*)s)[0] & 0xDF ) == 0x46 ) ? \
474 ( ( ( ( ((const U8*)s)[1] & 0xDF ) == 0x46 ) || ( ( ((const U8*)s)[1] & 0xDF ) == 0x49 ) || ( ( ((const U8*)s)[1] & 0xDF ) == 0x4C ) ) ? 2 : 0 )\
e42cde6b 475 : ( ( ( ((const U8*)s)[0] & 0xDF ) == 0x53 ) && ( inRANGE(((const U8*)s)[1], 0x53, 0x54 ) || inRANGE(((const U8*)s)[1], 0x73, 0x74 ) ) ) ? 2 : 0 )\
251b239f 476: 0 )
8769f413 477
0b50d62a 478/*
1a27eb96
KW
479 FOLDS_TO_MULTI: characters that fold to multi-char strings
480
481 \p{_Perl_Folds_To_Multi_Char}
482*/
483/*** GENERATED CODE ***/
484#define is_FOLDS_TO_MULTI_utf8(s) \
29f3ce8f
KW
485( ( 0xC3 == ((const U8*)s)[0] ) ? \
486 ( ( 0x9F == ((const U8*)s)[1] ) ? 2 : 0 ) \
487: ( 0xC4 == ((const U8*)s)[0] || 0xC7 == ((const U8*)s)[0] ) ? \
488 ( ( 0xB0 == ((const U8*)s)[1] ) ? 2 : 0 ) \
489: ( 0xC5 == ((const U8*)s)[0] ) ? \
490 ( ( 0x89 == ((const U8*)s)[1] ) ? 2 : 0 ) \
491: ( 0xCE == ((const U8*)s)[0] ) ? \
492 ( ( ( ((const U8*)s)[1] & 0xDF ) == 0x90 ) ? 2 : 0 ) \
493: ( 0xD6 == ((const U8*)s)[0] ) ? \
494 ( ( 0x87 == ((const U8*)s)[1] ) ? 2 : 0 ) \
495: ( 0xE1 == ((const U8*)s)[0] ) ? \
496 ( ( 0xBA == ((const U8*)s)[1] ) ? \
e42cde6b 497 ( ( inRANGE(((const U8*)s)[2], 0x96, 0x9A ) || 0x9E == ((const U8*)s)[2] ) ? 3 : 0 )\
29f3ce8f
KW
498 : ( 0xBD == ((const U8*)s)[1] ) ? \
499 ( ( ( ((const U8*)s)[2] & 0xF9 ) == 0x90 ) ? 3 : 0 ) \
500 : ( 0xBE == ((const U8*)s)[1] ) ? \
e42cde6b 501 ( ( inRANGE(((const U8*)s)[2], 0x80, 0xAF ) || inRANGE(((const U8*)s)[2], 0xB2, 0xB4 ) || inRANGE(((const U8*)s)[2], 0xB6, 0xB7 ) || 0xBC == ((const U8*)s)[2] ) ? 3 : 0 )\
29f3ce8f 502 : ( ( 0xBF == ((const U8*)s)[1] ) && ( ( ( ((const U8*)s)[2] & 0xCA ) == 0x82 ) || ( ( ((const U8*)s)[2] & 0xF7 ) == 0x84 ) || ((const U8*)s)[2] == 0xA4 || ( ( ((const U8*)s)[2] & 0xF7 ) == 0xB4 ) ) ) ? 3 : 0 )\
e42cde6b 503: ( ( ( 0xEF == ((const U8*)s)[0] ) && ( 0xAC == ((const U8*)s)[1] ) ) && ( inRANGE(((const U8*)s)[2], 0x80, 0x86 ) || inRANGE(((const U8*)s)[2], 0x93, 0x97 ) ) ) ? 3 : 0 )
1a27eb96
KW
504
505/*
31f05a37
KW
506 PROBLEMATIC_LOCALE_FOLD: characters whose fold is problematic under locale
507
508 \p{_Perl_Problematic_Locale_Folds}
509*/
510/*** GENERATED CODE ***/
511#define is_PROBLEMATIC_LOCALE_FOLD_utf8(s) \
29f3ce8f 512( ( ((const U8*)s)[0] <= 0x7F ) ? 1 \
e42cde6b 513: ( inRANGE(((const U8*)s)[0], 0xC2, 0xC3 ) ) ? \
31f05a37 514 2 \
e061e593 515: ( 0xC4 == ((const U8*)s)[0] ) ? \
e42cde6b 516 ( ( inRANGE(((const U8*)s)[1], 0xB0, 0xB1 ) ) ? 2 : 0 ) \
29f3ce8f
KW
517: ( 0xC5 == ((const U8*)s)[0] ) ? \
518 ( ( 0x89 == ((const U8*)s)[1] || 0xB8 == ((const U8*)s)[1] || 0xBF == ((const U8*)s)[1] ) ? 2 : 0 )\
e061e593
KW
519: ( 0xC7 == ((const U8*)s)[0] ) ? \
520 ( ( 0xB0 == ((const U8*)s)[1] ) ? 2 : 0 ) \
521: ( 0xCC == ((const U8*)s)[0] ) ? \
522 ( ( 0x87 == ((const U8*)s)[1] ) ? 2 : 0 ) \
29f3ce8f
KW
523: ( 0xCE == ((const U8*)s)[0] ) ? \
524 ( ( ( ((const U8*)s)[1] & 0xDF ) == 0x9C ) ? 2 : 0 ) \
525: ( 0xE1 == ((const U8*)s)[0] ) ? \
e42cde6b 526 ( ( ( 0xBA == ((const U8*)s)[1] ) && ( inRANGE(((const U8*)s)[2], 0x96, 0x9A ) || 0x9E == ((const U8*)s)[2] ) ) ? 3 : 0 )\
29f3ce8f 527: ( 0xE2 == ((const U8*)s)[0] ) ? \
e42cde6b
KW
528 ( ( ( 0x84 == ((const U8*)s)[1] ) && ( inRANGE(((const U8*)s)[2], 0xAA, 0xAB ) ) ) ? 3 : 0 )\
529: ( ( ( 0xEF == ((const U8*)s)[0] ) && ( 0xAC == ((const U8*)s)[1] ) ) && ( inRANGE(((const U8*)s)[2], 0x80, 0x86 ) ) ) ? 3 : 0 )
31f05a37
KW
530
531/*** GENERATED CODE ***/
532#define is_PROBLEMATIC_LOCALE_FOLD_cp(cp) \
c7c8bf55
KW
533( cp <= 0xFF || ( 0xFF < cp && \
534( 0x130 == cp || ( 0x130 < cp && \
e061e593 535( 0x131 == cp || ( 0x131 < cp && \
c7c8bf55
KW
536( 0x149 == cp || ( 0x149 < cp && \
537( 0x178 == cp || ( 0x178 < cp && \
538( 0x17F == cp || ( 0x17F < cp && \
539( 0x1F0 == cp || ( 0x1F0 < cp && \
e061e593 540( 0x307 == cp || ( 0x307 < cp && \
c7c8bf55
KW
541( 0x39C == cp || ( 0x39C < cp && \
542( 0x3BC == cp || ( 0x3BC < cp && \
e42cde6b 543( inRANGE(cp, 0x1E96, 0x1E9A) || ( 0x1E9A < cp && \
c7c8bf55
KW
544( 0x1E9E == cp || ( 0x1E9E < cp && \
545( 0x212A == cp || ( 0x212A < cp && \
e42cde6b 546( 0x212B == cp || inRANGE(cp, 0xFB00, 0xFB06) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) )
31f05a37
KW
547
548/*
549 PROBLEMATIC_LOCALE_FOLDEDS_START: The first folded character of folds which are problematic under locale
550
551 \p{_Perl_Problematic_Locale_Foldeds_Start}
552*/
553/*** GENERATED CODE ***/
554#define is_PROBLEMATIC_LOCALE_FOLDEDS_START_utf8(s) \
29f3ce8f 555( ( ((const U8*)s)[0] <= 0x7F ) ? 1 \
e42cde6b 556: ( inRANGE(((const U8*)s)[0], 0xC2, 0xC3 ) ) ? \
31f05a37 557 2 \
e061e593 558: ( 0xC4 == ((const U8*)s)[0] ) ? \
e42cde6b 559 ( ( inRANGE(((const U8*)s)[1], 0xB0, 0xB1 ) ) ? 2 : 0 ) \
29f3ce8f
KW
560: ( 0xC5 == ((const U8*)s)[0] ) ? \
561 ( ( 0x89 == ((const U8*)s)[1] || 0xB8 == ((const U8*)s)[1] || 0xBF == ((const U8*)s)[1] ) ? 2 : 0 )\
e061e593
KW
562: ( 0xC7 == ((const U8*)s)[0] ) ? \
563 ( ( 0xB0 == ((const U8*)s)[1] ) ? 2 : 0 ) \
29f3ce8f
KW
564: ( 0xCA == ((const U8*)s)[0] ) ? \
565 ( ( 0xBC == ((const U8*)s)[1] ) ? 2 : 0 ) \
566: ( 0xCE == ((const U8*)s)[0] ) ? \
567 ( ( ( ((const U8*)s)[1] & 0xDF ) == 0x9C ) ? 2 : 0 ) \
568: ( 0xE1 == ((const U8*)s)[0] ) ? \
e42cde6b 569 ( ( ( 0xBA == ((const U8*)s)[1] ) && ( inRANGE(((const U8*)s)[2], 0x96, 0x9A ) || 0x9E == ((const U8*)s)[2] ) ) ? 3 : 0 )\
29f3ce8f 570: ( 0xE2 == ((const U8*)s)[0] ) ? \
e42cde6b
KW
571 ( ( ( 0x84 == ((const U8*)s)[1] ) && ( inRANGE(((const U8*)s)[2], 0xAA, 0xAB ) ) ) ? 3 : 0 )\
572: ( ( ( 0xEF == ((const U8*)s)[0] ) && ( 0xAC == ((const U8*)s)[1] ) ) && ( inRANGE(((const U8*)s)[2], 0x80, 0x86 ) ) ) ? 3 : 0 )
31f05a37
KW
573
574/*** GENERATED CODE ***/
575#define is_PROBLEMATIC_LOCALE_FOLDEDS_START_cp(cp) \
c7c8bf55
KW
576( cp <= 0xFF || ( 0xFF < cp && \
577( 0x130 == cp || ( 0x130 < cp && \
e061e593 578( 0x131 == cp || ( 0x131 < cp && \
c7c8bf55
KW
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 && \
e42cde6b 586( inRANGE(cp, 0x1E96, 0x1E9A) || ( 0x1E9A < cp && \
c7c8bf55
KW
587( 0x1E9E == cp || ( 0x1E9E < cp && \
588( 0x212A == cp || ( 0x212A < cp && \
e42cde6b 589( 0x212B == cp || inRANGE(cp, 0xFB00, 0xFB06) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) )
31f05a37
KW
590
591/*
0b50d62a
KW
592 PATWS: pattern white space
593
099323b4 594 \p{_Perl_PatWS}
0b50d62a
KW
595*/
596/*** GENERATED CODE ***/
0b50d62a 597#define is_PATWS_safe(s,e,is_utf8) \
dd9bc2b0 598( ( LIKELY((e) > (s)) ) ? \
e42cde6b 599 ( ( inRANGE(((const U8*)s)[0], 0x09, 0x0D ) || 0x20 == ((const U8*)s)[0] ) ? 1\
5ab0c3af 600 : (! is_utf8 ) ? \
29f3ce8f 601 ( 0x85 == ((const U8*)s)[0] ) \
dd9bc2b0 602 : ( LIKELY(((e) - (s)) >= UTF8SKIP(s)) ) ? \
29f3ce8f
KW
603 ( ( 0xC2 == ((const U8*)s)[0] ) ? \
604 ( ( 0x85 == ((const U8*)s)[1] ) ? 2 : 0 ) \
e42cde6b 605 : ( ( ( 0xE2 == ((const U8*)s)[0] ) && ( 0x80 == ((const U8*)s)[1] ) ) && ( inRANGE(((const U8*)s)[2], 0x8E, 0x8F ) || inRANGE(((const U8*)s)[2], 0xA8, 0xA9 ) ) ) ? 3 : 0 )\
5ab0c3af 606 : 0 ) \
0b50d62a
KW
607: 0 )
608
609/*** GENERATED CODE ***/
610#define is_PATWS_cp(cp) \
e42cde6b 611( inRANGE(cp, 0x09, 0x0D) || ( 0x0D < cp && \
c7c8bf55
KW
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
6c12993c
KW
618/*
619 HANGUL_ED: Hangul syllables whose first character is \xED
620
621 0xD000 - 0xD7FF
622*/
623/*** GENERATED CODE ***/
624#define is_HANGUL_ED_utf8_safe(s,e) \
e42cde6b 625( ( ( ( ( ((e) - (s)) >= 3 ) && ( 0xED == ((const U8*)s)[0] ) ) && ( inRANGE(((const U8*)s)[1], 0x80, 0x9F ) ) ) && ( inRANGE(((const U8*)s)[2], 0x80, 0xBF ) ) ) ? 3 : 0 )
6c12993c 626
a1b2a50f
KW
627#endif /* ASCII/Latin1 */
628
629#if 'A' == 193 /* EBCDIC 1047 */ \
630 && '\\' == 224 && '[' == 173 && ']' == 189 && '{' == 192 && '}' == 208 \
631 && '^' == 95 && '~' == 161 && '!' == 90 && '#' == 123 && '|' == 79 \
c11f6329 632 && '$' == 91 && '@' == 124 && '`' == 121 && '\n' == 21
a1b2a50f
KW
633/*
634 LNBREAK: Line Break: \R
635
636 "\x0D\x0A" # CRLF - Network (Windows) line ending
637 \p{VertSpace}
638*/
639/*** GENERATED CODE ***/
640#define is_LNBREAK_safe(s,e,is_utf8) \
641( ((e)-(s) > 2) ? \
e42cde6b 642 ( ( inRANGE(((const U8*)s)[0], 0x0B, 0x0C ) || 0x15 == ((const U8*)s)[0] || 0x25 == ((const U8*)s)[0] ) ? 1\
29f3ce8f
KW
643 : ( 0x0D == ((const U8*)s)[0] ) ? \
644 ( ( 0x15 == ((const U8*)s)[1] ) ? 2 : 1 ) \
e42cde6b 645 : ( ( ( ( is_utf8 ) && ( 0xCA == ((const U8*)s)[0] ) ) && ( 0x42 == ((const U8*)s)[1] ) ) && ( inRANGE(((const U8*)s)[2], 0x49, 0x4A ) ) ) ? 3 : 0 )\
a1b2a50f 646: ((e)-(s) > 1) ? \
e42cde6b 647 ( ( inRANGE(((const U8*)s)[0], 0x0B, 0x0C ) || 0x15 == ((const U8*)s)[0] || 0x25 == ((const U8*)s)[0] ) ? 1\
29f3ce8f
KW
648 : ( 0x0D == ((const U8*)s)[0] ) ? \
649 ( ( 0x15 == ((const U8*)s)[1] ) ? 2 : 1 ) \
a1b2a50f
KW
650 : 0 ) \
651: ((e)-(s) > 0) ? \
e42cde6b 652 ( inRANGE(((const U8*)s)[0], 0x0B, 0x0D ) || 0x15 == ((const U8*)s)[0] || 0x25 == ((const U8*)s)[0] )\
a1b2a50f
KW
653: 0 )
654
655/*** GENERATED CODE ***/
656#define is_LNBREAK_utf8_safe(s,e) \
657( ((e)-(s) > 2) ? \
e42cde6b 658 ( ( inRANGE(((const U8*)s)[0], 0x0B, 0x0C ) || 0x15 == ((const U8*)s)[0] || 0x25 == ((const U8*)s)[0] ) ? 1\
29f3ce8f
KW
659 : ( 0x0D == ((const U8*)s)[0] ) ? \
660 ( ( 0x15 == ((const U8*)s)[1] ) ? 2 : 1 ) \
e42cde6b 661 : ( ( ( 0xCA == ((const U8*)s)[0] ) && ( 0x42 == ((const U8*)s)[1] ) ) && ( inRANGE(((const U8*)s)[2], 0x49, 0x4A ) ) ) ? 3 : 0 )\
a1b2a50f 662: ((e)-(s) > 1) ? \
e42cde6b 663 ( ( inRANGE(((const U8*)s)[0], 0x0B, 0x0C ) || 0x15 == ((const U8*)s)[0] || 0x25 == ((const U8*)s)[0] ) ? 1\
29f3ce8f
KW
664 : ( 0x0D == ((const U8*)s)[0] ) ? \
665 ( ( 0x15 == ((const U8*)s)[1] ) ? 2 : 1 ) \
a1b2a50f
KW
666 : 0 ) \
667: ((e)-(s) > 0) ? \
e42cde6b 668 ( inRANGE(((const U8*)s)[0], 0x0B, 0x0D ) || 0x15 == ((const U8*)s)[0] || 0x25 == ((const U8*)s)[0] )\
a1b2a50f
KW
669: 0 )
670
671/*** GENERATED CODE ***/
672#define is_LNBREAK_latin1_safe(s,e) \
673( ((e)-(s) > 1) ? \
e42cde6b 674 ( ( inRANGE(((const U8*)s)[0], 0x0B, 0x0C ) || 0x15 == ((const U8*)s)[0] || 0x25 == ((const U8*)s)[0] ) ? 1\
29f3ce8f
KW
675 : ( 0x0D == ((const U8*)s)[0] ) ? \
676 ( ( 0x15 == ((const U8*)s)[1] ) ? 2 : 1 ) \
a1b2a50f
KW
677 : 0 ) \
678: ((e)-(s) > 0) ? \
e42cde6b 679 ( inRANGE(((const U8*)s)[0], 0x0B, 0x0D ) || 0x15 == ((const U8*)s)[0] || 0x25 == ((const U8*)s)[0] )\
a1b2a50f
KW
680: 0 )
681
682/*
683 HORIZWS: Horizontal Whitespace: \h \H
684
685 \p{HorizSpace}
686*/
687/*** GENERATED CODE ***/
688#define is_HORIZWS_high(s) \
29f3ce8f
KW
689( ( 0xBC == ((const U8*)s)[0] ) ? \
690 ( ( ( 0x63 == ((const U8*)s)[1] ) && ( 0x41 == ((const U8*)s)[2] ) ) ? 3 : 0 )\
691: ( 0xCA == ((const U8*)s)[0] ) ? \
692 ( ( 0x41 == ((const U8*)s)[1] ) ? \
e42cde6b 693 ( ( inRANGE(((const U8*)s)[2], 0x41, 0x4A ) || 0x51 == ((const U8*)s)[2] ) ? 3 : 0 )\
29f3ce8f
KW
694 : ( 0x42 == ((const U8*)s)[1] ) ? \
695 ( ( 0x56 == ((const U8*)s)[2] ) ? 3 : 0 ) \
696 : ( ( 0x43 == ((const U8*)s)[1] ) && ( 0x73 == ((const U8*)s)[2] ) ) ? 3 : 0 )\
697: ( ( ( 0xCE == ((const U8*)s)[0] ) && ( 0x41 == ((const U8*)s)[1] ) ) && ( 0x41 == ((const U8*)s)[2] ) ) ? 3 : 0 )
a1b2a50f
KW
698
699/*** GENERATED CODE ***/
700#define is_HORIZWS_cp_high(cp) \
701( 0x1680 == cp || ( 0x1680 < cp && \
e42cde6b 702( inRANGE(cp, 0x2000, 0x200A) || ( 0x200A < cp && \
a1b2a50f
KW
703( 0x202F == cp || ( 0x202F < cp && \
704( 0x205F == cp || 0x3000 == cp ) ) ) ) ) ) )
705
706/*
707 VERTWS: Vertical Whitespace: \v \V
708
709 \p{VertSpace}
710*/
711/*** GENERATED CODE ***/
712#define is_VERTWS_high(s) \
e42cde6b 713( ( ( ( 0xCA == ((const U8*)s)[0] ) && ( 0x42 == ((const U8*)s)[1] ) ) && ( inRANGE(((const U8*)s)[2], 0x49, 0x4A ) ) ) ? 3 : 0 )
a1b2a50f
KW
714
715/*** GENERATED CODE ***/
716#define is_VERTWS_cp_high(cp) \
717( 0x2028 == cp || 0x2029 == cp )
718
719/*
720 XDIGIT: Hexadecimal digits
721
722 \p{XDigit}
723*/
724/*** GENERATED CODE ***/
725#define is_XDIGIT_high(s) \
29f3ce8f 726( ( ( 0xDD == ((const U8*)s)[0] ) && ( 0x73 == ((const U8*)s)[1] ) ) ? ( ( 0x67 == ((const U8*)s)[2] ) ?\
e42cde6b
KW
727 ( ( inRANGE(((const U8*)s)[3], 0x57, 0x59 ) || inRANGE(((const U8*)s)[3], 0x62, 0x68 ) ) ? 4 : 0 )\
728 : ( ( inRANGE(((const U8*)s)[2], 0x68, 0x69 ) ) && ( inRANGE(((const U8*)s)[3], 0x42, 0x47 ) ) ) ? 4 : 0 ) : 0 )
a1b2a50f
KW
729
730/*** GENERATED CODE ***/
731#define is_XDIGIT_cp_high(cp) \
e42cde6b
KW
732( inRANGE(cp, 0xFF10, 0xFF19) || ( 0xFF19 < cp && \
733( inRANGE(cp, 0xFF21, 0xFF26) || inRANGE(cp, 0xFF41, 0xFF46) ) ) )
a1b2a50f
KW
734
735/*
736 XPERLSPACE: \p{XPerlSpace}
737
738 \p{XPerlSpace}
739*/
740/*** GENERATED CODE ***/
741#define is_XPERLSPACE_high(s) \
29f3ce8f
KW
742( ( 0xBC == ((const U8*)s)[0] ) ? \
743 ( ( ( 0x63 == ((const U8*)s)[1] ) && ( 0x41 == ((const U8*)s)[2] ) ) ? 3 : 0 )\
744: ( 0xCA == ((const U8*)s)[0] ) ? \
745 ( ( 0x41 == ((const U8*)s)[1] ) ? \
e42cde6b 746 ( ( inRANGE(((const U8*)s)[2], 0x41, 0x4A ) || 0x51 == ((const U8*)s)[2] ) ? 3 : 0 )\
29f3ce8f 747 : ( 0x42 == ((const U8*)s)[1] ) ? \
e42cde6b 748 ( ( inRANGE(((const U8*)s)[2], 0x49, 0x4A ) || 0x56 == ((const U8*)s)[2] ) ? 3 : 0 )\
29f3ce8f
KW
749 : ( ( 0x43 == ((const U8*)s)[1] ) && ( 0x73 == ((const U8*)s)[2] ) ) ? 3 : 0 )\
750: ( ( ( 0xCE == ((const U8*)s)[0] ) && ( 0x41 == ((const U8*)s)[1] ) ) && ( 0x41 == ((const U8*)s)[2] ) ) ? 3 : 0 )
a1b2a50f
KW
751
752/*** GENERATED CODE ***/
753#define is_XPERLSPACE_cp_high(cp) \
754( 0x1680 == cp || ( 0x1680 < cp && \
e42cde6b 755( inRANGE(cp, 0x2000, 0x200A) || ( 0x200A < cp && \
a1b2a50f
KW
756( 0x2028 == cp || ( 0x2028 < cp && \
757( 0x2029 == cp || ( 0x2029 < cp && \
758( 0x202F == cp || ( 0x202F < cp && \
759( 0x205F == cp || 0x3000 == cp ) ) ) ) ) ) ) ) ) ) )
760
761/*
a1b2a50f
KW
762 NONCHAR: Non character code points
763
099323b4 764 \p{_Perl_Nchar}
a1b2a50f
KW
765*/
766/*** GENERATED CODE ***/
89d986df 767#define is_NONCHAR_utf8_safe(s,e) \
29f3ce8f
KW
768( ( ( LIKELY((e) > (s)) ) && ( LIKELY(((e) - (s)) >= UTF8SKIP(s)) ) ) ? ( ( 0xDD == ((const U8*)s)[0] ) ?\
769 ( ( 0x73 == ((const U8*)s)[1] ) ? \
770 ( ( 0x55 == ((const U8*)s)[2] ) ? \
e42cde6b 771 ( ( inRANGE(((const U8*)s)[3], 0x57, 0x59 ) || inRANGE(((const U8*)s)[3], 0x62, 0x6A ) || inRANGE(((const U8*)s)[3], 0x70, 0x73 ) ) ? 4 : 0 )\
29f3ce8f 772 : ( 0x56 == ((const U8*)s)[2] ) ? \
e42cde6b
KW
773 ( ( inRANGE(((const U8*)s)[3], 0x41, 0x4A ) || inRANGE(((const U8*)s)[3], 0x51, 0x56 ) ) ? 4 : 0 )\
774 : ( ( 0x73 == ((const U8*)s)[2] ) && ( inRANGE(((const U8*)s)[3], 0x72, 0x73 ) ) ) ? 4 : 0 )\
89d986df 775 : 0 ) \
29f3ce8f 776 : ( 0xDF == ((const U8*)s)[0] || 0xEA == ((const U8*)s)[0] || 0xEC == ((const U8*)s)[0] ) ?\
e42cde6b 777 ( ( ( ( 0x73 == ((const U8*)s)[1] ) && ( 0x73 == ((const U8*)s)[2] ) ) && ( inRANGE(((const U8*)s)[3], 0x72, 0x73 ) ) ) ? 4 : 0 )\
29f3ce8f 778 : ( 0xED == ((const U8*)s)[0] ) ? \
e42cde6b
KW
779 ( ( ( ( ( ((const U8*)s)[1] == 0x4A || ((const U8*)s)[1] == 0x52 || ( ( ((const U8*)s)[1] & 0xFD ) == 0x54 ) || ((const U8*)s)[1] == 0x58 || ((const U8*)s)[1] == 0x62 || ( ( ((const U8*)s)[1] & 0xFD ) == 0x64 ) || ( ( ((const U8*)s)[1] & 0xFD ) == 0x68 ) || ( ( ((const U8*)s)[1] & 0xFD ) == 0x71 ) ) && ( 0x73 == ((const U8*)s)[2] ) ) && ( 0x73 == ((const U8*)s)[3] ) ) && ( inRANGE(((const U8*)s)[4], 0x72, 0x73 ) ) ) ? 5 : 0 )\
780 : ( ( ( ( ( 0xEE == ((const U8*)s)[0] ) && ( 0x42 == ((const U8*)s)[1] ) ) && ( 0x73 == ((const U8*)s)[2] ) ) && ( 0x73 == ((const U8*)s)[3] ) ) && ( inRANGE(((const U8*)s)[4], 0x72, 0x73 ) ) ) ? 5 : 0 ) : 0 )
a1b2a50f
KW
781
782/*
21cb232c 783 SURROGATE: Surrogate code points
a1b2a50f 784
099323b4 785 \p{_Perl_Surrogate}
a1b2a50f
KW
786*/
787/*** GENERATED CODE ***/
89d986df 788#define is_SURROGATE_utf8_safe(s,e) \
e42cde6b 789( ( ( ( ( ( ((e) - (s)) >= 4 ) && ( 0xDD == ((const U8*)s)[0] ) ) && ( inRANGE(((const U8*)s)[1], 0x65, 0x66 ) ) ) && ( inRANGE(((const U8*)s)[2], 0x41, 0x4A ) || inRANGE(((const U8*)s)[2], 0x51, 0x59 ) || inRANGE(((const U8*)s)[2], 0x62, 0x6A ) || inRANGE(((const U8*)s)[2], 0x70, 0x73 ) ) ) && ( inRANGE(((const U8*)s)[3], 0x41, 0x4A ) || inRANGE(((const U8*)s)[3], 0x51, 0x59 ) || inRANGE(((const U8*)s)[3], 0x62, 0x6A ) || inRANGE(((const U8*)s)[3], 0x70, 0x73 ) ) ) ? 4 : 0 )
a1b2a50f
KW
790
791/*
a1b2a50f
KW
792 QUOTEMETA: Meta-characters that \Q should quote
793
794 \p{_Perl_Quotemeta}
795*/
796/*** GENERATED CODE ***/
e42cde6b
KW
797#define is_QUOTEMETA_high(s) \
798( ( 0xB1 == ((const U8*)s)[0] ) ? \
799 ( ( 0x56 == ((const U8*)s)[1] ) ? 2 : 0 ) \
800: ( 0xB8 == ((const U8*)s)[0] ) ? \
801 ( ( ( 0x57 == ((const U8*)s)[1] ) && ( 0x70 == ((const U8*)s)[2] ) ) ? 3 : 0 )\
802: ( 0xBB == ((const U8*)s)[0] ) ? \
803 ( ( 0x51 == ((const U8*)s)[1] ) ? \
804 ( ( 0x73 == ((const U8*)s)[2] ) ? 3 : 0 ) \
805 : ( ( 0x52 == ((const U8*)s)[1] ) && ( 0x41 == ((const U8*)s)[2] ) ) ? 3 : 0 )\
806: ( 0xBC == ((const U8*)s)[0] ) ? \
807 ( ( 0x63 == ((const U8*)s)[1] ) ? \
808 ( ( 0x41 == ((const U8*)s)[2] ) ? 3 : 0 ) \
809 : ( ( 0x71 == ((const U8*)s)[1] ) && ( inRANGE(((const U8*)s)[2], 0x63, 0x64 ) ) ) ? 3 : 0 )\
810: ( 0xBE == ((const U8*)s)[0] ) ? \
811 ( ( ( 0x41 == ((const U8*)s)[1] ) && ( inRANGE(((const U8*)s)[2], 0x52, 0x55 ) ) ) ? 3 : 0 )\
812: ( 0xCA == ((const U8*)s)[0] ) ? \
813 ( ( 0x41 == ((const U8*)s)[1] || inRANGE(((const U8*)s)[1], 0x54, 0x59 ) || inRANGE(((const U8*)s)[1], 0x62, 0x6A ) || inRANGE(((const U8*)s)[1], 0x70, 0x73 ) ) ?\
814 ( ( inRANGE(((const U8*)s)[2], 0x41, 0x4A ) || inRANGE(((const U8*)s)[2], 0x51, 0x59 ) || inRANGE(((const U8*)s)[2], 0x62, 0x6A ) || inRANGE(((const U8*)s)[2], 0x70, 0x73 ) ) ? 3 : 0 )\
29f3ce8f 815 : ( 0x42 == ((const U8*)s)[1] ) ? \
e42cde6b 816 ( ( inRANGE(((const U8*)s)[2], 0x41, 0x4A ) || inRANGE(((const U8*)s)[2], 0x51, 0x59 ) || inRANGE(((const U8*)s)[2], 0x62, 0x6A ) || inRANGE(((const U8*)s)[2], 0x70, 0x72 ) ) ? 3 : 0 )\
29f3ce8f 817 : ( 0x43 == ((const U8*)s)[1] ) ? \
e42cde6b 818 ( ( inRANGE(((const U8*)s)[2], 0x42, 0x4A ) || inRANGE(((const U8*)s)[2], 0x51, 0x59 ) || 0x62 == ((const U8*)s)[2] || inRANGE(((const U8*)s)[2], 0x64, 0x6A ) || inRANGE(((const U8*)s)[2], 0x70, 0x73 ) ) ? 3 : 0 )\
29f3ce8f 819 : ( 0x44 == ((const U8*)s)[1] ) ? \
e42cde6b
KW
820 ( ( inRANGE(((const U8*)s)[2], 0x41, 0x4A ) || inRANGE(((const U8*)s)[2], 0x51, 0x56 ) ) ? 3 : 0 )\
821 : ( ( 0x53 == ((const U8*)s)[1] ) && ( inRANGE(((const U8*)s)[2], 0x57, 0x59 ) || inRANGE(((const U8*)s)[2], 0x62, 0x6A ) || inRANGE(((const U8*)s)[2], 0x70, 0x73 ) ) ) ? 3 : 0 )\
822: ( 0xCB == ((const U8*)s)[0] ) ? \
823 ( ( inRANGE(((const U8*)s)[1], 0x41, 0x43 ) || inRANGE(((const U8*)s)[1], 0x49, 0x4A ) || inRANGE(((const U8*)s)[1], 0x51, 0x59 ) || inRANGE(((const U8*)s)[1], 0x62, 0x69 ) || inRANGE(((const U8*)s)[1], 0x71, 0x73 ) ) ?\
824 ( ( inRANGE(((const U8*)s)[2], 0x41, 0x4A ) || inRANGE(((const U8*)s)[2], 0x51, 0x59 ) || inRANGE(((const U8*)s)[2], 0x62, 0x6A ) || inRANGE(((const U8*)s)[2], 0x70, 0x73 ) ) ? 3 : 0 )\
29f3ce8f 825 : ( 0x6A == ((const U8*)s)[1] ) ? \
e42cde6b
KW
826 ( ( inRANGE(((const U8*)s)[2], 0x41, 0x4A ) || inRANGE(((const U8*)s)[2], 0x51, 0x59 ) || inRANGE(((const U8*)s)[2], 0x62, 0x64 ) ) ? 3 : 0 )\
827 : ( ( 0x70 == ((const U8*)s)[1] ) && ( inRANGE(((const U8*)s)[2], 0x63, 0x6A ) || inRANGE(((const U8*)s)[2], 0x70, 0x73 ) ) ) ? 3 : 0 )\
29f3ce8f 828: ( 0xCC == ((const U8*)s)[0] ) ? \
e42cde6b 829 ( ( ( inRANGE(((const U8*)s)[1], 0x41, 0x4A ) || inRANGE(((const U8*)s)[1], 0x51, 0x59 ) || inRANGE(((const U8*)s)[1], 0x62, 0x6A ) || inRANGE(((const U8*)s)[1], 0x70, 0x73 ) ) && ( inRANGE(((const U8*)s)[2], 0x41, 0x4A ) || inRANGE(((const U8*)s)[2], 0x51, 0x59 ) || inRANGE(((const U8*)s)[2], 0x62, 0x6A ) || inRANGE(((const U8*)s)[2], 0x70, 0x73 ) ) ) ? 3 : 0 )\
29f3ce8f 830: ( 0xCD == ((const U8*)s)[0] ) ? \
e42cde6b 831 ( ( ( inRANGE(((const U8*)s)[1], 0x57, 0x59 ) || 0x62 == ((const U8*)s)[1] ) && ( inRANGE(((const U8*)s)[2], 0x41, 0x4A ) || inRANGE(((const U8*)s)[2], 0x51, 0x59 ) || inRANGE(((const U8*)s)[2], 0x62, 0x6A ) || inRANGE(((const U8*)s)[2], 0x70, 0x73 ) ) ) ? 3 : 0 )\
29f3ce8f
KW
832: ( 0xCE == ((const U8*)s)[0] ) ? \
833 ( ( 0x41 == ((const U8*)s)[1] ) ? \
e42cde6b 834 ( ( inRANGE(((const U8*)s)[2], 0x41, 0x44 ) || inRANGE(((const U8*)s)[2], 0x49, 0x4A ) || inRANGE(((const U8*)s)[2], 0x51, 0x59 ) || inRANGE(((const U8*)s)[2], 0x62, 0x6A ) || inRANGE(((const U8*)s)[2], 0x70, 0x73 ) ) ? 3 : 0 )\
29f3ce8f
KW
835 : ( 0x42 == ((const U8*)s)[1] ) ? \
836 ( ( 0x41 == ((const U8*)s)[2] || 0x57 == ((const U8*)s)[2] ) ? 3 : 0 )\
837 : ( ( 0x52 == ((const U8*)s)[1] ) && ( 0x45 == ((const U8*)s)[2] ) ) ? 3 : 0 )\
838: ( 0xDD == ((const U8*)s)[0] ) ? \
839 ( ( 0x73 == ((const U8*)s)[1] ) ? \
840 ( ( 0x4A == ((const U8*)s)[2] ) ? \
e42cde6b 841 ( ( inRANGE(((const U8*)s)[3], 0x72, 0x73 ) ) ? 4 : 0 ) \
29f3ce8f 842 : ( 0x57 == ((const U8*)s)[2] ) ? \
e42cde6b 843 ( ( inRANGE(((const U8*)s)[3], 0x41, 0x4A ) || inRANGE(((const U8*)s)[3], 0x51, 0x56 ) ) ? 4 : 0 )\
29f3ce8f 844 : ( 0x59 == ((const U8*)s)[2] ) ? \
e42cde6b 845 ( ( inRANGE(((const U8*)s)[3], 0x46, 0x47 ) ) ? 4 : 0 ) \
29f3ce8f
KW
846 : ( 0x66 == ((const U8*)s)[2] ) ? \
847 ( ( 0x73 == ((const U8*)s)[3] ) ? 4 : 0 ) \
848 : ( 0x71 == ((const U8*)s)[2] ) ? \
849 ( ( 0x41 == ((const U8*)s)[3] ) ? 4 : 0 ) \
e42cde6b 850 : ( ( 0x73 == ((const U8*)s)[2] ) && ( inRANGE(((const U8*)s)[3], 0x57, 0x59 ) || inRANGE(((const U8*)s)[3], 0x62, 0x67 ) ) ) ? 4 : 0 )\
a1b2a50f 851 : 0 ) \
29f3ce8f
KW
852: ( 0xDF == ((const U8*)s)[0] ) ? \
853 ( ( 0x56 == ((const U8*)s)[1] ) ? \
e42cde6b
KW
854 ( ( ( 0x46 == ((const U8*)s)[2] ) && ( inRANGE(((const U8*)s)[3], 0x41, 0x44 ) ) ) ? 4 : 0 )\
855 : ( ( ( 0x63 == ((const U8*)s)[1] ) && ( 0x52 == ((const U8*)s)[2] ) ) && ( inRANGE(((const U8*)s)[3], 0x62, 0x69 ) ) ) ? 4 : 0 )\
856: ( ( ( ( ( 0xED == ((const U8*)s)[0] ) && ( 0x70 == ((const U8*)s)[1] ) ) && ( inRANGE(((const U8*)s)[2], 0x41, 0x44 ) ) ) && ( inRANGE(((const U8*)s)[3], 0x41, 0x4A ) || inRANGE(((const U8*)s)[3], 0x51, 0x59 ) || inRANGE(((const U8*)s)[3], 0x62, 0x6A ) || inRANGE(((const U8*)s)[3], 0x70, 0x73 ) ) ) && ( inRANGE(((const U8*)s)[4], 0x41, 0x4A ) || inRANGE(((const U8*)s)[4], 0x51, 0x59 ) || inRANGE(((const U8*)s)[4], 0x62, 0x6A ) || inRANGE(((const U8*)s)[4], 0x70, 0x73 ) ) ) ? 5 : 0 )
a1b2a50f
KW
857
858/*
859 MULTI_CHAR_FOLD: multi-char strings that are folded to by a single character
860
861 &regcharclass_multi_char_folds::multi_char_folds(1)
862*/
863/*** GENERATED CODE ***/
864#define is_MULTI_CHAR_FOLD_utf8_safe_part0(s,e) \
29f3ce8f
KW
865( ( 0x86 == ((const U8*)s)[1] ) ? \
866 ( ( 0x89 == ((const U8*)s)[2] || 0x93 == ((const U8*)s)[2] ) ? 3 : 2 )\
867 : ( 0x89 == ((const U8*)s)[1] || 0x93 == ((const U8*)s)[1] ) ? 2 : 0 )
a1b2a50f
KW
868
869
870/*** GENERATED CODE ***/
871#define is_MULTI_CHAR_FOLD_utf8_safe_part1(s,e) \
29f3ce8f
KW
872( ( 0x88 == ((const U8*)s)[0] ) ? \
873 ( ( ( 0xB0 == ((const U8*)s)[1] ) && ( 0x58 == ((const U8*)s)[2] ) ) ? 3 : 0 )\
874 : ( 0x89 == ((const U8*)s)[0] ) ? \
875 ( ( ( 0xAF == ((const U8*)s)[1] ) && ( 0x48 == ((const U8*)s)[2] ) ) ? 3 : 0 )\
876 : ( 0x8F == ((const U8*)s)[0] ) ? \
877 ( ( ( ( 0x73 == ((const U8*)s)[1] ) && ( 0x8F == ((const U8*)s)[2] ) ) && ( 0x73 == ((const U8*)s)[3] ) ) ? 4 : 0 )\
878 : ( 0x91 == ((const U8*)s)[0] ) ? \
879 ( ( ( 0xAF == ((const U8*)s)[1] ) && ( 0x53 == ((const U8*)s)[2] ) ) ? 3 : 0 )\
880 : ( 0xA2 == ((const U8*)s)[0] ) ? \
e42cde6b 881 ( ( inRANGE(((const U8*)s)[1], 0xA2, 0xA3 ) ) ? 2 : 0 ) \
29f3ce8f
KW
882 : ( 0xA3 == ((const U8*)s)[0] ) ? \
883 ( ( ( 0xAF == ((const U8*)s)[1] ) && ( 0x49 == ((const U8*)s)[2] ) ) ? 3 : 0 )\
884 : ( 0xA6 == ((const U8*)s)[0] || 0xA8 == ((const U8*)s)[0] ) ? \
885 ( ( ( 0xAF == ((const U8*)s)[1] ) && ( 0x51 == ((const U8*)s)[2] ) ) ? 3 : 0 )\
886 : ( 0xAB == ((const U8*)s)[0] ) ? \
887 ( ( ( 0x70 == ((const U8*)s)[1] ) && ( 0x95 == ((const U8*)s)[2] ) ) ? 3 : 0 )\
888 : ( 0xB4 == ((const U8*)s)[0] ) ? \
889 ( ( 0x53 == ((const U8*)s)[1] || 0x55 == ((const U8*)s)[1] ) ? \
890 ( ( ( 0xB4 == ((const U8*)s)[2] ) && ( 0x68 == ((const U8*)s)[3] ) ) ? 4 : 0 )\
891 : ( 0x58 == ((const U8*)s)[1] || 0x66 == ((const U8*)s)[1] ) ? \
892 ( ( 0xB1 == ((const U8*)s)[2] ) ? \
893 ( ( 0x43 == ((const U8*)s)[3] ) ? \
894 ( ( ( 0xB4 == ((const U8*)s)[4] ) && ( 0x68 == ((const U8*)s)[5] ) ) ? 6 : 4 )\
895 : 0 ) \
896 : ( ( 0xB4 == ((const U8*)s)[2] ) && ( 0x68 == ((const U8*)s)[3] ) ) ? 4 : 0 )\
897 : ( 0x68 == ((const U8*)s)[1] ) ? \
898 ( ( 0xAF == ((const U8*)s)[2] ) ? \
899 ( ( 0x49 == ((const U8*)s)[3] ) ? \
900 ( ( 0xAF == ((const U8*)s)[4] ) ? \
e42cde6b 901 ( ( inRANGE(((const U8*)s)[5], 0x41, 0x42 ) ) ? 6 : 0 )\
29f3ce8f
KW
902 : ( ( 0xB1 == ((const U8*)s)[4] ) && ( 0x43 == ((const U8*)s)[5] ) ) ? 6 : 0 )\
903 : 0 ) \
904 : ( ( 0xB1 == ((const U8*)s)[2] ) && ( 0x43 == ((const U8*)s)[3] ) ) ? 4 : 0 )\
905 : 0 ) \
906 : ( 0xB5 == ((const U8*)s)[0] ) ? \
907 ( ( 0x42 == ((const U8*)s)[1] ) ? \
908 ( ( ( 0xAF == ((const U8*)s)[2] ) && ( 0x62 == ((const U8*)s)[3] ) ) ? 4 : 0 )\
909 : ( 0x46 == ((const U8*)s)[1] ) ? \
910 ( ( 0xAF == ((const U8*)s)[2] ) ? \
911 ( ( 0x49 == ((const U8*)s)[3] ) ? \
912 ( ( 0xAF == ((const U8*)s)[4] ) ? \
e42cde6b 913 ( ( inRANGE(((const U8*)s)[5], 0x41, 0x42 ) ) ? 6 : 0 )\
29f3ce8f
KW
914 : ( ( 0xB1 == ((const U8*)s)[4] ) && ( 0x43 == ((const U8*)s)[5] ) ) ? 6 : 0 )\
915 : ( 0x62 == ((const U8*)s)[3] ) ? \
916 ( ( 0xAF == ((const U8*)s)[4] ) ? \
e42cde6b 917 ( ( inRANGE(((const U8*)s)[5], 0x41, 0x42 ) ) ? 6 : 4 )\
29f3ce8f
KW
918 : ( ( 0xB1 == ((const U8*)s)[4] ) && ( 0x43 == ((const U8*)s)[5] ) ) ? 6 : 4 )\
919 : 0 ) \
920 : ( ( 0xB1 == ((const U8*)s)[2] ) && ( 0x43 == ((const U8*)s)[3] ) ) ? 4 : 0 )\
921 : ( 0x4A == ((const U8*)s)[1] ) ? \
922 ( ( 0xB1 == ((const U8*)s)[2] ) ? \
923 ( ( 0x43 == ((const U8*)s)[3] ) ? \
924 ( ( ( 0xB4 == ((const U8*)s)[4] ) && ( 0x68 == ((const U8*)s)[5] ) ) ? 6 : 4 )\
925 : 0 ) \
926 : ( ( 0xB4 == ((const U8*)s)[2] ) && ( 0x68 == ((const U8*)s)[3] ) ) ? 4 : 0 )\
927 : ( ( ( 0x55 == ((const U8*)s)[1] ) && ( 0xB4 == ((const U8*)s)[2] ) ) && ( 0x68 == ((const U8*)s)[3] ) ) ? 4 : 0 )\
928 : ( 0xB8 == ((const U8*)s)[0] ) ? \
929 ( ( 0x52 == ((const U8*)s)[1] ) ? \
930 ( ( 0x46 == ((const U8*)s)[2] ) ? \
931 ( ( ( ( 0xB8 == ((const U8*)s)[3] ) && ( 0x53 == ((const U8*)s)[4] ) ) && ( 0x43 == ((const U8*)s)[5] ) ) ? 6 : 0 )\
932 : ( 0x63 == ((const U8*)s)[2] ) ? \
933 ( ( ( ( 0xB8 == ((const U8*)s)[3] ) && ( 0x52 == ((const U8*)s)[4] ) ) && ( 0x46 == ((const U8*)s)[5] || 0x52 == ((const U8*)s)[5] || 0x54 == ((const U8*)s)[5] || 0x65 == ((const U8*)s)[5] ) ) ? 6 : 0 )\
934 : ( ( ( ( 0x72 == ((const U8*)s)[2] ) && ( 0xB8 == ((const U8*)s)[3] ) ) && ( 0x52 == ((const U8*)s)[4] ) ) && ( 0x65 == ((const U8*)s)[5] ) ) ? 6 : 0 )\
935 : 0 ) \
936 : ( 0xBF == ((const U8*)s)[0] ) ? \
e42cde6b
KW
937 ( ( inRANGE(((const U8*)s)[1], 0x67, 0x68 ) ) ? \
938 ( ( ( ( inRANGE(((const U8*)s)[2], 0x41, 0x48 ) ) && ( 0xB4 == ((const U8*)s)[3] ) ) && ( 0x68 == ((const U8*)s)[4] ) ) ? 5 : 0 )\
939 : ( ( ( ( 0x6A == ((const U8*)s)[1] ) && ( inRANGE(((const U8*)s)[2], 0x41, 0x48 ) || 0x57 == ((const U8*)s)[2] || 0x63 == ((const U8*)s)[2] || 0x70 == ((const U8*)s)[2] ) ) && ( 0xB4 == ((const U8*)s)[3] ) ) && ( 0x68 == ((const U8*)s)[4] ) ) ? 5 : 0 )\
29f3ce8f
KW
940 : 0 )
941
942
943/*** GENERATED CODE ***/
944#define is_MULTI_CHAR_FOLD_utf8_safe_part2(s,e) \
945( ( 0x81 == ((const U8*)s)[0] ) ? \
946 ( ( ( 0xAB == ((const U8*)s)[1] ) && ( 0x72 == ((const U8*)s)[2] ) ) ? 3 : 0 )\
947 : ( 0x86 == ((const U8*)s)[0] ) ? \
948 ( ( 0x86 == ((const U8*)s)[1] ) ? \
949 ( ( 0x89 == ((const U8*)s)[2] || 0x93 == ((const U8*)s)[2] ) ? 3 : 2 )\
950 : ( 0x89 == ((const U8*)s)[1] || 0x93 == ((const U8*)s)[1] ) ? 2 : 0 )\
951 : ( 0x88 == ((const U8*)s)[0] ) ? \
952 ( ( ( 0xB0 == ((const U8*)s)[1] ) && ( 0x58 == ((const U8*)s)[2] ) ) ? 3 : 0 )\
953 : ( 0x89 == ((const U8*)s)[0] ) ? \
954 ( ( ( 0xAF == ((const U8*)s)[1] ) && ( 0x48 == ((const U8*)s)[2] ) ) ? 3 : 0 )\
955 : ( 0x8F == ((const U8*)s)[0] ) ? \
956 ( ( ( ( 0x73 == ((const U8*)s)[1] ) && ( 0x8F == ((const U8*)s)[2] ) ) && ( 0x73 == ((const U8*)s)[3] ) ) ? 4 : 0 )\
957 : ( 0x91 == ((const U8*)s)[0] ) ? \
958 ( ( ( 0xAF == ((const U8*)s)[1] ) && ( 0x53 == ((const U8*)s)[2] ) ) ? 3 : 0 )\
959 : ( 0xA2 == ((const U8*)s)[0] ) ? \
e42cde6b 960 ( ( inRANGE(((const U8*)s)[1], 0xA2, 0xA3 ) ) ? 2 : 0 ) \
29f3ce8f
KW
961 : ( 0xA3 == ((const U8*)s)[0] ) ? \
962 ( ( ( 0xAF == ((const U8*)s)[1] ) && ( 0x49 == ((const U8*)s)[2] ) ) ? 3 : 0 )\
963 : ( 0xA6 == ((const U8*)s)[0] || 0xA8 == ((const U8*)s)[0] ) ? \
964 ( ( ( 0xAF == ((const U8*)s)[1] ) && ( 0x51 == ((const U8*)s)[2] ) ) ? 3 : 0 )\
965 : ( 0xAB == ((const U8*)s)[0] ) ? \
966 ( ( ( 0x70 == ((const U8*)s)[1] ) && ( 0x95 == ((const U8*)s)[2] ) ) ? 3 : 0 )\
967 : ( 0xB4 == ((const U8*)s)[0] ) ? \
968 ( ( 0x53 == ((const U8*)s)[1] || 0x55 == ((const U8*)s)[1] ) ? \
969 ( ( ( 0xB4 == ((const U8*)s)[2] ) && ( 0x68 == ((const U8*)s)[3] ) ) ? 4 : 0 )\
970 : ( 0x58 == ((const U8*)s)[1] || 0x66 == ((const U8*)s)[1] ) ? \
971 ( ( 0xB1 == ((const U8*)s)[2] ) ? \
972 ( ( 0x43 == ((const U8*)s)[3] ) ? 4 : 0 ) \
973 : ( ( 0xB4 == ((const U8*)s)[2] ) && ( 0x68 == ((const U8*)s)[3] ) ) ? 4 : 0 )\
974 : ( ( ( 0x68 == ((const U8*)s)[1] ) && ( 0xB1 == ((const U8*)s)[2] ) ) && ( 0x43 == ((const U8*)s)[3] ) ) ? 4 : 0 )\
975 : ( 0xB5 == ((const U8*)s)[0] ) ? \
976 ( ( 0x42 == ((const U8*)s)[1] ) ? \
977 ( ( ( 0xAF == ((const U8*)s)[2] ) && ( 0x62 == ((const U8*)s)[3] ) ) ? 4 : 0 )\
978 : ( 0x46 == ((const U8*)s)[1] ) ? \
979 ( ( 0xAF == ((const U8*)s)[2] ) ? \
980 ( ( 0x62 == ((const U8*)s)[3] ) ? 4 : 0 ) \
981 : ( ( 0xB1 == ((const U8*)s)[2] ) && ( 0x43 == ((const U8*)s)[3] ) ) ? 4 : 0 )\
982 : ( 0x4A == ((const U8*)s)[1] ) ? \
983 ( ( 0xB1 == ((const U8*)s)[2] ) ? \
984 ( ( 0x43 == ((const U8*)s)[3] ) ? 4 : 0 ) \
985 : ( ( 0xB4 == ((const U8*)s)[2] ) && ( 0x68 == ((const U8*)s)[3] ) ) ? 4 : 0 )\
986 : ( ( ( 0x55 == ((const U8*)s)[1] ) && ( 0xB4 == ((const U8*)s)[2] ) ) && ( 0x68 == ((const U8*)s)[3] ) ) ? 4 : 0 )\
987 : ( 0xBF == ((const U8*)s)[0] ) ? \
e42cde6b
KW
988 ( ( inRANGE(((const U8*)s)[1], 0x67, 0x68 ) ) ? \
989 ( ( ( ( inRANGE(((const U8*)s)[2], 0x41, 0x48 ) ) && ( 0xB4 == ((const U8*)s)[3] ) ) && ( 0x68 == ((const U8*)s)[4] ) ) ? 5 : 0 )\
990 : ( ( ( ( 0x6A == ((const U8*)s)[1] ) && ( inRANGE(((const U8*)s)[2], 0x41, 0x48 ) || 0x57 == ((const U8*)s)[2] || 0x63 == ((const U8*)s)[2] || 0x70 == ((const U8*)s)[2] ) ) && ( 0xB4 == ((const U8*)s)[3] ) ) && ( 0x68 == ((const U8*)s)[4] ) ) ? 5 : 0 )\
29f3ce8f
KW
991 : 0 )
992
993
994/*** GENERATED CODE ***/
995#define is_MULTI_CHAR_FOLD_utf8_safe_part3(s,e) \
a1b2a50f 996( ((e)-(s) > 3) ? \
29f3ce8f
KW
997 ( ( 0x81 == ((const U8*)s)[0] ) ? \
998 ( ( ( 0xAB == ((const U8*)s)[1] ) && ( 0x72 == ((const U8*)s)[2] ) ) ? 3 : 0 )\
999 : ( 0x86 == ((const U8*)s)[0] ) ? \
1000 ( ( 0x86 == ((const U8*)s)[1] ) ? \
1001 ( ( 0x89 == ((const U8*)s)[2] || 0x93 == ((const U8*)s)[2] ) ? 3 : 2 )\
1002 : ( 0x89 == ((const U8*)s)[1] || 0x93 == ((const U8*)s)[1] ) ? 2 : 0 )\
1003 : ( 0x88 == ((const U8*)s)[0] ) ? \
1004 ( ( ( 0xB0 == ((const U8*)s)[1] ) && ( 0x58 == ((const U8*)s)[2] ) ) ? 3 : 0 )\
1005 : ( 0x89 == ((const U8*)s)[0] ) ? \
1006 ( ( ( 0xAF == ((const U8*)s)[1] ) && ( 0x48 == ((const U8*)s)[2] ) ) ? 3 : 0 )\
1007 : ( 0x8F == ((const U8*)s)[0] ) ? \
1008 ( ( ( ( 0x73 == ((const U8*)s)[1] ) && ( 0x8F == ((const U8*)s)[2] ) ) && ( 0x73 == ((const U8*)s)[3] ) ) ? 4 : 0 )\
1009 : ( 0x91 == ((const U8*)s)[0] ) ? \
1010 ( ( ( 0xAF == ((const U8*)s)[1] ) && ( 0x53 == ((const U8*)s)[2] ) ) ? 3 : 0 )\
1011 : ( 0xA2 == ((const U8*)s)[0] ) ? \
e42cde6b 1012 ( ( inRANGE(((const U8*)s)[1], 0xA2, 0xA3 ) ) ? 2 : 0 ) \
29f3ce8f
KW
1013 : ( 0xA3 == ((const U8*)s)[0] ) ? \
1014 ( ( ( 0xAF == ((const U8*)s)[1] ) && ( 0x49 == ((const U8*)s)[2] ) ) ? 3 : 0 )\
1015 : ( 0xA6 == ((const U8*)s)[0] || 0xA8 == ((const U8*)s)[0] ) ? \
1016 ( ( ( 0xAF == ((const U8*)s)[1] ) && ( 0x51 == ((const U8*)s)[2] ) ) ? 3 : 0 )\
1017 : ( 0xAB == ((const U8*)s)[0] ) ? \
1018 ( ( ( 0x70 == ((const U8*)s)[1] ) && ( 0x95 == ((const U8*)s)[2] ) ) ? 3 : 0 )\
1019 : ( 0xB4 == ((const U8*)s)[0] ) ? \
1020 ( ( 0x53 == ((const U8*)s)[1] || 0x55 == ((const U8*)s)[1] ) ? \
1021 ( ( ( 0xB4 == ((const U8*)s)[2] ) && ( 0x68 == ((const U8*)s)[3] ) ) ? 4 : 0 )\
1022 : ( 0x58 == ((const U8*)s)[1] || 0x66 == ((const U8*)s)[1] ) ? \
1023 ( ( 0xB1 == ((const U8*)s)[2] ) ? \
1024 ( ( 0x43 == ((const U8*)s)[3] ) ? 4 : 0 ) \
1025 : ( ( 0xB4 == ((const U8*)s)[2] ) && ( 0x68 == ((const U8*)s)[3] ) ) ? 4 : 0 )\
1026 : ( ( ( 0x68 == ((const U8*)s)[1] ) && ( 0xB1 == ((const U8*)s)[2] ) ) && ( 0x43 == ((const U8*)s)[3] ) ) ? 4 : 0 )\
1027 : ( 0xB5 == ((const U8*)s)[0] ) ? \
1028 ( ( 0x42 == ((const U8*)s)[1] ) ? \
1029 ( ( ( 0xAF == ((const U8*)s)[2] ) && ( 0x62 == ((const U8*)s)[3] ) ) ? 4 : 0 )\
1030 : ( 0x46 == ((const U8*)s)[1] ) ? \
1031 ( ( 0xAF == ((const U8*)s)[2] ) ? \
1032 ( ( 0x62 == ((const U8*)s)[3] ) ? 4 : 0 ) \
1033 : ( ( 0xB1 == ((const U8*)s)[2] ) && ( 0x43 == ((const U8*)s)[3] ) ) ? 4 : 0 )\
1034 : ( 0x4A == ((const U8*)s)[1] ) ? \
1035 ( ( 0xB1 == ((const U8*)s)[2] ) ? \
1036 ( ( 0x43 == ((const U8*)s)[3] ) ? 4 : 0 ) \
1037 : ( ( 0xB4 == ((const U8*)s)[2] ) && ( 0x68 == ((const U8*)s)[3] ) ) ? 4 : 0 )\
1038 : ( ( ( 0x55 == ((const U8*)s)[1] ) && ( 0xB4 == ((const U8*)s)[2] ) ) && ( 0x68 == ((const U8*)s)[3] ) ) ? 4 : 0 )\
a1b2a50f
KW
1039 : 0 ) \
1040: ((e)-(s) > 2) ? \
29f3ce8f
KW
1041 ( ( 0x81 == ((const U8*)s)[0] ) ? \
1042 ( ( ( 0xAB == ((const U8*)s)[1] ) && ( 0x72 == ((const U8*)s)[2] ) ) ? 3 : 0 )\
1043 : ( 0x86 == ((const U8*)s)[0] ) ? \
1044 ( ( 0x86 == ((const U8*)s)[1] ) ? \
1045 ( ( 0x89 == ((const U8*)s)[2] || 0x93 == ((const U8*)s)[2] ) ? 3 : 2 )\
1046 : ( 0x89 == ((const U8*)s)[1] || 0x93 == ((const U8*)s)[1] ) ? 2 : 0 )\
1047 : ( 0x88 == ((const U8*)s)[0] ) ? \
1048 ( ( ( 0xB0 == ((const U8*)s)[1] ) && ( 0x58 == ((const U8*)s)[2] ) ) ? 3 : 0 )\
1049 : ( 0x89 == ((const U8*)s)[0] ) ? \
1050 ( ( ( 0xAF == ((const U8*)s)[1] ) && ( 0x48 == ((const U8*)s)[2] ) ) ? 3 : 0 )\
1051 : ( 0x91 == ((const U8*)s)[0] ) ? \
1052 ( ( ( 0xAF == ((const U8*)s)[1] ) && ( 0x53 == ((const U8*)s)[2] ) ) ? 3 : 0 )\
1053 : ( 0xA2 == ((const U8*)s)[0] ) ? \
e42cde6b 1054 ( ( inRANGE(((const U8*)s)[1], 0xA2, 0xA3 ) ) ? 2 : 0 ) \
29f3ce8f
KW
1055 : ( 0xA3 == ((const U8*)s)[0] ) ? \
1056 ( ( ( 0xAF == ((const U8*)s)[1] ) && ( 0x49 == ((const U8*)s)[2] ) ) ? 3 : 0 )\
1057 : ( 0xA6 == ((const U8*)s)[0] || 0xA8 == ((const U8*)s)[0] ) ? \
1058 ( ( ( 0xAF == ((const U8*)s)[1] ) && ( 0x51 == ((const U8*)s)[2] ) ) ? 3 : 0 )\
1059 : ( ( ( 0xAB == ((const U8*)s)[0] ) && ( 0x70 == ((const U8*)s)[1] ) ) && ( 0x95 == ((const U8*)s)[2] ) ) ? 3 : 0 )\
a1b2a50f 1060: ((e)-(s) > 1) ? \
29f3ce8f
KW
1061 ( ( 0x86 == ((const U8*)s)[0] ) ? \
1062 ( ( 0x86 == ((const U8*)s)[1] || 0x89 == ((const U8*)s)[1] || 0x93 == ((const U8*)s)[1] ) ? 2 : 0 )\
e42cde6b 1063 : ( ( 0xA2 == ((const U8*)s)[0] ) && ( inRANGE(((const U8*)s)[1], 0xA2, 0xA3 ) ) ) ? 2 : 0 )\
a1b2a50f
KW
1064: 0 )
1065
1066
1067/*** GENERATED CODE ***/
1068#define is_MULTI_CHAR_FOLD_utf8_safe(s,e) \
1069( ((e)-(s) > 5) ? \
29f3ce8f
KW
1070 ( ( 0x81 == ((const U8*)s)[0] ) ? \
1071 ( ( ( 0xAB == ((const U8*)s)[1] ) && ( 0x72 == ((const U8*)s)[2] ) ) ? 3 : 0 )\
1072 : ( 0x86 == ((const U8*)s)[0] ) ? is_MULTI_CHAR_FOLD_utf8_safe_part0(s,e) : is_MULTI_CHAR_FOLD_utf8_safe_part1(s,e) )\
1073: ((e)-(s) > 4) ? is_MULTI_CHAR_FOLD_utf8_safe_part2(s,e) : is_MULTI_CHAR_FOLD_utf8_safe_part3(s,e) )
a1b2a50f
KW
1074
1075/*
1076 MULTI_CHAR_FOLD: multi-char strings that are folded to by a single character
1077
1078 &regcharclass_multi_char_folds::multi_char_folds(0)
1079*/
1080/*** GENERATED CODE ***/
1081#define is_MULTI_CHAR_FOLD_latin1_safe(s,e) \
1082( ((e)-(s) > 2) ? \
29f3ce8f
KW
1083 ( ( ( ((const U8*)s)[0] & 0xBF ) == 0x86 ) ? \
1084 ( ( ( ((const U8*)s)[1] & 0xBF ) == 0x86 ) ? \
1085 ( ( ( ( ((const U8*)s)[2] & 0xBF ) == 0x89 ) || ( ( ((const U8*)s)[2] & 0xBF ) == 0x93 ) ) ? 3 : 2 )\
1086 : ( ( ( ((const U8*)s)[1] & 0xBF ) == 0x89 ) || ( ( ((const U8*)s)[1] & 0xBF ) == 0x93 ) ) ? 2 : 0 )\
1087 : ( ( ( ((const U8*)s)[0] & 0xBF ) == 0xA2 ) && ( ( ((const U8*)s)[1] & 0xBE ) == 0xA2 ) ) ? 2 : 0 )\
a1b2a50f 1088: ((e)-(s) > 1) ? \
29f3ce8f
KW
1089 ( ( ( ((const U8*)s)[0] & 0xBF ) == 0x86 ) ? \
1090 ( ( ( ( ((const U8*)s)[1] & 0xBF ) == 0x86 ) || ( ( ((const U8*)s)[1] & 0xBF ) == 0x89 ) || ( ( ((const U8*)s)[1] & 0xBF ) == 0x93 ) ) ? 2 : 0 )\
1091 : ( ( ( ((const U8*)s)[0] & 0xBF ) == 0xA2 ) && ( ( ((const U8*)s)[1] & 0xBE ) == 0xA2 ) ) ? 2 : 0 )\
a1b2a50f
KW
1092: 0 )
1093
1094/*
1095 FOLDS_TO_MULTI: characters that fold to multi-char strings
1096
1097 \p{_Perl_Folds_To_Multi_Char}
1098*/
1099/*** GENERATED CODE ***/
1100#define is_FOLDS_TO_MULTI_utf8(s) \
29f3ce8f
KW
1101( ( 0x8A == ((const U8*)s)[0] ) ? \
1102 ( ( 0x73 == ((const U8*)s)[1] ) ? 2 : 0 ) \
e42cde6b 1103: ( 0x8D == ((const U8*)s)[0] || 0x9C == ((const U8*)s)[0] || inRANGE(((const U8*)s)[0], 0xB3, 0xB4 ) ) ?\
29f3ce8f
KW
1104 ( ( 0x57 == ((const U8*)s)[1] ) ? 2 : 0 ) \
1105: ( 0x8E == ((const U8*)s)[0] ) ? \
1106 ( ( 0x4A == ((const U8*)s)[1] ) ? 2 : 0 ) \
1107: ( 0xB8 == ((const U8*)s)[0] ) ? \
1108 ( ( ( 0x53 == ((const U8*)s)[1] ) && ( 0x48 == ((const U8*)s)[2] ) ) ? 3 : 0 )\
1109: ( 0xBF == ((const U8*)s)[0] ) ? \
1110 ( ( 0x63 == ((const U8*)s)[1] ) ? \
e42cde6b 1111 ( ( inRANGE(((const U8*)s)[2], 0x65, 0x69 ) || 0x72 == ((const U8*)s)[2] ) ? 3 : 0 )\
29f3ce8f
KW
1112 : ( 0x69 == ((const U8*)s)[1] ) ? \
1113 ( ( 0x57 == ((const U8*)s)[2] || 0x59 == ((const U8*)s)[2] || 0x63 == ((const U8*)s)[2] || 0x65 == ((const U8*)s)[2] ) ? 3 : 0 )\
1114 : ( 0x70 == ((const U8*)s)[1] ) ? \
e42cde6b 1115 ( ( inRANGE(((const U8*)s)[2], 0x41, 0x4A ) || inRANGE(((const U8*)s)[2], 0x51, 0x59 ) || inRANGE(((const U8*)s)[2], 0x62, 0x6A ) || inRANGE(((const U8*)s)[2], 0x70, 0x73 ) ) ? 3 : 0 )\
29f3ce8f 1116 : ( 0x71 == ((const U8*)s)[1] ) ? \
e42cde6b 1117 ( ( inRANGE(((const U8*)s)[2], 0x41, 0x4A ) || inRANGE(((const U8*)s)[2], 0x51, 0x56 ) || 0x59 == ((const U8*)s)[2] || inRANGE(((const U8*)s)[2], 0x62, 0x63 ) || inRANGE(((const U8*)s)[2], 0x65, 0x66 ) || 0x70 == ((const U8*)s)[2] ) ? 3 : 0 )\
29f3ce8f 1118 : ( 0x72 == ((const U8*)s)[1] ) ? \
e42cde6b
KW
1119 ( ( inRANGE(((const U8*)s)[2], 0x43, 0x45 ) || inRANGE(((const U8*)s)[2], 0x47, 0x48 ) || 0x53 == ((const U8*)s)[2] || 0x59 == ((const U8*)s)[2] || 0x62 == ((const U8*)s)[2] || inRANGE(((const U8*)s)[2], 0x65, 0x66 ) ) ? 3 : 0 )\
1120 : ( ( 0x73 == ((const U8*)s)[1] ) && ( inRANGE(((const U8*)s)[2], 0x43, 0x45 ) || inRANGE(((const U8*)s)[2], 0x47, 0x48 ) || 0x59 == ((const U8*)s)[2] || inRANGE(((const U8*)s)[2], 0x62, 0x63 ) || inRANGE(((const U8*)s)[2], 0x65, 0x66 ) || 0x70 == ((const U8*)s)[2] ) ) ? 3 : 0 )\
1121: ( ( ( ( 0xDD == ((const U8*)s)[0] ) && ( 0x72 == ((const U8*)s)[1] ) ) && ( 0x67 == ((const U8*)s)[2] ) ) && ( inRANGE(((const U8*)s)[3], 0x41, 0x47 ) || inRANGE(((const U8*)s)[3], 0x62, 0x66 ) ) ) ? 4 : 0 )
a1b2a50f
KW
1122
1123/*
1124 PROBLEMATIC_LOCALE_FOLD: characters whose fold is problematic under locale
1125
1126 \p{_Perl_Problematic_Locale_Folds}
1127*/
1128/*** GENERATED CODE ***/
1129#define is_PROBLEMATIC_LOCALE_FOLD_utf8(s) \
e42cde6b
KW
1130( ( ( ((const U8*)s)[0] <= 0x40 ) || inRANGE(((const U8*)s)[0], 0x4B, 0x50 ) || inRANGE(((const U8*)s)[0], 0x5A, 0x61 ) || inRANGE(((const U8*)s)[0], 0x6B, 0x6F ) || inRANGE(((const U8*)s)[0], 0x79, 0x7F ) || inRANGE(((const U8*)s)[0], 0x81, 0x89 ) || inRANGE(((const U8*)s)[0], 0x91, 0x99 ) || inRANGE(((const U8*)s)[0], 0xA1, 0xA9 ) || 0xAD == ((const U8*)s)[0] || 0xBD == ((const U8*)s)[0] || inRANGE(((const U8*)s)[0], 0xC0, 0xC9 ) || inRANGE(((const U8*)s)[0], 0xD0, 0xD9 ) || 0xE0 == ((const U8*)s)[0] || inRANGE(((const U8*)s)[0], 0xE2, 0xE9 ) || inRANGE(((const U8*)s)[0], 0xF0, 0xF9 ) || 0xFF == ((const U8*)s)[0] ) ? 1\
1131: ( 0x80 == ((const U8*)s)[0] || inRANGE(((const U8*)s)[0], 0x8A, 0x8B ) ) ?\
1132 ( ( inRANGE(((const U8*)s)[1], 0x41, 0x4A ) || inRANGE(((const U8*)s)[1], 0x51, 0x59 ) || inRANGE(((const U8*)s)[1], 0x62, 0x6A ) || inRANGE(((const U8*)s)[1], 0x70, 0x73 ) ) ? 2 : 0 )\
e061e593 1133: ( 0x8D == ((const U8*)s)[0] ) ? \
e42cde6b 1134 ( ( inRANGE(((const U8*)s)[1], 0x57, 0x58 ) ) ? 2 : 0 ) \
29f3ce8f
KW
1135: ( 0x8E == ((const U8*)s)[0] ) ? \
1136 ( ( 0x4A == ((const U8*)s)[1] ) ? 2 : 0 ) \
1137: ( 0x8F == ((const U8*)s)[0] ) ? \
1138 ( ( 0x67 == ((const U8*)s)[1] || 0x73 == ((const U8*)s)[1] ) ? 2 : 0 ) \
e061e593
KW
1139: ( 0x9C == ((const U8*)s)[0] ) ? \
1140 ( ( 0x57 == ((const U8*)s)[1] ) ? 2 : 0 ) \
1141: ( 0xAF == ((const U8*)s)[0] ) ? \
1142 ( ( 0x48 == ((const U8*)s)[1] ) ? 2 : 0 ) \
e42cde6b 1143: ( inRANGE(((const U8*)s)[0], 0xB3, 0xB4 ) ) ? \
29f3ce8f
KW
1144 ( ( 0x70 == ((const U8*)s)[1] ) ? 2 : 0 ) \
1145: ( 0xBF == ((const U8*)s)[0] ) ? \
e42cde6b 1146 ( ( ( 0x63 == ((const U8*)s)[1] ) && ( inRANGE(((const U8*)s)[2], 0x65, 0x69 ) || 0x72 == ((const U8*)s)[2] ) ) ? 3 : 0 )\
29f3ce8f 1147: ( 0xCA == ((const U8*)s)[0] ) ? \
e42cde6b
KW
1148 ( ( ( 0x4A == ((const U8*)s)[1] ) && ( inRANGE(((const U8*)s)[2], 0x51, 0x52 ) ) ) ? 3 : 0 )\
1149: ( ( ( ( 0xDD == ((const U8*)s)[0] ) && ( 0x72 == ((const U8*)s)[1] ) ) && ( 0x67 == ((const U8*)s)[2] ) ) && ( inRANGE(((const U8*)s)[3], 0x41, 0x47 ) ) ) ? 4 : 0 )
a1b2a50f
KW
1150
1151/*** GENERATED CODE ***/
1152#define is_PROBLEMATIC_LOCALE_FOLD_cp(cp) \
1153( cp <= 0xFF || ( 0xFF < cp && \
1154( 0x130 == cp || ( 0x130 < cp && \
e061e593 1155( 0x131 == cp || ( 0x131 < cp && \
a1b2a50f
KW
1156( 0x149 == cp || ( 0x149 < cp && \
1157( 0x178 == cp || ( 0x178 < cp && \
1158( 0x17F == cp || ( 0x17F < cp && \
1159( 0x1F0 == cp || ( 0x1F0 < cp && \
e061e593 1160( 0x307 == cp || ( 0x307 < cp && \
a1b2a50f
KW
1161( 0x39C == cp || ( 0x39C < cp && \
1162( 0x3BC == cp || ( 0x3BC < cp && \
e42cde6b 1163( inRANGE(cp, 0x1E96, 0x1E9A) || ( 0x1E9A < cp && \
a1b2a50f
KW
1164( 0x1E9E == cp || ( 0x1E9E < cp && \
1165( 0x212A == cp || ( 0x212A < cp && \
e42cde6b 1166( 0x212B == cp || inRANGE(cp, 0xFB00, 0xFB06) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) )
a1b2a50f
KW
1167
1168/*
1169 PROBLEMATIC_LOCALE_FOLDEDS_START: The first folded character of folds which are problematic under locale
1170
1171 \p{_Perl_Problematic_Locale_Foldeds_Start}
1172*/
1173/*** GENERATED CODE ***/
1174#define is_PROBLEMATIC_LOCALE_FOLDEDS_START_utf8(s) \
e42cde6b
KW
1175( ( ( ((const U8*)s)[0] <= 0x40 ) || inRANGE(((const U8*)s)[0], 0x4B, 0x50 ) || inRANGE(((const U8*)s)[0], 0x5A, 0x61 ) || inRANGE(((const U8*)s)[0], 0x6B, 0x6F ) || inRANGE(((const U8*)s)[0], 0x79, 0x7F ) || inRANGE(((const U8*)s)[0], 0x81, 0x89 ) || inRANGE(((const U8*)s)[0], 0x91, 0x99 ) || inRANGE(((const U8*)s)[0], 0xA1, 0xA9 ) || 0xAD == ((const U8*)s)[0] || 0xBD == ((const U8*)s)[0] || inRANGE(((const U8*)s)[0], 0xC0, 0xC9 ) || inRANGE(((const U8*)s)[0], 0xD0, 0xD9 ) || 0xE0 == ((const U8*)s)[0] || inRANGE(((const U8*)s)[0], 0xE2, 0xE9 ) || inRANGE(((const U8*)s)[0], 0xF0, 0xF9 ) || 0xFF == ((const U8*)s)[0] ) ? 1\
1176: ( 0x80 == ((const U8*)s)[0] || inRANGE(((const U8*)s)[0], 0x8A, 0x8B ) ) ?\
1177 ( ( inRANGE(((const U8*)s)[1], 0x41, 0x4A ) || inRANGE(((const U8*)s)[1], 0x51, 0x59 ) || inRANGE(((const U8*)s)[1], 0x62, 0x6A ) || inRANGE(((const U8*)s)[1], 0x70, 0x73 ) ) ? 2 : 0 )\
e061e593 1178: ( 0x8D == ((const U8*)s)[0] ) ? \
e42cde6b 1179 ( ( inRANGE(((const U8*)s)[1], 0x57, 0x58 ) ) ? 2 : 0 ) \
29f3ce8f
KW
1180: ( 0x8E == ((const U8*)s)[0] ) ? \
1181 ( ( 0x4A == ((const U8*)s)[1] ) ? 2 : 0 ) \
1182: ( 0x8F == ((const U8*)s)[0] ) ? \
1183 ( ( 0x67 == ((const U8*)s)[1] || 0x73 == ((const U8*)s)[1] ) ? 2 : 0 ) \
e061e593
KW
1184: ( 0x9C == ((const U8*)s)[0] ) ? \
1185 ( ( 0x57 == ((const U8*)s)[1] ) ? 2 : 0 ) \
e42cde6b 1186: ( 0xAB == ((const U8*)s)[0] || inRANGE(((const U8*)s)[0], 0xB3, 0xB4 ) ) ?\
29f3ce8f
KW
1187 ( ( 0x70 == ((const U8*)s)[1] ) ? 2 : 0 ) \
1188: ( 0xBF == ((const U8*)s)[0] ) ? \
e42cde6b 1189 ( ( ( 0x63 == ((const U8*)s)[1] ) && ( inRANGE(((const U8*)s)[2], 0x65, 0x69 ) || 0x72 == ((const U8*)s)[2] ) ) ? 3 : 0 )\
29f3ce8f 1190: ( 0xCA == ((const U8*)s)[0] ) ? \
e42cde6b
KW
1191 ( ( ( 0x4A == ((const U8*)s)[1] ) && ( inRANGE(((const U8*)s)[2], 0x51, 0x52 ) ) ) ? 3 : 0 )\
1192: ( ( ( ( 0xDD == ((const U8*)s)[0] ) && ( 0x72 == ((const U8*)s)[1] ) ) && ( 0x67 == ((const U8*)s)[2] ) ) && ( inRANGE(((const U8*)s)[3], 0x41, 0x47 ) ) ) ? 4 : 0 )
a1b2a50f
KW
1193
1194/*** GENERATED CODE ***/
1195#define is_PROBLEMATIC_LOCALE_FOLDEDS_START_cp(cp) \
1196( cp <= 0xFF || ( 0xFF < cp && \
1197( 0x130 == cp || ( 0x130 < cp && \
e061e593 1198( 0x131 == cp || ( 0x131 < cp && \
a1b2a50f
KW
1199( 0x149 == cp || ( 0x149 < cp && \
1200( 0x178 == cp || ( 0x178 < cp && \
1201( 0x17F == cp || ( 0x17F < cp && \
1202( 0x1F0 == cp || ( 0x1F0 < cp && \
1203( 0x2BC == cp || ( 0x2BC < cp && \
1204( 0x39C == cp || ( 0x39C < cp && \
1205( 0x3BC == cp || ( 0x3BC < cp && \
e42cde6b 1206( inRANGE(cp, 0x1E96, 0x1E9A) || ( 0x1E9A < cp && \
a1b2a50f
KW
1207( 0x1E9E == cp || ( 0x1E9E < cp && \
1208( 0x212A == cp || ( 0x212A < cp && \
e42cde6b 1209( 0x212B == cp || inRANGE(cp, 0xFB00, 0xFB06) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) )
a1b2a50f
KW
1210
1211/*
1212 PATWS: pattern white space
1213
099323b4 1214 \p{_Perl_PatWS}
a1b2a50f
KW
1215*/
1216/*** GENERATED CODE ***/
1217#define is_PATWS_safe(s,e,is_utf8) \
dd9bc2b0 1218( ( LIKELY((e) > (s)) ) ? \
e42cde6b 1219 ( ( 0x05 == ((const U8*)s)[0] || inRANGE(((const U8*)s)[0], 0x0B, 0x0D ) || 0x15 == ((const U8*)s)[0] || 0x25 == ((const U8*)s)[0] || 0x40 == ((const U8*)s)[0] ) ? 1\
29f3ce8f 1220 : ( ( is_utf8 && LIKELY(((e) - (s)) >= UTF8SKIP(s)) ) && ( 0xCA == ((const U8*)s)[0] ) ) ? ( ( 0x41 == ((const U8*)s)[1] ) ?\
e42cde6b
KW
1221 ( ( inRANGE(((const U8*)s)[2], 0x55, 0x56 ) ) ? 3 : 0 ) \
1222 : ( ( 0x42 == ((const U8*)s)[1] ) && ( inRANGE(((const U8*)s)[2], 0x49, 0x4A ) ) ) ? 3 : 0 ) : 0 )\
a1b2a50f
KW
1223: 0 )
1224
1225/*** GENERATED CODE ***/
1226#define is_PATWS_cp(cp) \
1227( 0x05 == cp || ( 0x05 < cp && \
e42cde6b 1228( inRANGE(cp, 0x0B, 0x0D) || ( 0x0D < cp && \
a1b2a50f
KW
1229( 0x15 == cp || ( 0x15 < cp && \
1230( 0x25 == cp || ( 0x25 < cp && \
1231( 0x40 == cp || ( 0x40 < cp && \
1232( 0x200E == cp || ( 0x200E < cp && \
1233( 0x200F == cp || ( 0x200F < cp && \
1234( 0x2028 == cp || 0x2029 == cp ) ) ) ) ) ) ) ) ) ) ) ) ) ) )
1235
1236#endif /* EBCDIC 1047 */
1237
1238#if 'A' == 193 /* EBCDIC 037 */ \
1239 && '\\' == 224 && '[' == 186 && ']' == 187 && '{' == 192 && '}' == 208 \
1240 && '^' == 176 && '~' == 161 && '!' == 90 && '#' == 123 && '|' == 79 \
c11f6329 1241 && '$' == 91 && '@' == 124 && '`' == 121 && '\n' == 37
a1b2a50f
KW
1242/*
1243 LNBREAK: Line Break: \R
1244
1245 "\x0D\x0A" # CRLF - Network (Windows) line ending
1246 \p{VertSpace}
1247*/
1248/*** GENERATED CODE ***/
1249#define is_LNBREAK_safe(s,e,is_utf8) \
1250( ((e)-(s) > 2) ? \
e42cde6b 1251 ( ( inRANGE(((const U8*)s)[0], 0x0B, 0x0C ) || 0x15 == ((const U8*)s)[0] || 0x25 == ((const U8*)s)[0] ) ? 1\
29f3ce8f
KW
1252 : ( 0x0D == ((const U8*)s)[0] ) ? \
1253 ( ( 0x25 == ((const U8*)s)[1] ) ? 2 : 1 ) \
e42cde6b 1254 : ( ( ( ( is_utf8 ) && ( 0xCA == ((const U8*)s)[0] ) ) && ( 0x42 == ((const U8*)s)[1] ) ) && ( inRANGE(((const U8*)s)[2], 0x49, 0x4A ) ) ) ? 3 : 0 )\
a1b2a50f 1255: ((e)-(s) > 1) ? \
e42cde6b 1256 ( ( inRANGE(((const U8*)s)[0], 0x0B, 0x0C ) || 0x15 == ((const U8*)s)[0] || 0x25 == ((const U8*)s)[0] ) ? 1\
29f3ce8f
KW
1257 : ( 0x0D == ((const U8*)s)[0] ) ? \
1258 ( ( 0x25 == ((const U8*)s)[1] ) ? 2 : 1 ) \
a1b2a50f
KW
1259 : 0 ) \
1260: ((e)-(s) > 0) ? \
e42cde6b 1261 ( inRANGE(((const U8*)s)[0], 0x0B, 0x0D ) || 0x15 == ((const U8*)s)[0] || 0x25 == ((const U8*)s)[0] )\
a1b2a50f
KW
1262: 0 )
1263
1264/*** GENERATED CODE ***/
1265#define is_LNBREAK_utf8_safe(s,e) \
1266( ((e)-(s) > 2) ? \
e42cde6b 1267 ( ( inRANGE(((const U8*)s)[0], 0x0B, 0x0C ) || 0x15 == ((const U8*)s)[0] || 0x25 == ((const U8*)s)[0] ) ? 1\
29f3ce8f
KW
1268 : ( 0x0D == ((const U8*)s)[0] ) ? \
1269 ( ( 0x25 == ((const U8*)s)[1] ) ? 2 : 1 ) \
e42cde6b 1270 : ( ( ( 0xCA == ((const U8*)s)[0] ) && ( 0x42 == ((const U8*)s)[1] ) ) && ( inRANGE(((const U8*)s)[2], 0x49, 0x4A ) ) ) ? 3 : 0 )\
a1b2a50f 1271: ((e)-(s) > 1) ? \
e42cde6b 1272 ( ( inRANGE(((const U8*)s)[0], 0x0B, 0x0C ) || 0x15 == ((const U8*)s)[0] || 0x25 == ((const U8*)s)[0] ) ? 1\
29f3ce8f
KW
1273 : ( 0x0D == ((const U8*)s)[0] ) ? \
1274 ( ( 0x25 == ((const U8*)s)[1] ) ? 2 : 1 ) \
a1b2a50f
KW
1275 : 0 ) \
1276: ((e)-(s) > 0) ? \
e42cde6b 1277 ( inRANGE(((const U8*)s)[0], 0x0B, 0x0D ) || 0x15 == ((const U8*)s)[0] || 0x25 == ((const U8*)s)[0] )\
a1b2a50f
KW
1278: 0 )
1279
1280/*** GENERATED CODE ***/
1281#define is_LNBREAK_latin1_safe(s,e) \
1282( ((e)-(s) > 1) ? \
e42cde6b 1283 ( ( inRANGE(((const U8*)s)[0], 0x0B, 0x0C ) || 0x15 == ((const U8*)s)[0] || 0x25 == ((const U8*)s)[0] ) ? 1\
29f3ce8f
KW
1284 : ( 0x0D == ((const U8*)s)[0] ) ? \
1285 ( ( 0x25 == ((const U8*)s)[1] ) ? 2 : 1 ) \
a1b2a50f
KW
1286 : 0 ) \
1287: ((e)-(s) > 0) ? \
e42cde6b 1288 ( inRANGE(((const U8*)s)[0], 0x0B, 0x0D ) || 0x15 == ((const U8*)s)[0] || 0x25 == ((const U8*)s)[0] )\
a1b2a50f
KW
1289: 0 )
1290
1291/*
1292 HORIZWS: Horizontal Whitespace: \h \H
1293
1294 \p{HorizSpace}
1295*/
1296/*** GENERATED CODE ***/
1297#define is_HORIZWS_high(s) \
29f3ce8f
KW
1298( ( 0xBD == ((const U8*)s)[0] ) ? \
1299 ( ( ( 0x62 == ((const U8*)s)[1] ) && ( 0x41 == ((const U8*)s)[2] ) ) ? 3 : 0 )\
1300: ( 0xCA == ((const U8*)s)[0] ) ? \
1301 ( ( 0x41 == ((const U8*)s)[1] ) ? \
e42cde6b 1302 ( ( inRANGE(((const U8*)s)[2], 0x41, 0x4A ) || 0x51 == ((const U8*)s)[2] ) ? 3 : 0 )\
29f3ce8f
KW
1303 : ( 0x42 == ((const U8*)s)[1] ) ? \
1304 ( ( 0x56 == ((const U8*)s)[2] ) ? 3 : 0 ) \
1305 : ( ( 0x43 == ((const U8*)s)[1] ) && ( 0x72 == ((const U8*)s)[2] ) ) ? 3 : 0 )\
1306: ( ( ( 0xCE == ((const U8*)s)[0] ) && ( 0x41 == ((const U8*)s)[1] ) ) && ( 0x41 == ((const U8*)s)[2] ) ) ? 3 : 0 )
a1b2a50f
KW
1307
1308/*** GENERATED CODE ***/
1309#define is_HORIZWS_cp_high(cp) \
1310( 0x1680 == cp || ( 0x1680 < cp && \
e42cde6b 1311( inRANGE(cp, 0x2000, 0x200A) || ( 0x200A < cp && \
a1b2a50f
KW
1312( 0x202F == cp || ( 0x202F < cp && \
1313( 0x205F == cp || 0x3000 == cp ) ) ) ) ) ) )
1314
1315/*
1316 VERTWS: Vertical Whitespace: \v \V
1317
1318 \p{VertSpace}
1319*/
1320/*** GENERATED CODE ***/
1321#define is_VERTWS_high(s) \
e42cde6b 1322( ( ( ( 0xCA == ((const U8*)s)[0] ) && ( 0x42 == ((const U8*)s)[1] ) ) && ( inRANGE(((const U8*)s)[2], 0x49, 0x4A ) ) ) ? 3 : 0 )
a1b2a50f
KW
1323
1324/*** GENERATED CODE ***/
1325#define is_VERTWS_cp_high(cp) \
1326( 0x2028 == cp || 0x2029 == cp )
1327
1328/*
1329 XDIGIT: Hexadecimal digits
1330
1331 \p{XDigit}
1332*/
1333/*** GENERATED CODE ***/
1334#define is_XDIGIT_high(s) \
29f3ce8f 1335( ( ( 0xDD == ((const U8*)s)[0] ) && ( 0x72 == ((const U8*)s)[1] ) ) ? ( ( 0x66 == ((const U8*)s)[2] ) ?\
e42cde6b
KW
1336 ( ( inRANGE(((const U8*)s)[3], 0x57, 0x59 ) || 0x5F == ((const U8*)s)[3] || inRANGE(((const U8*)s)[3], 0x62, 0x67 ) ) ? 4 : 0 )\
1337 : ( ( inRANGE(((const U8*)s)[2], 0x67, 0x68 ) ) && ( inRANGE(((const U8*)s)[3], 0x42, 0x47 ) ) ) ? 4 : 0 ) : 0 )
a1b2a50f
KW
1338
1339/*** GENERATED CODE ***/
1340#define is_XDIGIT_cp_high(cp) \
e42cde6b
KW
1341( inRANGE(cp, 0xFF10, 0xFF19) || ( 0xFF19 < cp && \
1342( inRANGE(cp, 0xFF21, 0xFF26) || inRANGE(cp, 0xFF41, 0xFF46) ) ) )
a1b2a50f
KW
1343
1344/*
1345 XPERLSPACE: \p{XPerlSpace}
1346
1347 \p{XPerlSpace}
1348*/
1349/*** GENERATED CODE ***/
1350#define is_XPERLSPACE_high(s) \
29f3ce8f
KW
1351( ( 0xBD == ((const U8*)s)[0] ) ? \
1352 ( ( ( 0x62 == ((const U8*)s)[1] ) && ( 0x41 == ((const U8*)s)[2] ) ) ? 3 : 0 )\
1353: ( 0xCA == ((const U8*)s)[0] ) ? \
1354 ( ( 0x41 == ((const U8*)s)[1] ) ? \
e42cde6b 1355 ( ( inRANGE(((const U8*)s)[2], 0x41, 0x4A ) || 0x51 == ((const U8*)s)[2] ) ? 3 : 0 )\
29f3ce8f 1356 : ( 0x42 == ((const U8*)s)[1] ) ? \
e42cde6b 1357 ( ( inRANGE(((const U8*)s)[2], 0x49, 0x4A ) || 0x56 == ((const U8*)s)[2] ) ? 3 : 0 )\
29f3ce8f
KW
1358 : ( ( 0x43 == ((const U8*)s)[1] ) && ( 0x72 == ((const U8*)s)[2] ) ) ? 3 : 0 )\
1359: ( ( ( 0xCE == ((const U8*)s)[0] ) && ( 0x41 == ((const U8*)s)[1] ) ) && ( 0x41 == ((const U8*)s)[2] ) ) ? 3 : 0 )
a1b2a50f
KW
1360
1361/*** GENERATED CODE ***/
1362#define is_XPERLSPACE_cp_high(cp) \
1363( 0x1680 == cp || ( 0x1680 < cp && \
e42cde6b 1364( inRANGE(cp, 0x2000, 0x200A) || ( 0x200A < cp && \
a1b2a50f
KW
1365( 0x2028 == cp || ( 0x2028 < cp && \
1366( 0x2029 == cp || ( 0x2029 < cp && \
1367( 0x202F == cp || ( 0x202F < cp && \
1368( 0x205F == cp || 0x3000 == cp ) ) ) ) ) ) ) ) ) ) )
1369
1370/*
a1b2a50f
KW
1371 NONCHAR: Non character code points
1372
099323b4 1373 \p{_Perl_Nchar}
a1b2a50f
KW
1374*/
1375/*** GENERATED CODE ***/
89d986df 1376#define is_NONCHAR_utf8_safe(s,e) \
29f3ce8f
KW
1377( ( ( LIKELY((e) > (s)) ) && ( LIKELY(((e) - (s)) >= UTF8SKIP(s)) ) ) ? ( ( 0xDD == ((const U8*)s)[0] ) ?\
1378 ( ( 0x72 == ((const U8*)s)[1] ) ? \
1379 ( ( 0x55 == ((const U8*)s)[2] ) ? \
e42cde6b 1380 ( ( inRANGE(((const U8*)s)[3], 0x57, 0x59 ) || 0x5F == ((const U8*)s)[3] || inRANGE(((const U8*)s)[3], 0x62, 0x6A ) || inRANGE(((const U8*)s)[3], 0x70, 0x72 ) ) ? 4 : 0 )\
29f3ce8f 1381 : ( 0x56 == ((const U8*)s)[2] ) ? \
e42cde6b
KW
1382 ( ( inRANGE(((const U8*)s)[3], 0x41, 0x4A ) || inRANGE(((const U8*)s)[3], 0x51, 0x56 ) ) ? 4 : 0 )\
1383 : ( ( 0x72 == ((const U8*)s)[2] ) && ( inRANGE(((const U8*)s)[3], 0x71, 0x72 ) ) ) ? 4 : 0 )\
89d986df 1384 : 0 ) \
29f3ce8f 1385 : ( 0xDF == ((const U8*)s)[0] || 0xEA == ((const U8*)s)[0] || 0xEC == ((const U8*)s)[0] ) ?\
e42cde6b 1386 ( ( ( ( 0x72 == ((const U8*)s)[1] ) && ( 0x72 == ((const U8*)s)[2] ) ) && ( inRANGE(((const U8*)s)[3], 0x71, 0x72 ) ) ) ? 4 : 0 )\
29f3ce8f 1387 : ( 0xED == ((const U8*)s)[0] ) ? \
e42cde6b
KW
1388 ( ( ( ( ( ((const U8*)s)[1] == 0x4A || ((const U8*)s)[1] == 0x52 || ( ( ((const U8*)s)[1] & 0xFD ) == 0x54 ) || ((const U8*)s)[1] == 0x58 || ((const U8*)s)[1] == 0x5F || ((const U8*)s)[1] == 0x63 || ( ( ((const U8*)s)[1] & 0xFD ) == 0x65 ) || ((const U8*)s)[1] == 0x69 || ( ( ((const U8*)s)[1] & 0xFD ) == 0x70 ) ) && ( 0x72 == ((const U8*)s)[2] ) ) && ( 0x72 == ((const U8*)s)[3] ) ) && ( inRANGE(((const U8*)s)[4], 0x71, 0x72 ) ) ) ? 5 : 0 )\
1389 : ( ( ( ( ( 0xEE == ((const U8*)s)[0] ) && ( 0x42 == ((const U8*)s)[1] ) ) && ( 0x72 == ((const U8*)s)[2] ) ) && ( 0x72 == ((const U8*)s)[3] ) ) && ( inRANGE(((const U8*)s)[4], 0x71, 0x72 ) ) ) ? 5 : 0 ) : 0 )
a1b2a50f
KW
1390
1391/*
21cb232c 1392 SURROGATE: Surrogate code points
a1b2a50f 1393
099323b4 1394 \p{_Perl_Surrogate}
a1b2a50f
KW
1395*/
1396/*** GENERATED CODE ***/
89d986df 1397#define is_SURROGATE_utf8_safe(s,e) \
e42cde6b 1398( ( ( ( ( ( ((e) - (s)) >= 4 ) && ( 0xDD == ((const U8*)s)[0] ) ) && ( inRANGE(((const U8*)s)[1], 0x64, 0x65 ) ) ) && ( inRANGE(((const U8*)s)[2], 0x41, 0x4A ) || inRANGE(((const U8*)s)[2], 0x51, 0x59 ) || 0x5F == ((const U8*)s)[2] || inRANGE(((const U8*)s)[2], 0x62, 0x6A ) || inRANGE(((const U8*)s)[2], 0x70, 0x72 ) ) ) && ( inRANGE(((const U8*)s)[3], 0x41, 0x4A ) || inRANGE(((const U8*)s)[3], 0x51, 0x59 ) || 0x5F == ((const U8*)s)[3] || inRANGE(((const U8*)s)[3], 0x62, 0x6A ) || inRANGE(((const U8*)s)[3], 0x70, 0x72 ) ) ) ? 4 : 0 )
a1b2a50f
KW
1399
1400/*
a1b2a50f
KW
1401 QUOTEMETA: Meta-characters that \Q should quote
1402
1403 \p{_Perl_Quotemeta}
1404*/
1405/*** GENERATED CODE ***/
1406#define is_QUOTEMETA_high_part0(s) \
e42cde6b
KW
1407( ( 0x51 == ((const U8*)s)[1] ) ? \
1408 ( ( 0x72 == ((const U8*)s)[2] ) ? 3 : 0 ) \
1409 : ( ( 0x52 == ((const U8*)s)[1] ) && ( 0x41 == ((const U8*)s)[2] ) ) ? 3 : 0 )
a1b2a50f
KW
1410
1411
1412/*** GENERATED CODE ***/
1413#define is_QUOTEMETA_high_part1(s) \
e42cde6b
KW
1414( ( 0xBD == ((const U8*)s)[0] ) ? \
1415 ( ( 0x62 == ((const U8*)s)[1] ) ? \
1416 ( ( 0x41 == ((const U8*)s)[2] ) ? 3 : 0 ) \
1417 : ( ( 0x70 == ((const U8*)s)[1] ) && ( inRANGE(((const U8*)s)[2], 0x62, 0x63 ) ) ) ? 3 : 0 )\
1418: ( 0xBE == ((const U8*)s)[0] ) ? \
1419 ( ( ( 0x41 == ((const U8*)s)[1] ) && ( inRANGE(((const U8*)s)[2], 0x52, 0x55 ) ) ) ? 3 : 0 )\
1420: ( 0xCA == ((const U8*)s)[0] ) ? \
1421 ( ( 0x41 == ((const U8*)s)[1] || inRANGE(((const U8*)s)[1], 0x54, 0x59 ) || 0x5F == ((const U8*)s)[1] || inRANGE(((const U8*)s)[1], 0x62, 0x6A ) || inRANGE(((const U8*)s)[1], 0x70, 0x72 ) ) ?\
1422 ( ( inRANGE(((const U8*)s)[2], 0x41, 0x4A ) || inRANGE(((const U8*)s)[2], 0x51, 0x59 ) || 0x5F == ((const U8*)s)[2] || inRANGE(((const U8*)s)[2], 0x62, 0x6A ) || inRANGE(((const U8*)s)[2], 0x70, 0x72 ) ) ? 3 : 0 )\
1423 : ( 0x42 == ((const U8*)s)[1] ) ? \
1424 ( ( inRANGE(((const U8*)s)[2], 0x41, 0x4A ) || inRANGE(((const U8*)s)[2], 0x51, 0x59 ) || 0x5F == ((const U8*)s)[2] || inRANGE(((const U8*)s)[2], 0x62, 0x6A ) || inRANGE(((const U8*)s)[2], 0x70, 0x71 ) ) ? 3 : 0 )\
1425 : ( 0x43 == ((const U8*)s)[1] ) ? \
1426 ( ( inRANGE(((const U8*)s)[2], 0x42, 0x4A ) || inRANGE(((const U8*)s)[2], 0x51, 0x59 ) || 0x5F == ((const U8*)s)[2] || inRANGE(((const U8*)s)[2], 0x63, 0x6A ) || inRANGE(((const U8*)s)[2], 0x70, 0x72 ) ) ? 3 : 0 )\
1427 : ( 0x44 == ((const U8*)s)[1] ) ? \
1428 ( ( inRANGE(((const U8*)s)[2], 0x41, 0x4A ) || inRANGE(((const U8*)s)[2], 0x51, 0x56 ) ) ? 3 : 0 )\
1429 : ( ( 0x53 == ((const U8*)s)[1] ) && ( inRANGE(((const U8*)s)[2], 0x57, 0x59 ) || 0x5F == ((const U8*)s)[2] || inRANGE(((const U8*)s)[2], 0x62, 0x6A ) || inRANGE(((const U8*)s)[2], 0x70, 0x72 ) ) ) ? 3 : 0 )\
1430: ( 0xCB == ((const U8*)s)[0] ) ? \
1431 ( ( inRANGE(((const U8*)s)[1], 0x41, 0x43 ) || inRANGE(((const U8*)s)[1], 0x49, 0x4A ) || inRANGE(((const U8*)s)[1], 0x51, 0x59 ) || 0x5F == ((const U8*)s)[1] || inRANGE(((const U8*)s)[1], 0x62, 0x68 ) || inRANGE(((const U8*)s)[1], 0x70, 0x72 ) ) ?\
1432 ( ( inRANGE(((const U8*)s)[2], 0x41, 0x4A ) || inRANGE(((const U8*)s)[2], 0x51, 0x59 ) || 0x5F == ((const U8*)s)[2] || inRANGE(((const U8*)s)[2], 0x62, 0x6A ) || inRANGE(((const U8*)s)[2], 0x70, 0x72 ) ) ? 3 : 0 )\
29f3ce8f 1433 : ( 0x69 == ((const U8*)s)[1] ) ? \
e42cde6b
KW
1434 ( ( inRANGE(((const U8*)s)[2], 0x41, 0x4A ) || inRANGE(((const U8*)s)[2], 0x51, 0x59 ) || 0x5F == ((const U8*)s)[2] || inRANGE(((const U8*)s)[2], 0x62, 0x63 ) ) ? 3 : 0 )\
1435 : ( ( 0x6A == ((const U8*)s)[1] ) && ( inRANGE(((const U8*)s)[2], 0x62, 0x6A ) || inRANGE(((const U8*)s)[2], 0x70, 0x72 ) ) ) ? 3 : 0 )\
29f3ce8f 1436: ( 0xCC == ((const U8*)s)[0] ) ? \
e42cde6b 1437 ( ( ( inRANGE(((const U8*)s)[1], 0x41, 0x4A ) || inRANGE(((const U8*)s)[1], 0x51, 0x59 ) || 0x5F == ((const U8*)s)[1] || inRANGE(((const U8*)s)[1], 0x62, 0x6A ) || inRANGE(((const U8*)s)[1], 0x70, 0x72 ) ) && ( inRANGE(((const U8*)s)[2], 0x41, 0x4A ) || inRANGE(((const U8*)s)[2], 0x51, 0x59 ) || 0x5F == ((const U8*)s)[2] || inRANGE(((const U8*)s)[2], 0x62, 0x6A ) || inRANGE(((const U8*)s)[2], 0x70, 0x72 ) ) ) ? 3 : 0 )\
29f3ce8f 1438: ( 0xCD == ((const U8*)s)[0] ) ? \
e42cde6b 1439 ( ( ( inRANGE(((const U8*)s)[1], 0x57, 0x59 ) || 0x5F == ((const U8*)s)[1] ) && ( inRANGE(((const U8*)s)[2], 0x41, 0x4A ) || inRANGE(((const U8*)s)[2], 0x51, 0x59 ) || 0x5F == ((const U8*)s)[2] || inRANGE(((const U8*)s)[2], 0x62, 0x6A ) || inRANGE(((const U8*)s)[2], 0x70, 0x72 ) ) ) ? 3 : 0 )\
29f3ce8f
KW
1440: ( 0xCE == ((const U8*)s)[0] ) ? \
1441 ( ( 0x41 == ((const U8*)s)[1] ) ? \
e42cde6b 1442 ( ( inRANGE(((const U8*)s)[2], 0x41, 0x44 ) || inRANGE(((const U8*)s)[2], 0x49, 0x4A ) || inRANGE(((const U8*)s)[2], 0x51, 0x59 ) || 0x5F == ((const U8*)s)[2] || inRANGE(((const U8*)s)[2], 0x62, 0x6A ) || inRANGE(((const U8*)s)[2], 0x70, 0x72 ) ) ? 3 : 0 )\
29f3ce8f
KW
1443 : ( 0x42 == ((const U8*)s)[1] ) ? \
1444 ( ( 0x41 == ((const U8*)s)[2] || 0x57 == ((const U8*)s)[2] ) ? 3 : 0 )\
1445 : ( ( 0x52 == ((const U8*)s)[1] ) && ( 0x45 == ((const U8*)s)[2] ) ) ? 3 : 0 )\
1446: ( 0xDD == ((const U8*)s)[0] ) ? \
1447 ( ( 0x72 == ((const U8*)s)[1] ) ? \
1448 ( ( 0x4A == ((const U8*)s)[2] ) ? \
e42cde6b 1449 ( ( inRANGE(((const U8*)s)[3], 0x71, 0x72 ) ) ? 4 : 0 ) \
29f3ce8f 1450 : ( 0x57 == ((const U8*)s)[2] ) ? \
e42cde6b 1451 ( ( inRANGE(((const U8*)s)[3], 0x41, 0x4A ) || inRANGE(((const U8*)s)[3], 0x51, 0x56 ) ) ? 4 : 0 )\
29f3ce8f 1452 : ( 0x59 == ((const U8*)s)[2] ) ? \
e42cde6b 1453 ( ( inRANGE(((const U8*)s)[3], 0x46, 0x47 ) ) ? 4 : 0 ) \
29f3ce8f
KW
1454 : ( 0x65 == ((const U8*)s)[2] ) ? \
1455 ( ( 0x72 == ((const U8*)s)[3] ) ? 4 : 0 ) \
1456 : ( 0x70 == ((const U8*)s)[2] ) ? \
1457 ( ( 0x41 == ((const U8*)s)[3] ) ? 4 : 0 ) \
e42cde6b 1458 : ( ( 0x72 == ((const U8*)s)[2] ) && ( inRANGE(((const U8*)s)[3], 0x57, 0x59 ) || 0x5F == ((const U8*)s)[3] || inRANGE(((const U8*)s)[3], 0x62, 0x66 ) ) ) ? 4 : 0 )\
a1b2a50f 1459 : 0 ) \
29f3ce8f
KW
1460: ( 0xDF == ((const U8*)s)[0] ) ? \
1461 ( ( 0x56 == ((const U8*)s)[1] ) ? \
e42cde6b
KW
1462 ( ( ( 0x46 == ((const U8*)s)[2] ) && ( inRANGE(((const U8*)s)[3], 0x41, 0x44 ) ) ) ? 4 : 0 )\
1463 : ( ( ( 0x62 == ((const U8*)s)[1] ) && ( 0x52 == ((const U8*)s)[2] ) ) && ( 0x5F == ((const U8*)s)[3] || inRANGE(((const U8*)s)[3], 0x62, 0x68 ) ) ) ? 4 : 0 )\
1464: ( ( ( ( ( 0xED == ((const U8*)s)[0] ) && ( 0x6A == ((const U8*)s)[1] ) ) && ( inRANGE(((const U8*)s)[2], 0x41, 0x44 ) ) ) && ( inRANGE(((const U8*)s)[3], 0x41, 0x4A ) || inRANGE(((const U8*)s)[3], 0x51, 0x59 ) || 0x5F == ((const U8*)s)[3] || inRANGE(((const U8*)s)[3], 0x62, 0x6A ) || inRANGE(((const U8*)s)[3], 0x70, 0x72 ) ) ) && ( inRANGE(((const U8*)s)[4], 0x41, 0x4A ) || inRANGE(((const U8*)s)[4], 0x51, 0x59 ) || 0x5F == ((const U8*)s)[4] || inRANGE(((const U8*)s)[4], 0x62, 0x6A ) || inRANGE(((const U8*)s)[4], 0x70, 0x72 ) ) ) ? 5 : 0 )
a1b2a50f
KW
1465
1466
1467/*** GENERATED CODE ***/
1468#define is_QUOTEMETA_high(s) \
29f3ce8f
KW
1469( ( 0xAF == ((const U8*)s)[0] ) ? \
1470 ( ( 0x56 == ((const U8*)s)[1] ) ? 2 : 0 ) \
1471: ( 0xB7 == ((const U8*)s)[0] ) ? \
1472 ( ( ( 0x57 == ((const U8*)s)[1] ) && ( 0x6A == ((const U8*)s)[2] ) ) ? 3 : 0 )\
e42cde6b 1473: ( 0xBC == ((const U8*)s)[0] ) ? is_QUOTEMETA_high_part0(s) : is_QUOTEMETA_high_part1(s) )
a1b2a50f
KW
1474
1475/*
1476 MULTI_CHAR_FOLD: multi-char strings that are folded to by a single character
1477
1478 &regcharclass_multi_char_folds::multi_char_folds(1)
1479*/
1480/*** GENERATED CODE ***/
1481#define is_MULTI_CHAR_FOLD_utf8_safe_part0(s,e) \
29f3ce8f
KW
1482( ( 0x86 == ((const U8*)s)[1] ) ? \
1483 ( ( 0x89 == ((const U8*)s)[2] || 0x93 == ((const U8*)s)[2] ) ? 3 : 2 )\
1484 : ( 0x89 == ((const U8*)s)[1] || 0x93 == ((const U8*)s)[1] ) ? 2 : 0 )
a1b2a50f
KW
1485
1486
1487/*** GENERATED CODE ***/
1488#define is_MULTI_CHAR_FOLD_utf8_safe_part1(s,e) \
29f3ce8f
KW
1489( ( 0x88 == ((const U8*)s)[0] ) ? \
1490 ( ( ( 0xAE == ((const U8*)s)[1] ) && ( 0x58 == ((const U8*)s)[2] ) ) ? 3 : 0 )\
1491 : ( 0x89 == ((const U8*)s)[0] ) ? \
1492 ( ( ( 0xAD == ((const U8*)s)[1] ) && ( 0x48 == ((const U8*)s)[2] ) ) ? 3 : 0 )\
1493 : ( 0x8E == ((const U8*)s)[0] ) ? \
1494 ( ( ( ( 0x72 == ((const U8*)s)[1] ) && ( 0x8E == ((const U8*)s)[2] ) ) && ( 0x72 == ((const U8*)s)[3] ) ) ? 4 : 0 )\
1495 : ( 0x91 == ((const U8*)s)[0] ) ? \
1496 ( ( ( 0xAD == ((const U8*)s)[1] ) && ( 0x53 == ((const U8*)s)[2] ) ) ? 3 : 0 )\
1497 : ( 0xA2 == ((const U8*)s)[0] ) ? \
e42cde6b 1498 ( ( inRANGE(((const U8*)s)[1], 0xA2, 0xA3 ) ) ? 2 : 0 ) \
29f3ce8f
KW
1499 : ( 0xA3 == ((const U8*)s)[0] ) ? \
1500 ( ( ( 0xAD == ((const U8*)s)[1] ) && ( 0x49 == ((const U8*)s)[2] ) ) ? 3 : 0 )\
1501 : ( 0xA6 == ((const U8*)s)[0] || 0xA8 == ((const U8*)s)[0] ) ? \
1502 ( ( ( 0xAD == ((const U8*)s)[1] ) && ( 0x51 == ((const U8*)s)[2] ) ) ? 3 : 0 )\
1503 : ( 0xAA == ((const U8*)s)[0] ) ? \
1504 ( ( ( 0x6A == ((const U8*)s)[1] ) && ( 0x95 == ((const U8*)s)[2] ) ) ? 3 : 0 )\
1505 : ( 0xB3 == ((const U8*)s)[0] ) ? \
1506 ( ( 0x53 == ((const U8*)s)[1] || 0x55 == ((const U8*)s)[1] ) ? \
1507 ( ( ( 0xB3 == ((const U8*)s)[2] ) && ( 0x67 == ((const U8*)s)[3] ) ) ? 4 : 0 )\
1508 : ( 0x58 == ((const U8*)s)[1] || 0x65 == ((const U8*)s)[1] ) ? \
1509 ( ( 0xAF == ((const U8*)s)[2] ) ? \
1510 ( ( 0x43 == ((const U8*)s)[3] ) ? \
1511 ( ( ( 0xB3 == ((const U8*)s)[4] ) && ( 0x67 == ((const U8*)s)[5] ) ) ? 6 : 4 )\
1512 : 0 ) \
1513 : ( ( 0xB3 == ((const U8*)s)[2] ) && ( 0x67 == ((const U8*)s)[3] ) ) ? 4 : 0 )\
1514 : ( 0x67 == ((const U8*)s)[1] ) ? \
1515 ( ( 0xAD == ((const U8*)s)[2] ) ? \
1516 ( ( 0x49 == ((const U8*)s)[3] ) ? \
1517 ( ( 0xAD == ((const U8*)s)[4] ) ? \
e42cde6b 1518 ( ( inRANGE(((const U8*)s)[5], 0x41, 0x42 ) ) ? 6 : 0 )\
29f3ce8f
KW
1519 : ( ( 0xAF == ((const U8*)s)[4] ) && ( 0x43 == ((const U8*)s)[5] ) ) ? 6 : 0 )\
1520 : 0 ) \
1521 : ( ( 0xAF == ((const U8*)s)[2] ) && ( 0x43 == ((const U8*)s)[3] ) ) ? 4 : 0 )\
1522 : 0 ) \
1523 : ( 0xB4 == ((const U8*)s)[0] ) ? \
1524 ( ( 0x42 == ((const U8*)s)[1] ) ? \
1525 ( ( ( 0xAD == ((const U8*)s)[2] ) && ( 0x5F == ((const U8*)s)[3] ) ) ? 4 : 0 )\
1526 : ( 0x46 == ((const U8*)s)[1] ) ? \
1527 ( ( 0xAD == ((const U8*)s)[2] ) ? \
1528 ( ( 0x49 == ((const U8*)s)[3] ) ? \
1529 ( ( 0xAD == ((const U8*)s)[4] ) ? \
e42cde6b 1530 ( ( inRANGE(((const U8*)s)[5], 0x41, 0x42 ) ) ? 6 : 0 )\
29f3ce8f
KW
1531 : ( ( 0xAF == ((const U8*)s)[4] ) && ( 0x43 == ((const U8*)s)[5] ) ) ? 6 : 0 )\
1532 : ( 0x5F == ((const U8*)s)[3] ) ? \
1533 ( ( 0xAD == ((const U8*)s)[4] ) ? \
e42cde6b 1534 ( ( inRANGE(((const U8*)s)[5], 0x41, 0x42 ) ) ? 6 : 4 )\
29f3ce8f
KW
1535 : ( ( 0xAF == ((const U8*)s)[4] ) && ( 0x43 == ((const U8*)s)[5] ) ) ? 6 : 4 )\
1536 : 0 ) \
1537 : ( ( 0xAF == ((const U8*)s)[2] ) && ( 0x43 == ((const U8*)s)[3] ) ) ? 4 : 0 )\
1538 : ( 0x4A == ((const U8*)s)[1] ) ? \
1539 ( ( 0xAF == ((const U8*)s)[2] ) ? \
1540 ( ( 0x43 == ((const U8*)s)[3] ) ? \
1541 ( ( ( 0xB3 == ((const U8*)s)[4] ) && ( 0x67 == ((const U8*)s)[5] ) ) ? 6 : 4 )\
1542 : 0 ) \
1543 : ( ( 0xB3 == ((const U8*)s)[2] ) && ( 0x67 == ((const U8*)s)[3] ) ) ? 4 : 0 )\
1544 : ( ( ( 0x55 == ((const U8*)s)[1] ) && ( 0xB3 == ((const U8*)s)[2] ) ) && ( 0x67 == ((const U8*)s)[3] ) ) ? 4 : 0 )\
1545 : ( 0xB7 == ((const U8*)s)[0] ) ? \
1546 ( ( 0x52 == ((const U8*)s)[1] ) ? \
1547 ( ( 0x46 == ((const U8*)s)[2] ) ? \
1548 ( ( ( ( 0xB7 == ((const U8*)s)[3] ) && ( 0x53 == ((const U8*)s)[4] ) ) && ( 0x43 == ((const U8*)s)[5] ) ) ? 6 : 0 )\
1549 : ( 0x62 == ((const U8*)s)[2] ) ? \
1550 ( ( ( ( 0xB7 == ((const U8*)s)[3] ) && ( 0x52 == ((const U8*)s)[4] ) ) && ( 0x46 == ((const U8*)s)[5] || 0x52 == ((const U8*)s)[5] || 0x54 == ((const U8*)s)[5] || 0x64 == ((const U8*)s)[5] ) ) ? 6 : 0 )\
1551 : ( ( ( ( 0x71 == ((const U8*)s)[2] ) && ( 0xB7 == ((const U8*)s)[3] ) ) && ( 0x52 == ((const U8*)s)[4] ) ) && ( 0x64 == ((const U8*)s)[5] ) ) ? 6 : 0 )\
1552 : 0 ) \
1553 : ( 0xBF == ((const U8*)s)[0] ) ? \
e42cde6b
KW
1554 ( ( inRANGE(((const U8*)s)[1], 0x66, 0x67 ) ) ? \
1555 ( ( ( ( inRANGE(((const U8*)s)[2], 0x41, 0x48 ) ) && ( 0xB3 == ((const U8*)s)[3] ) ) && ( 0x67 == ((const U8*)s)[4] ) ) ? 5 : 0 )\
1556 : ( ( ( ( 0x69 == ((const U8*)s)[1] ) && ( inRANGE(((const U8*)s)[2], 0x41, 0x48 ) || 0x57 == ((const U8*)s)[2] || 0x62 == ((const U8*)s)[2] || 0x6A == ((const U8*)s)[2] ) ) && ( 0xB3 == ((const U8*)s)[3] ) ) && ( 0x67 == ((const U8*)s)[4] ) ) ? 5 : 0 )\
29f3ce8f
KW
1557 : 0 )
1558
1559
1560/*** GENERATED CODE ***/
1561#define is_MULTI_CHAR_FOLD_utf8_safe_part2(s,e) \
1562( ( 0x81 == ((const U8*)s)[0] ) ? \
1563 ( ( ( 0xAA == ((const U8*)s)[1] ) && ( 0x71 == ((const U8*)s)[2] ) ) ? 3 : 0 )\
1564 : ( 0x86 == ((const U8*)s)[0] ) ? \
1565 ( ( 0x86 == ((const U8*)s)[1] ) ? \
1566 ( ( 0x89 == ((const U8*)s)[2] || 0x93 == ((const U8*)s)[2] ) ? 3 : 2 )\
1567 : ( 0x89 == ((const U8*)s)[1] || 0x93 == ((const U8*)s)[1] ) ? 2 : 0 )\
1568 : ( 0x88 == ((const U8*)s)[0] ) ? \
1569 ( ( ( 0xAE == ((const U8*)s)[1] ) && ( 0x58 == ((const U8*)s)[2] ) ) ? 3 : 0 )\
1570 : ( 0x89 == ((const U8*)s)[0] ) ? \
1571 ( ( ( 0xAD == ((const U8*)s)[1] ) && ( 0x48 == ((const U8*)s)[2] ) ) ? 3 : 0 )\
1572 : ( 0x8E == ((const U8*)s)[0] ) ? \
1573 ( ( ( ( 0x72 == ((const U8*)s)[1] ) && ( 0x8E == ((const U8*)s)[2] ) ) && ( 0x72 == ((const U8*)s)[3] ) ) ? 4 : 0 )\
1574 : ( 0x91 == ((const U8*)s)[0] ) ? \
1575 ( ( ( 0xAD == ((const U8*)s)[1] ) && ( 0x53 == ((const U8*)s)[2] ) ) ? 3 : 0 )\
1576 : ( 0xA2 == ((const U8*)s)[0] ) ? \
e42cde6b 1577 ( ( inRANGE(((const U8*)s)[1], 0xA2, 0xA3 ) ) ? 2 : 0 ) \
29f3ce8f
KW
1578 : ( 0xA3 == ((const U8*)s)[0] ) ? \
1579 ( ( ( 0xAD == ((const U8*)s)[1] ) && ( 0x49 == ((const U8*)s)[2] ) ) ? 3 : 0 )\
1580 : ( 0xA6 == ((const U8*)s)[0] || 0xA8 == ((const U8*)s)[0] ) ? \
1581 ( ( ( 0xAD == ((const U8*)s)[1] ) && ( 0x51 == ((const U8*)s)[2] ) ) ? 3 : 0 )\
1582 : ( 0xAA == ((const U8*)s)[0] ) ? \
1583 ( ( ( 0x6A == ((const U8*)s)[1] ) && ( 0x95 == ((const U8*)s)[2] ) ) ? 3 : 0 )\
1584 : ( 0xB3 == ((const U8*)s)[0] ) ? \
1585 ( ( 0x53 == ((const U8*)s)[1] || 0x55 == ((const U8*)s)[1] ) ? \
1586 ( ( ( 0xB3 == ((const U8*)s)[2] ) && ( 0x67 == ((const U8*)s)[3] ) ) ? 4 : 0 )\
1587 : ( 0x58 == ((const U8*)s)[1] || 0x65 == ((const U8*)s)[1] ) ? \
1588 ( ( 0xAF == ((const U8*)s)[2] ) ? \
1589 ( ( 0x43 == ((const U8*)s)[3] ) ? 4 : 0 ) \
1590 : ( ( 0xB3 == ((const U8*)s)[2] ) && ( 0x67 == ((const U8*)s)[3] ) ) ? 4 : 0 )\
1591 : ( ( ( 0x67 == ((const U8*)s)[1] ) && ( 0xAF == ((const U8*)s)[2] ) ) && ( 0x43 == ((const U8*)s)[3] ) ) ? 4 : 0 )\
1592 : ( 0xB4 == ((const U8*)s)[0] ) ? \
1593 ( ( 0x42 == ((const U8*)s)[1] ) ? \
1594 ( ( ( 0xAD == ((const U8*)s)[2] ) && ( 0x5F == ((const U8*)s)[3] ) ) ? 4 : 0 )\
1595 : ( 0x46 == ((const U8*)s)[1] ) ? \
1596 ( ( 0xAD == ((const U8*)s)[2] ) ? \
1597 ( ( 0x5F == ((const U8*)s)[3] ) ? 4 : 0 ) \
1598 : ( ( 0xAF == ((const U8*)s)[2] ) && ( 0x43 == ((const U8*)s)[3] ) ) ? 4 : 0 )\
1599 : ( 0x4A == ((const U8*)s)[1] ) ? \
1600 ( ( 0xAF == ((const U8*)s)[2] ) ? \
1601 ( ( 0x43 == ((const U8*)s)[3] ) ? 4 : 0 ) \
1602 : ( ( 0xB3 == ((const U8*)s)[2] ) && ( 0x67 == ((const U8*)s)[3] ) ) ? 4 : 0 )\
1603 : ( ( ( 0x55 == ((const U8*)s)[1] ) && ( 0xB3 == ((const U8*)s)[2] ) ) && ( 0x67 == ((const U8*)s)[3] ) ) ? 4 : 0 )\
1604 : ( 0xBF == ((const U8*)s)[0] ) ? \
e42cde6b
KW
1605 ( ( inRANGE(((const U8*)s)[1], 0x66, 0x67 ) ) ? \
1606 ( ( ( ( inRANGE(((const U8*)s)[2], 0x41, 0x48 ) ) && ( 0xB3 == ((const U8*)s)[3] ) ) && ( 0x67 == ((const U8*)s)[4] ) ) ? 5 : 0 )\
1607 : ( ( ( ( 0x69 == ((const U8*)s)[1] ) && ( inRANGE(((const U8*)s)[2], 0x41, 0x48 ) || 0x57 == ((const U8*)s)[2] || 0x62 == ((const U8*)s)[2] || 0x6A == ((const U8*)s)[2] ) ) && ( 0xB3 == ((const U8*)s)[3] ) ) && ( 0x67 == ((const U8*)s)[4] ) ) ? 5 : 0 )\
29f3ce8f
KW
1608 : 0 )
1609
1610
1611/*** GENERATED CODE ***/
1612#define is_MULTI_CHAR_FOLD_utf8_safe_part3(s,e) \
a1b2a50f 1613( ((e)-(s) > 3) ? \
29f3ce8f
KW
1614 ( ( 0x81 == ((const U8*)s)[0] ) ? \
1615 ( ( ( 0xAA == ((const U8*)s)[1] ) && ( 0x71 == ((const U8*)s)[2] ) ) ? 3 : 0 )\
1616 : ( 0x86 == ((const U8*)s)[0] ) ? \
1617 ( ( 0x86 == ((const U8*)s)[1] ) ? \
1618 ( ( 0x89 == ((const U8*)s)[2] || 0x93 == ((const U8*)s)[2] ) ? 3 : 2 )\
1619 : ( 0x89 == ((const U8*)s)[1] || 0x93 == ((const U8*)s)[1] ) ? 2 : 0 )\
1620 : ( 0x88 == ((const U8*)s)[0] ) ? \
1621 ( ( ( 0xAE == ((const U8*)s)[1] ) && ( 0x58 == ((const U8*)s)[2] ) ) ? 3 : 0 )\
1622 : ( 0x89 == ((const U8*)s)[0] ) ? \
1623 ( ( ( 0xAD == ((const U8*)s)[1] ) && ( 0x48 == ((const U8*)s)[2] ) ) ? 3 : 0 )\
1624 : ( 0x8E == ((const U8*)s)[0] ) ? \
1625 ( ( ( ( 0x72 == ((const U8*)s)[1] ) && ( 0x8E == ((const U8*)s)[2] ) ) && ( 0x72 == ((const U8*)s)[3] ) ) ? 4 : 0 )\
1626 : ( 0x91 == ((const U8*)s)[0] ) ? \
1627 ( ( ( 0xAD == ((const U8*)s)[1] ) && ( 0x53 == ((const U8*)s)[2] ) ) ? 3 : 0 )\
1628 : ( 0xA2 == ((const U8*)s)[0] ) ? \
e42cde6b 1629 ( ( inRANGE(((const U8*)s)[1], 0xA2, 0xA3 ) ) ? 2 : 0 ) \
29f3ce8f
KW
1630 : ( 0xA3 == ((const U8*)s)[0] ) ? \
1631 ( ( ( 0xAD == ((const U8*)s)[1] ) && ( 0x49 == ((const U8*)s)[2] ) ) ? 3 : 0 )\
1632 : ( 0xA6 == ((const U8*)s)[0] || 0xA8 == ((const U8*)s)[0] ) ? \
1633 ( ( ( 0xAD == ((const U8*)s)[1] ) && ( 0x51 == ((const U8*)s)[2] ) ) ? 3 : 0 )\
1634 : ( 0xAA == ((const U8*)s)[0] ) ? \
1635 ( ( ( 0x6A == ((const U8*)s)[1] ) && ( 0x95 == ((const U8*)s)[2] ) ) ? 3 : 0 )\
1636 : ( 0xB3 == ((const U8*)s)[0] ) ? \
1637 ( ( 0x53 == ((const U8*)s)[1] || 0x55 == ((const U8*)s)[1] ) ? \
1638 ( ( ( 0xB3 == ((const U8*)s)[2] ) && ( 0x67 == ((const U8*)s)[3] ) ) ? 4 : 0 )\
1639 : ( 0x58 == ((const U8*)s)[1] || 0x65 == ((const U8*)s)[1] ) ? \
1640 ( ( 0xAF == ((const U8*)s)[2] ) ? \
1641 ( ( 0x43 == ((const U8*)s)[3] ) ? 4 : 0 ) \
1642 : ( ( 0xB3 == ((const U8*)s)[2] ) && ( 0x67 == ((const U8*)s)[3] ) ) ? 4 : 0 )\
1643 : ( ( ( 0x67 == ((const U8*)s)[1] ) && ( 0xAF == ((const U8*)s)[2] ) ) && ( 0x43 == ((const U8*)s)[3] ) ) ? 4 : 0 )\
1644 : ( 0xB4 == ((const U8*)s)[0] ) ? \
1645 ( ( 0x42 == ((const U8*)s)[1] ) ? \
1646 ( ( ( 0xAD == ((const U8*)s)[2] ) && ( 0x5F == ((const U8*)s)[3] ) ) ? 4 : 0 )\
1647 : ( 0x46 == ((const U8*)s)[1] ) ? \
1648 ( ( 0xAD == ((const U8*)s)[2] ) ? \
1649 ( ( 0x5F == ((const U8*)s)[3] ) ? 4 : 0 ) \
1650 : ( ( 0xAF == ((const U8*)s)[2] ) && ( 0x43 == ((const U8*)s)[3] ) ) ? 4 : 0 )\
1651 : ( 0x4A == ((const U8*)s)[1] ) ? \
1652 ( ( 0xAF == ((const U8*)s)[2] ) ? \
1653 ( ( 0x43 == ((const U8*)s)[3] ) ? 4 : 0 ) \
1654 : ( ( 0xB3 == ((const U8*)s)[2] ) && ( 0x67 == ((const U8*)s)[3] ) ) ? 4 : 0 )\
1655 : ( ( ( 0x55 == ((const U8*)s)[1] ) && ( 0xB3 == ((const U8*)s)[2] ) ) && ( 0x67 == ((const U8*)s)[3] ) ) ? 4 : 0 )\
a1b2a50f
KW
1656 : 0 ) \
1657: ((e)-(s) > 2) ? \
29f3ce8f
KW
1658 ( ( 0x81 == ((const U8*)s)[0] ) ? \
1659 ( ( ( 0xAA == ((const U8*)s)[1] ) && ( 0x71 == ((const U8*)s)[2] ) ) ? 3 : 0 )\
1660 : ( 0x86 == ((const U8*)s)[0] ) ? \
1661 ( ( 0x86 == ((const U8*)s)[1] ) ? \
1662 ( ( 0x89 == ((const U8*)s)[2] || 0x93 == ((const U8*)s)[2] ) ? 3 : 2 )\
1663 : ( 0x89 == ((const U8*)s)[1] || 0x93 == ((const U8*)s)[1] ) ? 2 : 0 )\
1664 : ( 0x88 == ((const U8*)s)[0] ) ? \
1665 ( ( ( 0xAE == ((const U8*)s)[1] ) && ( 0x58 == ((const U8*)s)[2] ) ) ? 3 : 0 )\
1666 : ( 0x89 == ((const U8*)s)[0] ) ? \
1667 ( ( ( 0xAD == ((const U8*)s)[1] ) && ( 0x48 == ((const U8*)s)[2] ) ) ? 3 : 0 )\
1668 : ( 0x91 == ((const U8*)s)[0] ) ? \
1669 ( ( ( 0xAD == ((const U8*)s)[1] ) && ( 0x53 == ((const U8*)s)[2] ) ) ? 3 : 0 )\
1670 : ( 0xA2 == ((const U8*)s)[0] ) ? \
e42cde6b 1671 ( ( inRANGE(((const U8*)s)[1], 0xA2, 0xA3 ) ) ? 2 : 0 ) \
29f3ce8f
KW
1672 : ( 0xA3 == ((const U8*)s)[0] ) ? \
1673 ( ( ( 0xAD == ((const U8*)s)[1] ) && ( 0x49 == ((const U8*)s)[2] ) ) ? 3 : 0 )\
1674 : ( 0xA6 == ((const U8*)s)[0] || 0xA8 == ((const U8*)s)[0] ) ? \
1675 ( ( ( 0xAD == ((const U8*)s)[1] ) && ( 0x51 == ((const U8*)s)[2] ) ) ? 3 : 0 )\
1676 : ( ( ( 0xAA == ((const U8*)s)[0] ) && ( 0x6A == ((const U8*)s)[1] ) ) && ( 0x95 == ((const U8*)s)[2] ) ) ? 3 : 0 )\
a1b2a50f 1677: ((e)-(s) > 1) ? \
29f3ce8f
KW
1678 ( ( 0x86 == ((const U8*)s)[0] ) ? \
1679 ( ( 0x86 == ((const U8*)s)[1] || 0x89 == ((const U8*)s)[1] || 0x93 == ((const U8*)s)[1] ) ? 2 : 0 )\
e42cde6b 1680 : ( ( 0xA2 == ((const U8*)s)[0] ) && ( inRANGE(((const U8*)s)[1], 0xA2, 0xA3 ) ) ) ? 2 : 0 )\
a1b2a50f
KW
1681: 0 )
1682
1683
1684/*** GENERATED CODE ***/
1685#define is_MULTI_CHAR_FOLD_utf8_safe(s,e) \
1686( ((e)-(s) > 5) ? \
29f3ce8f
KW
1687 ( ( 0x81 == ((const U8*)s)[0] ) ? \
1688 ( ( ( 0xAA == ((const U8*)s)[1] ) && ( 0x71 == ((const U8*)s)[2] ) ) ? 3 : 0 )\
1689 : ( 0x86 == ((const U8*)s)[0] ) ? is_MULTI_CHAR_FOLD_utf8_safe_part0(s,e) : is_MULTI_CHAR_FOLD_utf8_safe_part1(s,e) )\
1690: ((e)-(s) > 4) ? is_MULTI_CHAR_FOLD_utf8_safe_part2(s,e) : is_MULTI_CHAR_FOLD_utf8_safe_part3(s,e) )
a1b2a50f
KW
1691
1692/*
1693 MULTI_CHAR_FOLD: multi-char strings that are folded to by a single character
1694
1695 &regcharclass_multi_char_folds::multi_char_folds(0)
1696*/
1697/*** GENERATED CODE ***/
1698#define is_MULTI_CHAR_FOLD_latin1_safe(s,e) \
1699( ((e)-(s) > 2) ? \
29f3ce8f
KW
1700 ( ( ( ((const U8*)s)[0] & 0xBF ) == 0x86 ) ? \
1701 ( ( ( ((const U8*)s)[1] & 0xBF ) == 0x86 ) ? \
1702 ( ( ( ( ((const U8*)s)[2] & 0xBF ) == 0x89 ) || ( ( ((const U8*)s)[2] & 0xBF ) == 0x93 ) ) ? 3 : 2 )\
1703 : ( ( ( ((const U8*)s)[1] & 0xBF ) == 0x89 ) || ( ( ((const U8*)s)[1] & 0xBF ) == 0x93 ) ) ? 2 : 0 )\
1704 : ( ( ( ((const U8*)s)[0] & 0xBF ) == 0xA2 ) && ( ( ((const U8*)s)[1] & 0xBE ) == 0xA2 ) ) ? 2 : 0 )\
a1b2a50f 1705: ((e)-(s) > 1) ? \
29f3ce8f
KW
1706 ( ( ( ((const U8*)s)[0] & 0xBF ) == 0x86 ) ? \
1707 ( ( ( ( ((const U8*)s)[1] & 0xBF ) == 0x86 ) || ( ( ((const U8*)s)[1] & 0xBF ) == 0x89 ) || ( ( ((const U8*)s)[1] & 0xBF ) == 0x93 ) ) ? 2 : 0 )\
1708 : ( ( ( ((const U8*)s)[0] & 0xBF ) == 0xA2 ) && ( ( ((const U8*)s)[1] & 0xBE ) == 0xA2 ) ) ? 2 : 0 )\
a1b2a50f
KW
1709: 0 )
1710
1711/*
1712 FOLDS_TO_MULTI: characters that fold to multi-char strings
1713
1714 \p{_Perl_Folds_To_Multi_Char}
1715*/
1716/*** GENERATED CODE ***/
1717#define is_FOLDS_TO_MULTI_utf8(s) \
29f3ce8f
KW
1718( ( 0x80 == ((const U8*)s)[0] ) ? \
1719 ( ( 0x72 == ((const U8*)s)[1] ) ? 2 : 0 ) \
e42cde6b 1720: ( 0x8C == ((const U8*)s)[0] || 0x9B == ((const U8*)s)[0] || inRANGE(((const U8*)s)[0], 0xB2, 0xB3 ) ) ?\
29f3ce8f
KW
1721 ( ( 0x57 == ((const U8*)s)[1] ) ? 2 : 0 ) \
1722: ( 0x8D == ((const U8*)s)[0] ) ? \
1723 ( ( 0x4A == ((const U8*)s)[1] ) ? 2 : 0 ) \
1724: ( 0xB7 == ((const U8*)s)[0] ) ? \
1725 ( ( ( 0x53 == ((const U8*)s)[1] ) && ( 0x48 == ((const U8*)s)[2] ) ) ? 3 : 0 )\
1726: ( 0xBF == ((const U8*)s)[0] ) ? \
1727 ( ( 0x62 == ((const U8*)s)[1] ) ? \
e42cde6b 1728 ( ( inRANGE(((const U8*)s)[2], 0x64, 0x68 ) || 0x71 == ((const U8*)s)[2] ) ? 3 : 0 )\
29f3ce8f
KW
1729 : ( 0x68 == ((const U8*)s)[1] ) ? \
1730 ( ( 0x57 == ((const U8*)s)[2] || 0x59 == ((const U8*)s)[2] || 0x62 == ((const U8*)s)[2] || 0x64 == ((const U8*)s)[2] ) ? 3 : 0 )\
1731 : ( 0x6A == ((const U8*)s)[1] ) ? \
e42cde6b 1732 ( ( inRANGE(((const U8*)s)[2], 0x41, 0x4A ) || inRANGE(((const U8*)s)[2], 0x51, 0x59 ) || 0x5F == ((const U8*)s)[2] || inRANGE(((const U8*)s)[2], 0x62, 0x6A ) || inRANGE(((const U8*)s)[2], 0x70, 0x72 ) ) ? 3 : 0 )\
29f3ce8f 1733 : ( 0x70 == ((const U8*)s)[1] ) ? \
e42cde6b 1734 ( ( inRANGE(((const U8*)s)[2], 0x41, 0x4A ) || inRANGE(((const U8*)s)[2], 0x51, 0x56 ) || 0x59 == ((const U8*)s)[2] || 0x5F == ((const U8*)s)[2] || 0x62 == ((const U8*)s)[2] || inRANGE(((const U8*)s)[2], 0x64, 0x65 ) || 0x6A == ((const U8*)s)[2] ) ? 3 : 0 )\
29f3ce8f 1735 : ( 0x71 == ((const U8*)s)[1] ) ? \
e42cde6b 1736 ( ( inRANGE(((const U8*)s)[2], 0x43, 0x45 ) || inRANGE(((const U8*)s)[2], 0x47, 0x48 ) || 0x53 == ((const U8*)s)[2] || 0x59 == ((const U8*)s)[2] || 0x5F == ((const U8*)s)[2] || inRANGE(((const U8*)s)[2], 0x64, 0x65 ) ) ? 3 : 0 )\
29f3ce8f 1737 : ( ( 0x72 == ((const U8*)s)[1] ) && ( ( ( ((const U8*)s)[2] & 0xFB ) == 0x43 ) || ( ( ((const U8*)s)[2] & 0xDE ) == 0x44 ) || ((const U8*)s)[2] == 0x48 || ((const U8*)s)[2] == 0x59 || ((const U8*)s)[2] == 0x5F || ( ( ((const U8*)s)[2] & 0xF7 ) == 0x62 ) ) ) ? 3 : 0 )\
e42cde6b 1738: ( ( ( ( 0xDD == ((const U8*)s)[0] ) && ( 0x71 == ((const U8*)s)[1] ) ) && ( 0x66 == ((const U8*)s)[2] ) ) && ( inRANGE(((const U8*)s)[3], 0x41, 0x47 ) || 0x5F == ((const U8*)s)[3] || inRANGE(((const U8*)s)[3], 0x62, 0x65 ) ) ) ? 4 : 0 )
a1b2a50f
KW
1739
1740/*
1741 PROBLEMATIC_LOCALE_FOLD: characters whose fold is problematic under locale
1742
1743 \p{_Perl_Problematic_Locale_Folds}
1744*/
1745/*** GENERATED CODE ***/
1746#define is_PROBLEMATIC_LOCALE_FOLD_utf8(s) \
e42cde6b 1747( ( ( ((const U8*)s)[0] <= 0x40 ) || inRANGE(((const U8*)s)[0], 0x4B, 0x50 ) || inRANGE(((const U8*)s)[0], 0x5A, 0x5E ) || inRANGE(((const U8*)s)[0], 0x60, 0x61 ) || inRANGE(((const U8*)s)[0], 0x6B, 0x6F ) || inRANGE(((const U8*)s)[0], 0x79, 0x7F ) || inRANGE(((const U8*)s)[0], 0x81, 0x89 ) || inRANGE(((const U8*)s)[0], 0x91, 0x99 ) || inRANGE(((const U8*)s)[0], 0xA1, 0xA9 ) || 0xB0 == ((const U8*)s)[0] || inRANGE(((const U8*)s)[0], 0xBA, 0xBB ) || inRANGE(((const U8*)s)[0], 0xC0, 0xC9 ) || inRANGE(((const U8*)s)[0], 0xD0, 0xD9 ) || 0xE0 == ((const U8*)s)[0] || inRANGE(((const U8*)s)[0], 0xE2, 0xE9 ) || inRANGE(((const U8*)s)[0], 0xF0, 0xF9 ) || 0xFF == ((const U8*)s)[0] ) ? 1\
29f3ce8f 1748: ( 0x78 == ((const U8*)s)[0] || 0x80 == ((const U8*)s)[0] || 0x8A == ((const U8*)s)[0] ) ?\
e42cde6b 1749 ( ( inRANGE(((const U8*)s)[1], 0x41, 0x4A ) || inRANGE(((const U8*)s)[1], 0x51, 0x59 ) || 0x5F == ((const U8*)s)[1] || inRANGE(((const U8*)s)[1], 0x62, 0x6A ) || inRANGE(((const U8*)s)[1], 0x70, 0x72 ) ) ? 2 : 0 )\
e061e593 1750: ( 0x8C == ((const U8*)s)[0] ) ? \
e42cde6b 1751 ( ( inRANGE(((const U8*)s)[1], 0x57, 0x58 ) ) ? 2 : 0 ) \
29f3ce8f
KW
1752: ( 0x8D == ((const U8*)s)[0] ) ? \
1753 ( ( 0x4A == ((const U8*)s)[1] ) ? 2 : 0 ) \
1754: ( 0x8E == ((const U8*)s)[0] ) ? \
1755 ( ( 0x66 == ((const U8*)s)[1] || 0x72 == ((const U8*)s)[1] ) ? 2 : 0 ) \
e061e593
KW
1756: ( 0x9B == ((const U8*)s)[0] ) ? \
1757 ( ( 0x57 == ((const U8*)s)[1] ) ? 2 : 0 ) \
1758: ( 0xAD == ((const U8*)s)[0] ) ? \
1759 ( ( 0x48 == ((const U8*)s)[1] ) ? 2 : 0 ) \
e42cde6b 1760: ( inRANGE(((const U8*)s)[0], 0xB2, 0xB3 ) ) ? \
29f3ce8f
KW
1761 ( ( 0x6A == ((const U8*)s)[1] ) ? 2 : 0 ) \
1762: ( 0xBF == ((const U8*)s)[0] ) ? \
e42cde6b 1763 ( ( ( 0x62 == ((const U8*)s)[1] ) && ( inRANGE(((const U8*)s)[2], 0x64, 0x68 ) || 0x71 == ((const U8*)s)[2] ) ) ? 3 : 0 )\
29f3ce8f 1764: ( 0xCA == ((const U8*)s)[0] ) ? \
e42cde6b
KW
1765 ( ( ( 0x4A == ((const U8*)s)[1] ) && ( inRANGE(((const U8*)s)[2], 0x51, 0x52 ) ) ) ? 3 : 0 )\
1766: ( ( ( ( 0xDD == ((const U8*)s)[0] ) && ( 0x71 == ((const U8*)s)[1] ) ) && ( 0x66 == ((const U8*)s)[2] ) ) && ( inRANGE(((const U8*)s)[3], 0x41, 0x47 ) ) ) ? 4 : 0 )
a1b2a50f
KW
1767
1768/*** GENERATED CODE ***/
1769#define is_PROBLEMATIC_LOCALE_FOLD_cp(cp) \
1770( cp <= 0xFF || ( 0xFF < cp && \
1771( 0x130 == cp || ( 0x130 < cp && \
e061e593 1772( 0x131 == cp || ( 0x131 < cp && \
a1b2a50f
KW
1773( 0x149 == cp || ( 0x149 < cp && \
1774( 0x178 == cp || ( 0x178 < cp && \
1775( 0x17F == cp || ( 0x17F < cp && \
1776( 0x1F0 == cp || ( 0x1F0 < cp && \
e061e593 1777( 0x307 == cp || ( 0x307 < cp && \
a1b2a50f
KW
1778( 0x39C == cp || ( 0x39C < cp && \
1779( 0x3BC == cp || ( 0x3BC < cp && \
e42cde6b 1780( inRANGE(cp, 0x1E96, 0x1E9A) || ( 0x1E9A < cp && \
a1b2a50f
KW
1781( 0x1E9E == cp || ( 0x1E9E < cp && \
1782( 0x212A == cp || ( 0x212A < cp && \
e42cde6b 1783( 0x212B == cp || inRANGE(cp, 0xFB00, 0xFB06) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) )
a1b2a50f
KW
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) \
e42cde6b 1792( ( ( ((const U8*)s)[0] <= 0x40 ) || inRANGE(((const U8*)s)[0], 0x4B, 0x50 ) || inRANGE(((const U8*)s)[0], 0x5A, 0x5E ) || inRANGE(((const U8*)s)[0], 0x60, 0x61 ) || inRANGE(((const U8*)s)[0], 0x6B, 0x6F ) || inRANGE(((const U8*)s)[0], 0x79, 0x7F ) || inRANGE(((const U8*)s)[0], 0x81, 0x89 ) || inRANGE(((const U8*)s)[0], 0x91, 0x99 ) || inRANGE(((const U8*)s)[0], 0xA1, 0xA9 ) || 0xB0 == ((const U8*)s)[0] || inRANGE(((const U8*)s)[0], 0xBA, 0xBB ) || inRANGE(((const U8*)s)[0], 0xC0, 0xC9 ) || inRANGE(((const U8*)s)[0], 0xD0, 0xD9 ) || 0xE0 == ((const U8*)s)[0] || inRANGE(((const U8*)s)[0], 0xE2, 0xE9 ) || inRANGE(((const U8*)s)[0], 0xF0, 0xF9 ) || 0xFF == ((const U8*)s)[0] ) ? 1\
29f3ce8f 1793: ( 0x78 == ((const U8*)s)[0] || 0x80 == ((const U8*)s)[0] || 0x8A == ((const U8*)s)[0] ) ?\
e42cde6b 1794 ( ( inRANGE(((const U8*)s)[1], 0x41, 0x4A ) || inRANGE(((const U8*)s)[1], 0x51, 0x59 ) || 0x5F == ((const U8*)s)[1] || inRANGE(((const U8*)s)[1], 0x62, 0x6A ) || inRANGE(((const U8*)s)[1], 0x70, 0x72 ) ) ? 2 : 0 )\
e061e593 1795: ( 0x8C == ((const U8*)s)[0] ) ? \
e42cde6b 1796 ( ( inRANGE(((const U8*)s)[1], 0x57, 0x58 ) ) ? 2 : 0 ) \
29f3ce8f
KW
1797: ( 0x8D == ((const U8*)s)[0] ) ? \
1798 ( ( 0x4A == ((const U8*)s)[1] ) ? 2 : 0 ) \
1799: ( 0x8E == ((const U8*)s)[0] ) ? \
1800 ( ( 0x66 == ((const U8*)s)[1] || 0x72 == ((const U8*)s)[1] ) ? 2 : 0 ) \
e061e593
KW
1801: ( 0x9B == ((const U8*)s)[0] ) ? \
1802 ( ( 0x57 == ((const U8*)s)[1] ) ? 2 : 0 ) \
e42cde6b 1803: ( 0xAA == ((const U8*)s)[0] || inRANGE(((const U8*)s)[0], 0xB2, 0xB3 ) ) ?\
29f3ce8f
KW
1804 ( ( 0x6A == ((const U8*)s)[1] ) ? 2 : 0 ) \
1805: ( 0xBF == ((const U8*)s)[0] ) ? \
e42cde6b 1806 ( ( ( 0x62 == ((const U8*)s)[1] ) && ( inRANGE(((const U8*)s)[2], 0x64, 0x68 ) || 0x71 == ((const U8*)s)[2] ) ) ? 3 : 0 )\
29f3ce8f 1807: ( 0xCA == ((const U8*)s)[0] ) ? \
e42cde6b
KW
1808 ( ( ( 0x4A == ((const U8*)s)[1] ) && ( inRANGE(((const U8*)s)[2], 0x51, 0x52 ) ) ) ? 3 : 0 )\
1809: ( ( ( ( 0xDD == ((const U8*)s)[0] ) && ( 0x71 == ((const U8*)s)[1] ) ) && ( 0x66 == ((const U8*)s)[2] ) ) && ( inRANGE(((const U8*)s)[3], 0x41, 0x47 ) ) ) ? 4 : 0 )
a1b2a50f
KW
1810
1811/*** GENERATED CODE ***/
1812#define is_PROBLEMATIC_LOCALE_FOLDEDS_START_cp(cp) \
1813( cp <= 0xFF || ( 0xFF < cp && \
1814( 0x130 == cp || ( 0x130 < cp && \
e061e593 1815( 0x131 == cp || ( 0x131 < cp && \
a1b2a50f
KW
1816( 0x149 == cp || ( 0x149 < cp && \
1817( 0x178 == cp || ( 0x178 < cp && \
1818( 0x17F == cp || ( 0x17F < cp && \
1819( 0x1F0 == cp || ( 0x1F0 < cp && \
1820( 0x2BC == cp || ( 0x2BC < cp && \
1821( 0x39C == cp || ( 0x39C < cp && \
1822( 0x3BC == cp || ( 0x3BC < cp && \
e42cde6b 1823( inRANGE(cp, 0x1E96, 0x1E9A) || ( 0x1E9A < cp && \
a1b2a50f
KW
1824( 0x1E9E == cp || ( 0x1E9E < cp && \
1825( 0x212A == cp || ( 0x212A < cp && \
e42cde6b 1826( 0x212B == cp || inRANGE(cp, 0xFB00, 0xFB06) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) )
a1b2a50f
KW
1827
1828/*
1829 PATWS: pattern white space
1830
099323b4 1831 \p{_Perl_PatWS}
a1b2a50f
KW
1832*/
1833/*** GENERATED CODE ***/
1834#define is_PATWS_safe(s,e,is_utf8) \
dd9bc2b0 1835( ( LIKELY((e) > (s)) ) ? \
e42cde6b 1836 ( ( 0x05 == ((const U8*)s)[0] || inRANGE(((const U8*)s)[0], 0x0B, 0x0D ) || 0x15 == ((const U8*)s)[0] || 0x25 == ((const U8*)s)[0] || 0x40 == ((const U8*)s)[0] ) ? 1\
29f3ce8f 1837 : ( ( is_utf8 && LIKELY(((e) - (s)) >= UTF8SKIP(s)) ) && ( 0xCA == ((const U8*)s)[0] ) ) ? ( ( 0x41 == ((const U8*)s)[1] ) ?\
e42cde6b
KW
1838 ( ( inRANGE(((const U8*)s)[2], 0x55, 0x56 ) ) ? 3 : 0 ) \
1839 : ( ( 0x42 == ((const U8*)s)[1] ) && ( inRANGE(((const U8*)s)[2], 0x49, 0x4A ) ) ) ? 3 : 0 ) : 0 )\
a1b2a50f
KW
1840: 0 )
1841
1842/*** GENERATED CODE ***/
1843#define is_PATWS_cp(cp) \
1844( 0x05 == cp || ( 0x05 < cp && \
e42cde6b 1845( inRANGE(cp, 0x0B, 0x0D) || ( 0x0D < cp && \
a1b2a50f
KW
1846( 0x15 == cp || ( 0x15 < cp && \
1847( 0x25 == cp || ( 0x25 < cp && \
1848( 0x40 == cp || ( 0x40 < cp && \
1849( 0x200E == cp || ( 0x200E < cp && \
1850( 0x200F == cp || ( 0x200F < cp && \
1851( 0x2028 == cp || 0x2029 == cp ) ) ) ) ) ) ) ) ) ) ) ) ) ) )
1852
1853#endif /* EBCDIC 037 */
1854
6a5bc5ac 1855#endif /* PERL_REGCHARCLASS_H_ */
d10c72f2 1856
542a7545 1857/* Generated from:
ab473f03 1858 * d34c77b7e7a94986cc82056919f4ffc1503b73091561e16bd8ef145ac0fd04c5 lib/Unicode/UCD.pm
906f46d9
UC
1859 * fdc543859433c4578ec7991d8c3238a3638d59962eb0db446d0228cccb7a48da lib/unicore/ArabicShaping.txt
1860 * 530831b8bdbb2a8a6bc1f2eef88224991513c7371c16537d0a7e09386a2cd326 lib/unicore/BidiBrackets.txt
1861 * f07f44839398bc33792d988f14fcbcaf382abc3b79119e7e0bb083104260b890 lib/unicore/BidiMirroring.txt
1862 * a1a3ca4381eb91f7b65afe7cb7df615cdcf67993fef4b486585f66b349993a10 lib/unicore/Blocks.txt
1863 * d6caa458afc9a76d86bc2ef26a5423f4e663981904de450c97dd53ee0ab5c125 lib/unicore/CaseFolding.txt
1864 * 08a52bd7f893f5c9a34a6d4cc3a0b2d7a44293ee45fb15d581e729b9f8584dfa lib/unicore/CompositionExclusions.txt
1865 * 269ff9d35cbe3cb05dfadb262a6d9d89d7ad43ac6ecd7ec71f47ec036e174912 lib/unicore/DAge.txt
1866 * b559c5ac28549ec48b9f6f14d189b503d35e33158db6b5f63e6103f51aded2cd lib/unicore/DCoreProperties.txt
1867 * 8b4210273920c013e736332434222b73786e6c468a360710f6799eeace9b3d38 lib/unicore/DNormalizationProps.txt
1868 * f7e61d7cd168d4496c6019148579af3adfd6e0dac8fa7cd98d8617bcd8732b28 lib/unicore/EastAsianWidth.txt
1869 * cb048696ab01434bac59c30e5cb1f682d95022c972d8d1ebd5ea79b3841ba66c lib/unicore/EmojiData.txt
1870 * af2928fa86e77dc2d91ed268270ca13895ede2bf29e9f0f7533f1873c0aeb4b5 lib/unicore/EquivalentUnifiedIdeograph.txt
1871 * 2791813c07488ad72b3943bbcb2eb85bb03222271829c13bf25f79edfb214330 lib/unicore/HangulSyllableType.txt
1872 * 1df3666ef987e492b4323a9cd907738e41656e6428752f4b1f6fd95f9bfc8adb lib/unicore/IndicPositionalCategory.txt
1873 * b3932cf25d7ea43e1bf6be6d45094d4552f753f6b651a7a869464028f1aa88a1 lib/unicore/IndicSyllabicCategory.txt
1874 * 035d78d5e1fb60c3b44fb7049a96c660a6d045be27ac8f4425abfbc3733724de lib/unicore/Jamo.txt
1875 * 5afea13d57e5b11c761a9b2553806b12a5fe4e96b729398d9bf0dd94b7e6d7eb lib/unicore/LineBreak.txt
1876 * 46cce9be0639999e6a903bfa9f1313def3c361c7ae68f411cef244132ee8097b lib/unicore/NameAliases.txt
1877 * 0911bfd49367059219a74c69fb2c1440d256869e713619a2a231afd24357ec6e lib/unicore/NamedSequences.txt
1878 * adf1323156ef56014549698eab7b482a3682c8e02c251a7c19f68e427b391189 lib/unicore/PropList.txt
1879 * 648e1cb9942f02b9358edc52d523803efa491ff576aa7063d4b9aebdef7d7217 lib/unicore/PropValueAliases.txt
1880 * 402e075e4b9d56bf46d32c950d693e5bb52c1a324a652f732401dbf5a9a4d269 lib/unicore/PropertyAliases.txt
1881 * b77739d4b7c35069c10f8e156b71c88c5955800240c22e3a32b2ed3ea9620e5f lib/unicore/ScriptExtensions.txt
1882 * bd327cbb8bffd2e4b40b1e9842c9a7d641d1c4e91c34a41020cf174f3a1c86a1 lib/unicore/Scripts.txt
1883 * 22b1bff498f08633f72468d46eebb65e30dc325fbb6822dde319cb605af014c2 lib/unicore/SpecialCasing.txt
1884 * 57913fdb1c1271fa9fd51dea08d49370f33d5bfda6bbaba348f44d90029ea11d lib/unicore/UnicodeData.txt
1885 * 36900e28ff01fa810d8a7e0848e1075289975188525f2c1d14487d561bbf595a lib/unicore/VerticalOrientation.txt
930ded65
UC
1886 * a6541b2d71764a8bf3f89a134a39b99515eefc858717862993bd15741f2bb03d lib/unicore/auxiliary/GCBTest.txt
1887 * bba2b26eb46b288e5fc2243ae01de14b416a9cd129c61327e55803e1ab77c037 lib/unicore/auxiliary/GraphemeBreakProperty.txt
1888 * 35ebd270ffdc8b9f03d63a3e7f82275de25cd45ab7b0c1741df6c9ee2d9aa62b lib/unicore/auxiliary/LBTest.txt
1889 * 47e2bf8134f0b95e07738a036ab9aece0af2d84924270c9ec8c249bd083ce2e6 lib/unicore/auxiliary/SBTest.txt
1890 * 38b7bf3e47c1c011b3f206fe58c6030bcfa8ae39353324693622c802c7df1ca1 lib/unicore/auxiliary/SentenceBreakProperty.txt
1891 * 99b2cffe7d4695b7eeeffc66c1363a296f752781a5614fd3909730fe66c6b5b7 lib/unicore/auxiliary/WBTest.txt
1892 * 86330d8f33bf5da9243ec01d9a2506335b09d7e916ae7f7094715f776e403bb2 lib/unicore/auxiliary/WordBreakProperty.txt
1893 * a50670c09adf9a7f6e7344bdef81d5c8a2c5d116191c6f141bd772f149d8ecdc lib/unicore/extracted/DBidiClass.txt
1894 * f322f50f30ab890b22d450e997bb51b972ec379ba76caf9a0b15145deddca2dc lib/unicore/extracted/DBinaryProperties.txt
1895 * a857ee16245430a68577c060adbeae6e72cb25aac1dcd5f6c940eb0fdcee31f6 lib/unicore/extracted/DCombiningClass.txt
1896 * e87b7feabfaad5dd17256af5845b4590908cb2ed4ca54ffd9aaaeb194305e024 lib/unicore/extracted/DDecompositionType.txt
1897 * 8c368041e2509f618df29a0eefe97c4901f79b3f2e5f54e2e5b0d5e956b574dd lib/unicore/extracted/DEastAsianWidth.txt
1898 * d4db33ff590a6c80d7c34d2968595586ae59bfb280978470b6e2fa2b34808405 lib/unicore/extracted/DGeneralCategory.txt
1899 * b4ed74c6a72864e0df9d89024699e8ef122859a3d31515bd0c63078b7e606215 lib/unicore/extracted/DJoinGroup.txt
1900 * 2a92a39d6713b8cc9a6d4eb808efaf93c52a4fcc01c149fec9892113838dae8b lib/unicore/extracted/DJoinType.txt
1901 * cb0f591b443cb86b7c5a0ffcd152ec870bf4ad69f53db823510ac42cdf2797eb lib/unicore/extracted/DLineBreak.txt
1902 * 509d58289bba5233a586b1ee9d21c79bee506e7b3d6f6429e688961a53353242 lib/unicore/extracted/DNumType.txt
1903 * 73192b1b7662d9ea424b779bcda06ccbe57a4121bf28ed981a39a78aa5808d06 lib/unicore/extracted/DNumValues.txt
d304e731 1904 * 2109fe6697a0cca88cede7477f9e3818e358605c430f9e21b6297653a1217713 lib/unicore/mktables
906f46d9 1905 * 93cc868487ef3345596041bcb90c302b1b056733bb95233101bc10dc2dbe36b4 lib/unicore/version
c11f6329 1906 * 2680b9254eb236c5c090f11b149605043e8c8433661b96efc4a42fb4709342a5 regen/charset_translations.pl
e42cde6b 1907 * 830144f6afdd047b009754ffa06134397268f6638837fe85283483eb0cfdd558 regen/regcharclass.pl
ab473f03 1908 * c6b0b0b7e4ac4f5a57d203e84194749987477ea55b2366e3b343aadf8cc7d6b5 regen/regcharclass_multi_char_folds.pl
542a7545 1909 * ex: set ro: */