]>
Commit | Line | Data |
---|---|---|
f3c0d7a5 A |
1 | // © 2016 and later: Unicode, Inc. and others. |
2 | // License & terms of use: http://www.unicode.org/copyright.html | |
b75a7d8f A |
3 | //--------------------------------------------------------------------------------- |
4 | // | |
5 | // Generated Header File. Do not edit by hand. | |
6 | // This file contains the state table for the ICU Regular Expression Pattern Parser | |
7 | // It is generated by the Perl script "regexcst.pl" from | |
8 | // the rule parser state definitions file "regexcst.txt". | |
9 | // | |
2ca993e8 | 10 | // Copyright (C) 2002-2016 International Business Machines Corporation |
b75a7d8f A |
11 | // and others. All rights reserved. |
12 | // | |
13 | //--------------------------------------------------------------------------------- | |
14 | #ifndef RBBIRPT_H | |
15 | #define RBBIRPT_H | |
16 | ||
2ca993e8 A |
17 | #include "unicode/utypes.h" |
18 | ||
b75a7d8f A |
19 | U_NAMESPACE_BEGIN |
20 | // | |
21 | // Character classes for regex pattern scanning. | |
22 | // | |
b331163b A |
23 | static const uint8_t kRuleSet_ascii_letter = 128; |
24 | static const uint8_t kRuleSet_digit_char = 129; | |
25 | static const uint8_t kRuleSet_rule_char = 130; | |
b75a7d8f A |
26 | |
27 | ||
28 | enum Regex_PatternParseAction { | |
b331163b A |
29 | doSetBackslash_V, |
30 | doSetBackslash_h, | |
31 | doBeginNamedBackRef, | |
32 | doSetMatchMode, | |
33 | doEnterQuoteMode, | |
b75a7d8f | 34 | doOpenCaptureParen, |
b331163b A |
35 | doContinueNamedCapture, |
36 | doSetBackslash_d, | |
46f4442e | 37 | doBeginMatchMode, |
b331163b A |
38 | doBackslashX, |
39 | doSetPosixProp, | |
40 | doIntervalError, | |
41 | doSetLiteralEscaped, | |
42 | doSetBackslash_s, | |
43 | doNOP, | |
44 | doBackslashv, | |
b75a7d8f | 45 | doOpenLookBehind, |
b331163b | 46 | doPatStart, |
46f4442e | 47 | doPossessiveInterval, |
b331163b | 48 | doOpenAtomicParen, |
b75a7d8f | 49 | doOpenLookAheadNeg, |
b331163b A |
50 | doBackslashd, |
51 | doBackslashZ, | |
52 | doIntervalUpperDigit, | |
53 | doBadNamedCapture, | |
54 | doSetDifference2, | |
46f4442e | 55 | doSetAddAmp, |
b331163b A |
56 | doSetNamedChar, |
57 | doNamedChar, | |
58 | doSetBackslash_H, | |
59 | doBackslashb, | |
60 | doBackslashz, | |
61 | doSetBeginDifference1, | |
62 | doOpenLookAhead, | |
63 | doMatchModeParen, | |
64 | doBackslashV, | |
65 | doIntevalLowerDigit, | |
66 | doCaret, | |
67 | doSetEnd, | |
68 | doSetNegate, | |
69 | doBackslashS, | |
70 | doOrOperator, | |
b75a7d8f | 71 | doBackslashB, |
46f4442e | 72 | doBackslashw, |
b331163b | 73 | doBackslashR, |
46f4442e | 74 | doRuleError, |
b331163b A |
75 | doDotAny, |
76 | doMatchMode, | |
77 | doSetBackslash_W, | |
78 | doNGPlus, | |
79 | doSetBackslash_D, | |
80 | doPossessiveOpt, | |
81 | doSetNamedRange, | |
46f4442e | 82 | doConditionalExpr, |
b331163b A |
83 | doBackslashs, |
84 | doPossessiveStar, | |
85 | doPlus, | |
46f4442e | 86 | doBadOpenParenType, |
b331163b | 87 | doCloseParen, |
46f4442e | 88 | doNGInterval, |
b331163b A |
89 | doSetProp, |
90 | doBackRef, | |
91 | doSetBeginUnion, | |
92 | doEscapeError, | |
93 | doOpt, | |
94 | doSetBeginIntersection1, | |
95 | doPossessivePlus, | |
b75a7d8f | 96 | doBackslashD, |
b331163b A |
97 | doOpenLookBehindNeg, |
98 | doSetBegin, | |
99 | doSetIntersection2, | |
100 | doCompleteNamedBackRef, | |
101 | doSetRange, | |
102 | doDollar, | |
103 | doBackslashH, | |
46f4442e | 104 | doExit, |
46f4442e | 105 | doNGOpt, |
b331163b A |
106 | doOpenNonCaptureParen, |
107 | doBackslashA, | |
108 | doSetBackslash_v, | |
109 | doBackslashh, | |
374ca955 | 110 | doBadModeFlag, |
b331163b A |
111 | doSetNoCloseError, |
112 | doIntervalSame, | |
113 | doSetAddDash, | |
114 | doBackslashW, | |
115 | doPerlInline, | |
116 | doSetOpError, | |
117 | doSetLiteral, | |
118 | doPatFinish, | |
119 | doBeginNamedCapture, | |
46f4442e | 120 | doEscapedLiteralChar, |
b331163b A |
121 | doLiteralChar, |
122 | doSuppressComments, | |
123 | doMismatchedParenErr, | |
124 | doNGStar, | |
125 | doSetFinish, | |
126 | doInterval, | |
127 | doBackslashG, | |
128 | doStar, | |
129 | doSetBackslash_w, | |
130 | doSetBackslash_S, | |
131 | doProperty, | |
132 | doContinueNamedBackRef, | |
133 | doIntervalInit, | |
b75a7d8f A |
134 | rbbiLastAction}; |
135 | ||
136 | //------------------------------------------------------------------------------- | |
137 | // | |
138 | // RegexTableEl represents the structure of a row in the transition table | |
139 | // for the pattern parser state machine. | |
140 | //------------------------------------------------------------------------------- | |
141 | struct RegexTableEl { | |
142 | Regex_PatternParseAction fAction; | |
143 | uint8_t fCharClass; // 0-127: an individual ASCII character | |
144 | // 128-255: character class index | |
145 | uint8_t fNextState; // 0-250: normal next-state numbers | |
146 | // 255: pop next-state from stack. | |
147 | uint8_t fPushState; | |
148 | UBool fNextChar; | |
149 | }; | |
150 | ||
151 | static const struct RegexTableEl gRuleParseStateTable[] = { | |
152 | {doNOP, 0, 0, 0, TRUE} | |
153 | , {doPatStart, 255, 2,0, FALSE} // 1 start | |
154 | , {doLiteralChar, 254, 14,0, TRUE} // 2 term | |
b331163b A |
155 | , {doLiteralChar, 130, 14,0, TRUE} // 3 |
156 | , {doSetBegin, 91 /* [ */, 123, 205, TRUE} // 4 | |
b75a7d8f A |
157 | , {doNOP, 40 /* ( */, 27,0, TRUE} // 5 |
158 | , {doDotAny, 46 /* . */, 14,0, TRUE} // 6 | |
46f4442e A |
159 | , {doCaret, 94 /* ^ */, 14,0, TRUE} // 7 |
160 | , {doDollar, 36 /* $ */, 14,0, TRUE} // 8 | |
b331163b | 161 | , {doNOP, 92 /* \ */, 89,0, TRUE} // 9 |
b75a7d8f A |
162 | , {doOrOperator, 124 /* | */, 2,0, TRUE} // 10 |
163 | , {doCloseParen, 41 /* ) */, 255,0, TRUE} // 11 | |
164 | , {doPatFinish, 253, 2,0, FALSE} // 12 | |
b331163b A |
165 | , {doRuleError, 255, 206,0, FALSE} // 13 |
166 | , {doNOP, 42 /* * */, 68,0, TRUE} // 14 expr-quant | |
167 | , {doNOP, 43 /* + */, 71,0, TRUE} // 15 | |
168 | , {doNOP, 63 /* ? */, 74,0, TRUE} // 16 | |
169 | , {doIntervalInit, 123 /* { */, 77,0, TRUE} // 17 | |
b75a7d8f A |
170 | , {doNOP, 40 /* ( */, 23,0, TRUE} // 18 |
171 | , {doNOP, 255, 20,0, FALSE} // 19 | |
172 | , {doOrOperator, 124 /* | */, 2,0, TRUE} // 20 expr-cont | |
173 | , {doCloseParen, 41 /* ) */, 255,0, TRUE} // 21 | |
174 | , {doNOP, 255, 2,0, FALSE} // 22 | |
175 | , {doSuppressComments, 63 /* ? */, 25,0, TRUE} // 23 open-paren-quant | |
176 | , {doNOP, 255, 27,0, FALSE} // 24 | |
b331163b | 177 | , {doNOP, 35 /* # */, 50, 14, TRUE} // 25 open-paren-quant2 |
b75a7d8f A |
178 | , {doNOP, 255, 29,0, FALSE} // 26 |
179 | , {doSuppressComments, 63 /* ? */, 29,0, TRUE} // 27 open-paren | |
180 | , {doOpenCaptureParen, 255, 2, 14, FALSE} // 28 | |
181 | , {doOpenNonCaptureParen, 58 /* : */, 2, 14, TRUE} // 29 open-paren-extended | |
182 | , {doOpenAtomicParen, 62 /* > */, 2, 14, TRUE} // 30 | |
183 | , {doOpenLookAhead, 61 /* = */, 2, 20, TRUE} // 31 | |
184 | , {doOpenLookAheadNeg, 33 /* ! */, 2, 20, TRUE} // 32 | |
46f4442e | 185 | , {doNOP, 60 /* < */, 46,0, TRUE} // 33 |
b331163b A |
186 | , {doNOP, 35 /* # */, 50, 2, TRUE} // 34 |
187 | , {doBeginMatchMode, 105 /* i */, 53,0, FALSE} // 35 | |
188 | , {doBeginMatchMode, 100 /* d */, 53,0, FALSE} // 36 | |
189 | , {doBeginMatchMode, 109 /* m */, 53,0, FALSE} // 37 | |
190 | , {doBeginMatchMode, 115 /* s */, 53,0, FALSE} // 38 | |
191 | , {doBeginMatchMode, 117 /* u */, 53,0, FALSE} // 39 | |
192 | , {doBeginMatchMode, 119 /* w */, 53,0, FALSE} // 40 | |
193 | , {doBeginMatchMode, 120 /* x */, 53,0, FALSE} // 41 | |
194 | , {doBeginMatchMode, 45 /* - */, 53,0, FALSE} // 42 | |
195 | , {doConditionalExpr, 40 /* ( */, 206,0, TRUE} // 43 | |
196 | , {doPerlInline, 123 /* { */, 206,0, TRUE} // 44 | |
197 | , {doBadOpenParenType, 255, 206,0, FALSE} // 45 | |
46f4442e A |
198 | , {doOpenLookBehind, 61 /* = */, 2, 20, TRUE} // 46 open-paren-lookbehind |
199 | , {doOpenLookBehindNeg, 33 /* ! */, 2, 20, TRUE} // 47 | |
b331163b A |
200 | , {doBeginNamedCapture, 128, 64,0, FALSE} // 48 |
201 | , {doBadOpenParenType, 255, 206,0, FALSE} // 49 | |
202 | , {doNOP, 41 /* ) */, 255,0, TRUE} // 50 paren-comment | |
203 | , {doMismatchedParenErr, 253, 206,0, FALSE} // 51 | |
204 | , {doNOP, 255, 50,0, TRUE} // 52 | |
205 | , {doMatchMode, 105 /* i */, 53,0, TRUE} // 53 paren-flag | |
206 | , {doMatchMode, 100 /* d */, 53,0, TRUE} // 54 | |
207 | , {doMatchMode, 109 /* m */, 53,0, TRUE} // 55 | |
208 | , {doMatchMode, 115 /* s */, 53,0, TRUE} // 56 | |
209 | , {doMatchMode, 117 /* u */, 53,0, TRUE} // 57 | |
210 | , {doMatchMode, 119 /* w */, 53,0, TRUE} // 58 | |
211 | , {doMatchMode, 120 /* x */, 53,0, TRUE} // 59 | |
212 | , {doMatchMode, 45 /* - */, 53,0, TRUE} // 60 | |
213 | , {doSetMatchMode, 41 /* ) */, 2,0, TRUE} // 61 | |
214 | , {doMatchModeParen, 58 /* : */, 2, 14, TRUE} // 62 | |
215 | , {doBadModeFlag, 255, 206,0, FALSE} // 63 | |
216 | , {doContinueNamedCapture, 128, 64,0, TRUE} // 64 named-capture | |
217 | , {doContinueNamedCapture, 129, 64,0, TRUE} // 65 | |
218 | , {doOpenCaptureParen, 62 /* > */, 2, 14, TRUE} // 66 | |
219 | , {doBadNamedCapture, 255, 206,0, FALSE} // 67 | |
220 | , {doNGStar, 63 /* ? */, 20,0, TRUE} // 68 quant-star | |
221 | , {doPossessiveStar, 43 /* + */, 20,0, TRUE} // 69 | |
222 | , {doStar, 255, 20,0, FALSE} // 70 | |
223 | , {doNGPlus, 63 /* ? */, 20,0, TRUE} // 71 quant-plus | |
224 | , {doPossessivePlus, 43 /* + */, 20,0, TRUE} // 72 | |
225 | , {doPlus, 255, 20,0, FALSE} // 73 | |
226 | , {doNGOpt, 63 /* ? */, 20,0, TRUE} // 74 quant-opt | |
227 | , {doPossessiveOpt, 43 /* + */, 20,0, TRUE} // 75 | |
228 | , {doOpt, 255, 20,0, FALSE} // 76 | |
229 | , {doNOP, 129, 79,0, FALSE} // 77 interval-open | |
230 | , {doIntervalError, 255, 206,0, FALSE} // 78 | |
231 | , {doIntevalLowerDigit, 129, 79,0, TRUE} // 79 interval-lower | |
232 | , {doNOP, 44 /* , */, 83,0, TRUE} // 80 | |
233 | , {doIntervalSame, 125 /* } */, 86,0, TRUE} // 81 | |
234 | , {doIntervalError, 255, 206,0, FALSE} // 82 | |
235 | , {doIntervalUpperDigit, 129, 83,0, TRUE} // 83 interval-upper | |
236 | , {doNOP, 125 /* } */, 86,0, TRUE} // 84 | |
237 | , {doIntervalError, 255, 206,0, FALSE} // 85 | |
238 | , {doNGInterval, 63 /* ? */, 20,0, TRUE} // 86 interval-type | |
239 | , {doPossessiveInterval, 43 /* + */, 20,0, TRUE} // 87 | |
240 | , {doInterval, 255, 20,0, FALSE} // 88 | |
241 | , {doBackslashA, 65 /* A */, 2,0, TRUE} // 89 backslash | |
242 | , {doBackslashB, 66 /* B */, 2,0, TRUE} // 90 | |
243 | , {doBackslashb, 98 /* b */, 2,0, TRUE} // 91 | |
244 | , {doBackslashd, 100 /* d */, 14,0, TRUE} // 92 | |
245 | , {doBackslashD, 68 /* D */, 14,0, TRUE} // 93 | |
246 | , {doBackslashG, 71 /* G */, 2,0, TRUE} // 94 | |
247 | , {doBackslashh, 104 /* h */, 14,0, TRUE} // 95 | |
248 | , {doBackslashH, 72 /* H */, 14,0, TRUE} // 96 | |
249 | , {doNOP, 107 /* k */, 115,0, TRUE} // 97 | |
250 | , {doNamedChar, 78 /* N */, 14,0, FALSE} // 98 | |
251 | , {doProperty, 112 /* p */, 14,0, FALSE} // 99 | |
252 | , {doProperty, 80 /* P */, 14,0, FALSE} // 100 | |
253 | , {doBackslashR, 82 /* R */, 14,0, TRUE} // 101 | |
254 | , {doEnterQuoteMode, 81 /* Q */, 2,0, TRUE} // 102 | |
255 | , {doBackslashS, 83 /* S */, 14,0, TRUE} // 103 | |
256 | , {doBackslashs, 115 /* s */, 14,0, TRUE} // 104 | |
257 | , {doBackslashv, 118 /* v */, 14,0, TRUE} // 105 | |
258 | , {doBackslashV, 86 /* V */, 14,0, TRUE} // 106 | |
259 | , {doBackslashW, 87 /* W */, 14,0, TRUE} // 107 | |
260 | , {doBackslashw, 119 /* w */, 14,0, TRUE} // 108 | |
261 | , {doBackslashX, 88 /* X */, 14,0, TRUE} // 109 | |
262 | , {doBackslashZ, 90 /* Z */, 2,0, TRUE} // 110 | |
263 | , {doBackslashz, 122 /* z */, 2,0, TRUE} // 111 | |
264 | , {doBackRef, 129, 14,0, TRUE} // 112 | |
265 | , {doEscapeError, 253, 206,0, FALSE} // 113 | |
266 | , {doEscapedLiteralChar, 255, 14,0, TRUE} // 114 | |
267 | , {doBeginNamedBackRef, 60 /* < */, 117,0, TRUE} // 115 named-backref | |
268 | , {doBadNamedCapture, 255, 206,0, FALSE} // 116 | |
269 | , {doContinueNamedBackRef, 128, 119,0, TRUE} // 117 named-backref-2 | |
270 | , {doBadNamedCapture, 255, 206,0, FALSE} // 118 | |
271 | , {doContinueNamedBackRef, 128, 119,0, TRUE} // 119 named-backref-3 | |
272 | , {doContinueNamedBackRef, 129, 119,0, TRUE} // 120 | |
273 | , {doCompleteNamedBackRef, 62 /* > */, 14,0, TRUE} // 121 | |
274 | , {doBadNamedCapture, 255, 206,0, FALSE} // 122 | |
275 | , {doSetNegate, 94 /* ^ */, 126,0, TRUE} // 123 set-open | |
276 | , {doSetPosixProp, 58 /* : */, 128,0, FALSE} // 124 | |
277 | , {doNOP, 255, 126,0, FALSE} // 125 | |
278 | , {doSetLiteral, 93 /* ] */, 141,0, TRUE} // 126 set-open2 | |
279 | , {doNOP, 255, 131,0, FALSE} // 127 | |
280 | , {doSetEnd, 93 /* ] */, 255,0, TRUE} // 128 set-posix | |
281 | , {doNOP, 58 /* : */, 131,0, FALSE} // 129 | |
282 | , {doRuleError, 255, 206,0, FALSE} // 130 | |
283 | , {doSetEnd, 93 /* ] */, 255,0, TRUE} // 131 set-start | |
284 | , {doSetBeginUnion, 91 /* [ */, 123, 148, TRUE} // 132 | |
285 | , {doNOP, 92 /* \ */, 191,0, TRUE} // 133 | |
286 | , {doNOP, 45 /* - */, 137,0, TRUE} // 134 | |
287 | , {doNOP, 38 /* & */, 139,0, TRUE} // 135 | |
288 | , {doSetLiteral, 255, 141,0, TRUE} // 136 | |
289 | , {doRuleError, 45 /* - */, 206,0, FALSE} // 137 set-start-dash | |
290 | , {doSetAddDash, 255, 141,0, FALSE} // 138 | |
291 | , {doRuleError, 38 /* & */, 206,0, FALSE} // 139 set-start-amp | |
292 | , {doSetAddAmp, 255, 141,0, FALSE} // 140 | |
293 | , {doSetEnd, 93 /* ] */, 255,0, TRUE} // 141 set-after-lit | |
294 | , {doSetBeginUnion, 91 /* [ */, 123, 148, TRUE} // 142 | |
295 | , {doNOP, 45 /* - */, 178,0, TRUE} // 143 | |
296 | , {doNOP, 38 /* & */, 169,0, TRUE} // 144 | |
297 | , {doNOP, 92 /* \ */, 191,0, TRUE} // 145 | |
298 | , {doSetNoCloseError, 253, 206,0, FALSE} // 146 | |
299 | , {doSetLiteral, 255, 141,0, TRUE} // 147 | |
300 | , {doSetEnd, 93 /* ] */, 255,0, TRUE} // 148 set-after-set | |
301 | , {doSetBeginUnion, 91 /* [ */, 123, 148, TRUE} // 149 | |
302 | , {doNOP, 45 /* - */, 171,0, TRUE} // 150 | |
303 | , {doNOP, 38 /* & */, 166,0, TRUE} // 151 | |
304 | , {doNOP, 92 /* \ */, 191,0, TRUE} // 152 | |
305 | , {doSetNoCloseError, 253, 206,0, FALSE} // 153 | |
306 | , {doSetLiteral, 255, 141,0, TRUE} // 154 | |
307 | , {doSetEnd, 93 /* ] */, 255,0, TRUE} // 155 set-after-range | |
308 | , {doSetBeginUnion, 91 /* [ */, 123, 148, TRUE} // 156 | |
309 | , {doNOP, 45 /* - */, 174,0, TRUE} // 157 | |
310 | , {doNOP, 38 /* & */, 176,0, TRUE} // 158 | |
311 | , {doNOP, 92 /* \ */, 191,0, TRUE} // 159 | |
312 | , {doSetNoCloseError, 253, 206,0, FALSE} // 160 | |
313 | , {doSetLiteral, 255, 141,0, TRUE} // 161 | |
314 | , {doSetBeginUnion, 91 /* [ */, 123, 148, TRUE} // 162 set-after-op | |
315 | , {doSetOpError, 93 /* ] */, 206,0, FALSE} // 163 | |
316 | , {doNOP, 92 /* \ */, 191,0, TRUE} // 164 | |
317 | , {doSetLiteral, 255, 141,0, TRUE} // 165 | |
318 | , {doSetBeginIntersection1, 91 /* [ */, 123, 148, TRUE} // 166 set-set-amp | |
319 | , {doSetIntersection2, 38 /* & */, 162,0, TRUE} // 167 | |
320 | , {doSetAddAmp, 255, 141,0, FALSE} // 168 | |
321 | , {doSetIntersection2, 38 /* & */, 162,0, TRUE} // 169 set-lit-amp | |
322 | , {doSetAddAmp, 255, 141,0, FALSE} // 170 | |
323 | , {doSetBeginDifference1, 91 /* [ */, 123, 148, TRUE} // 171 set-set-dash | |
324 | , {doSetDifference2, 45 /* - */, 162,0, TRUE} // 172 | |
325 | , {doSetAddDash, 255, 141,0, FALSE} // 173 | |
326 | , {doSetDifference2, 45 /* - */, 162,0, TRUE} // 174 set-range-dash | |
327 | , {doSetAddDash, 255, 141,0, FALSE} // 175 | |
328 | , {doSetIntersection2, 38 /* & */, 162,0, TRUE} // 176 set-range-amp | |
329 | , {doSetAddAmp, 255, 141,0, FALSE} // 177 | |
330 | , {doSetDifference2, 45 /* - */, 162,0, TRUE} // 178 set-lit-dash | |
331 | , {doSetAddDash, 91 /* [ */, 141,0, FALSE} // 179 | |
332 | , {doSetAddDash, 93 /* ] */, 141,0, FALSE} // 180 | |
333 | , {doNOP, 92 /* \ */, 183,0, TRUE} // 181 | |
334 | , {doSetRange, 255, 155,0, TRUE} // 182 | |
335 | , {doSetOpError, 115 /* s */, 206,0, FALSE} // 183 set-lit-dash-escape | |
336 | , {doSetOpError, 83 /* S */, 206,0, FALSE} // 184 | |
337 | , {doSetOpError, 119 /* w */, 206,0, FALSE} // 185 | |
338 | , {doSetOpError, 87 /* W */, 206,0, FALSE} // 186 | |
339 | , {doSetOpError, 100 /* d */, 206,0, FALSE} // 187 | |
340 | , {doSetOpError, 68 /* D */, 206,0, FALSE} // 188 | |
341 | , {doSetNamedRange, 78 /* N */, 155,0, FALSE} // 189 | |
342 | , {doSetRange, 255, 155,0, TRUE} // 190 | |
343 | , {doSetProp, 112 /* p */, 148,0, FALSE} // 191 set-escape | |
344 | , {doSetProp, 80 /* P */, 148,0, FALSE} // 192 | |
345 | , {doSetNamedChar, 78 /* N */, 141,0, FALSE} // 193 | |
346 | , {doSetBackslash_s, 115 /* s */, 155,0, TRUE} // 194 | |
347 | , {doSetBackslash_S, 83 /* S */, 155,0, TRUE} // 195 | |
348 | , {doSetBackslash_w, 119 /* w */, 155,0, TRUE} // 196 | |
349 | , {doSetBackslash_W, 87 /* W */, 155,0, TRUE} // 197 | |
350 | , {doSetBackslash_d, 100 /* d */, 155,0, TRUE} // 198 | |
351 | , {doSetBackslash_D, 68 /* D */, 155,0, TRUE} // 199 | |
352 | , {doSetBackslash_h, 104 /* h */, 155,0, TRUE} // 200 | |
353 | , {doSetBackslash_H, 72 /* H */, 155,0, TRUE} // 201 | |
354 | , {doSetBackslash_v, 118 /* v */, 155,0, TRUE} // 202 | |
355 | , {doSetBackslash_V, 86 /* V */, 155,0, TRUE} // 203 | |
356 | , {doSetLiteralEscaped, 255, 141,0, TRUE} // 204 | |
357 | , {doSetFinish, 255, 14,0, FALSE} // 205 set-finish | |
358 | , {doExit, 255, 206,0, TRUE} // 206 errorDeath | |
b75a7d8f A |
359 | }; |
360 | static const char * const RegexStateNames[] = { 0, | |
361 | "start", | |
362 | "term", | |
363 | 0, | |
364 | 0, | |
365 | 0, | |
366 | 0, | |
367 | 0, | |
368 | 0, | |
369 | 0, | |
370 | 0, | |
371 | 0, | |
372 | 0, | |
373 | 0, | |
374 | "expr-quant", | |
375 | 0, | |
376 | 0, | |
377 | 0, | |
378 | 0, | |
379 | 0, | |
380 | "expr-cont", | |
381 | 0, | |
382 | 0, | |
383 | "open-paren-quant", | |
384 | 0, | |
385 | "open-paren-quant2", | |
386 | 0, | |
387 | "open-paren", | |
388 | 0, | |
389 | "open-paren-extended", | |
390 | 0, | |
391 | 0, | |
392 | 0, | |
393 | 0, | |
394 | 0, | |
395 | 0, | |
396 | 0, | |
397 | 0, | |
398 | 0, | |
399 | 0, | |
400 | 0, | |
401 | 0, | |
374ca955 | 402 | 0, |
46f4442e A |
403 | 0, |
404 | 0, | |
b75a7d8f A |
405 | 0, |
406 | "open-paren-lookbehind", | |
407 | 0, | |
b331163b | 408 | 0, |
b75a7d8f A |
409 | 0, |
410 | "paren-comment", | |
411 | 0, | |
412 | 0, | |
413 | "paren-flag", | |
414 | 0, | |
415 | 0, | |
416 | 0, | |
417 | 0, | |
418 | 0, | |
419 | 0, | |
374ca955 | 420 | 0, |
46f4442e A |
421 | 0, |
422 | 0, | |
b331163b A |
423 | 0, |
424 | "named-capture", | |
425 | 0, | |
426 | 0, | |
b75a7d8f A |
427 | 0, |
428 | "quant-star", | |
429 | 0, | |
430 | 0, | |
431 | "quant-plus", | |
432 | 0, | |
433 | 0, | |
434 | "quant-opt", | |
435 | 0, | |
436 | 0, | |
437 | "interval-open", | |
b75a7d8f A |
438 | 0, |
439 | "interval-lower", | |
440 | 0, | |
441 | 0, | |
442 | 0, | |
443 | "interval-upper", | |
444 | 0, | |
445 | 0, | |
446 | "interval-type", | |
447 | 0, | |
448 | 0, | |
449 | "backslash", | |
450 | 0, | |
451 | 0, | |
452 | 0, | |
453 | 0, | |
454 | 0, | |
455 | 0, | |
456 | 0, | |
457 | 0, | |
458 | 0, | |
459 | 0, | |
460 | 0, | |
461 | 0, | |
462 | 0, | |
463 | 0, | |
464 | 0, | |
465 | 0, | |
466 | 0, | |
467 | 0, | |
b331163b A |
468 | 0, |
469 | 0, | |
470 | 0, | |
471 | 0, | |
472 | 0, | |
473 | 0, | |
474 | 0, | |
475 | "named-backref", | |
476 | 0, | |
477 | "named-backref-2", | |
478 | 0, | |
479 | "named-backref-3", | |
480 | 0, | |
481 | 0, | |
b75a7d8f | 482 | 0, |
46f4442e A |
483 | "set-open", |
484 | 0, | |
485 | 0, | |
486 | "set-open2", | |
487 | 0, | |
488 | "set-posix", | |
489 | 0, | |
490 | 0, | |
491 | "set-start", | |
492 | 0, | |
493 | 0, | |
494 | 0, | |
495 | 0, | |
496 | 0, | |
497 | "set-start-dash", | |
498 | 0, | |
499 | "set-start-amp", | |
500 | 0, | |
501 | "set-after-lit", | |
502 | 0, | |
503 | 0, | |
504 | 0, | |
505 | 0, | |
506 | 0, | |
507 | 0, | |
508 | "set-after-set", | |
509 | 0, | |
510 | 0, | |
511 | 0, | |
512 | 0, | |
513 | 0, | |
514 | 0, | |
515 | "set-after-range", | |
516 | 0, | |
517 | 0, | |
518 | 0, | |
519 | 0, | |
520 | 0, | |
521 | 0, | |
522 | "set-after-op", | |
523 | 0, | |
524 | 0, | |
525 | 0, | |
526 | "set-set-amp", | |
527 | 0, | |
528 | 0, | |
529 | "set-lit-amp", | |
530 | 0, | |
531 | "set-set-dash", | |
532 | 0, | |
533 | 0, | |
534 | "set-range-dash", | |
535 | 0, | |
536 | "set-range-amp", | |
537 | 0, | |
538 | "set-lit-dash", | |
539 | 0, | |
540 | 0, | |
541 | 0, | |
542 | 0, | |
543 | "set-lit-dash-escape", | |
544 | 0, | |
545 | 0, | |
546 | 0, | |
547 | 0, | |
548 | 0, | |
549 | 0, | |
550 | 0, | |
551 | "set-escape", | |
552 | 0, | |
553 | 0, | |
554 | 0, | |
555 | 0, | |
556 | 0, | |
557 | 0, | |
558 | 0, | |
559 | 0, | |
b331163b A |
560 | 0, |
561 | 0, | |
562 | 0, | |
563 | 0, | |
46f4442e A |
564 | 0, |
565 | "set-finish", | |
b75a7d8f A |
566 | "errorDeath", |
567 | 0}; | |
568 | ||
569 | U_NAMESPACE_END | |
570 | #endif |