Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1124)

Side by Side Diff: source/i18n/regexcst.h

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

Powered by Google App Engine
This is Rietveld 408576698