@@ -40,6 +40,7 @@ internal static class PcreConstants
40
40
public const uint EXTENDED_MORE = 0x01000000 ;
41
41
public const uint LITERAL = 0x02000000 ;
42
42
public const uint MATCH_INVALID_UTF = 0x04000000 ;
43
+ public const uint ALT_EXTENDED_CLASS = 0x08000000 ;
43
44
public const uint EXTRA_ALLOW_SURROGATE_ESCAPES = 0x00000001 ;
44
45
public const uint EXTRA_BAD_ESCAPE_IS_LITERAL = 0x00000002 ;
45
46
public const uint EXTRA_MATCH_WORD = 0x00000004 ;
@@ -53,10 +54,15 @@ internal static class PcreConstants
53
54
public const uint EXTRA_ASCII_BSW = 0x00000400 ;
54
55
public const uint EXTRA_ASCII_POSIX = 0x00000800 ;
55
56
public const uint EXTRA_ASCII_DIGIT = 0x00001000 ;
57
+ public const uint EXTRA_PYTHON_OCTAL = 0x00002000 ;
58
+ public const uint EXTRA_NO_BS0 = 0x00004000 ;
59
+ public const uint EXTRA_NEVER_CALLOUT = 0x00008000 ;
60
+ public const uint EXTRA_TURKISH_CASING = 0x00010000 ;
56
61
public const uint JIT_COMPLETE = 0x00000001 ;
57
62
public const uint JIT_PARTIAL_SOFT = 0x00000002 ;
58
63
public const uint JIT_PARTIAL_HARD = 0x00000004 ;
59
64
public const uint JIT_INVALID_UTF = 0x00000100 ;
65
+ public const uint JIT_TEST_ALLOC = 0x00000200 ;
60
66
public const uint NOTBOL = 0x00000001 ;
61
67
public const uint NOTEOL = 0x00000002 ;
62
68
public const uint NOTEMPTY = 0x00000004 ;
@@ -188,8 +194,25 @@ internal static class PcreConstants
188
194
public const int ERROR_ALPHA_ASSERTION_UNKNOWN = 195 ;
189
195
public const int ERROR_SCRIPT_RUN_NOT_AVAILABLE = 196 ;
190
196
public const int ERROR_TOO_MANY_CAPTURES = 197 ;
191
- public const int ERROR_CONDITION_ATOMIC_ASSERTION_EXPECTED = 198 ;
197
+ public const int ERROR_MISSING_OCTAL_DIGIT = 198 ;
192
198
public const int ERROR_BACKSLASH_K_IN_LOOKAROUND = 199 ;
199
+ public const int ERROR_MAX_VAR_LOOKBEHIND_EXCEEDED = 200 ;
200
+ public const int ERROR_PATTERN_COMPILED_SIZE_TOO_BIG = 201 ;
201
+ public const int ERROR_OVERSIZE_PYTHON_OCTAL = 202 ;
202
+ public const int ERROR_CALLOUT_CALLER_DISABLED = 203 ;
203
+ public const int ERROR_EXTRA_CASING_REQUIRES_UNICODE = 204 ;
204
+ public const int ERROR_TURKISH_CASING_REQUIRES_UTF = 205 ;
205
+ public const int ERROR_EXTRA_CASING_INCOMPATIBLE = 206 ;
206
+ public const int ERROR_ECLASS_NEST_TOO_DEEP = 207 ;
207
+ public const int ERROR_ECLASS_INVALID_OPERATOR = 208 ;
208
+ public const int ERROR_ECLASS_UNEXPECTED_OPERATOR = 209 ;
209
+ public const int ERROR_ECLASS_EXPECTED_OPERAND = 210 ;
210
+ public const int ERROR_ECLASS_MIXED_OPERATORS = 211 ;
211
+ public const int ERROR_ECLASS_HINT_SQUARE_BRACKET = 212 ;
212
+ public const int ERROR_PERL_ECLASS_UNEXPECTED_EXPR = 213 ;
213
+ public const int ERROR_PERL_ECLASS_EMPTY_EXPR = 214 ;
214
+ public const int ERROR_PERL_ECLASS_MISSING_CLOSE = 215 ;
215
+ public const int ERROR_PERL_ECLASS_UNEXPECTED_CHAR = 216 ;
193
216
public const int ERROR_NOMATCH = - 1 ;
194
217
public const int ERROR_PARTIAL = - 2 ;
195
218
public const int ERROR_UTF8_ERR1 = - 3 ;
@@ -257,6 +280,9 @@ internal static class PcreConstants
257
280
public const int ERROR_INTERNAL_DUPMATCH = - 65 ;
258
281
public const int ERROR_DFA_UINVALID_UTF = - 66 ;
259
282
public const int ERROR_INVALIDOFFSET = - 67 ;
283
+ public const int ERROR_JIT_UNSUPPORTED = - 68 ;
284
+ public const int ERROR_REPLACECASE = - 69 ;
285
+ public const int ERROR_TOOLARGEREPLACE = - 70 ;
260
286
public const uint INFO_ALLOPTIONS = 0 ;
261
287
public const uint INFO_ARGOPTIONS = 1 ;
262
288
public const uint INFO_BACKREFMAX = 2 ;
@@ -299,6 +325,17 @@ internal static class PcreConstants
299
325
public const uint CONFIG_NEVER_BACKSLASH_C = 13 ;
300
326
public const uint CONFIG_COMPILED_WIDTHS = 14 ;
301
327
public const uint CONFIG_TABLES_LENGTH = 15 ;
328
+ public const uint OPTIMIZATION_NONE = 0 ;
329
+ public const uint OPTIMIZATION_FULL = 1 ;
330
+ public const uint AUTO_POSSESS = 64 ;
331
+ public const uint AUTO_POSSESS_OFF = 65 ;
332
+ public const uint DOTSTAR_ANCHOR = 66 ;
333
+ public const uint DOTSTAR_ANCHOR_OFF = 67 ;
334
+ public const uint START_OPTIMIZE = 68 ;
335
+ public const uint START_OPTIMIZE_OFF = 69 ;
336
+ public const uint SUBSTITUTE_CASE_LOWER = 1 ;
337
+ public const uint SUBSTITUTE_CASE_UPPER = 2 ;
338
+ public const uint SUBSTITUTE_CASE_TITLE_FIRST = 3 ;
302
339
public const uint CALLOUT_STARTMATCH = 0x00000001 ;
303
340
public const uint CALLOUT_BACKTRACK = 0x00000002 ;
304
341
}
0 commit comments