Go to the documentation of this file.Go to the SVN repository for this file.
49 #define XSTRING(s) STRING(s)
67 "\\ at end of pattern\0"
68 "\\c at end of pattern\0"
69 "unrecognized character follows \\\0"
70 "numbers out of order in {} quantifier\0"
72 "number too big in {} quantifier\0"
73 "missing terminating ] for character class\0"
74 "escape sequence is invalid in character class\0"
75 "range out of order in character class\0"
76 "quantifier does not follow a repeatable item\0"
78 "internal error: unexpected repeat\0"
79 "unrecognized character after (? or (?-\0"
80 "POSIX named classes are supported only within a class\0"
81 "POSIX collating elements are not supported\0"
82 "missing closing parenthesis\0"
84 "reference to non-existent subpattern\0"
85 "pattern passed as NULL with non-zero length\0"
86 "unrecognised compile-time option bit(s)\0"
87 "missing ) after (?# comment\0"
88 "parentheses are too deeply nested\0"
90 "regular expression is too large\0"
91 "failed to allocate heap memory\0"
92 "unmatched closing parenthesis\0"
93 "internal error: code overflow\0"
94 "missing closing parenthesis for condition\0"
96 "length of lookbehind assertion is not limited\0"
97 "a relative value of zero is not allowed\0"
98 "conditional subpattern contains more than two branches\0"
99 "assertion expected after (?( or (?(?C)\0"
100 "digit expected after (?+ or (?-\0"
102 "unknown POSIX class name\0"
103 "internal error in pcre2_study(): should not occur\0"
104 "this version of PCRE2 does not have Unicode support\0"
105 "parentheses are too deeply nested (stack check)\0"
106 "character code point value in \\x{} or \\o{} is too large\0"
108 "lookbehind is too complicated\0"
110 "PCRE2 does not support \\F, \\L, \\l, \\N{name}, \\U, or \\u\0"
111 "number after (?C is greater than 255\0"
112 "closing parenthesis for (?C expected\0"
114 "invalid escape sequence in (*VERB) name\0"
115 "unrecognized character after (?P\0"
116 "syntax error in subpattern name (missing terminator?)\0"
117 "two named subpatterns have the same name (PCRE2_DUPNAMES not set)\0"
118 "subpattern name must start with a non-digit\0"
120 "this version of PCRE2 does not have support for \\P, \\p, or \\X\0"
121 "malformed \\P or \\p sequence\0"
122 "unknown property after \\P or \\p\0"
126 "invalid range in character class\0"
127 "octal value is greater than \\377 in 8-bit non-UTF-8 mode\0"
128 "internal error: overran compiling workspace\0"
129 "internal error: previously-checked referenced subpattern not found\0"
130 "DEFINE subpattern contains more than one branch\0"
132 "missing opening brace after \\o\0"
133 "internal error: unknown newline setting\0"
134 "\\g is not followed by a braced, angle-bracketed, or quoted name/number or by a plain number\0"
135 "(?R (recursive pattern call) must be followed by a closing parenthesis\0"
137 "obsolete error (should not occur)\0"
139 "(*VERB) not recognized or malformed\0"
140 "subpattern number is too big\0"
141 "subpattern name expected\0"
142 "internal error: parsed pattern overflow\0"
143 "non-octal character in \\o{} (closing brace missing?)\0"
145 "different names for subpatterns of the same number are not allowed\0"
146 "(*MARK) must have an argument\0"
147 "non-hex character in \\x{} (closing brace missing?)\0"
149 "\\c must be followed by a printable ASCII character\0"
151 "\\c must be followed by a letter or one of [\\]^_?\0"
153 "\\k is not followed by a braced, angle-bracketed, or quoted name\0"
155 "internal error: unknown meta code in check_lookbehinds()\0"
156 "\\N is not supported in a class\0"
157 "callout string is too long\0"
158 "disallowed Unicode code point (>= 0xd800 && <= 0xdfff)\0"
159 "using UTF is disabled by the application\0"
161 "using UCP is disabled by the application\0"
162 "name is too long in (*MARK), (*PRUNE), (*SKIP), or (*THEN)\0"
163 "character code point value in \\u.... sequence is too large\0"
164 "digits missing in \\x{} or \\o{} or \\N{U+}\0"
165 "syntax error or number too big in (?(VERSION condition\0"
167 "internal error: unknown opcode in auto_possessify()\0"
168 "missing terminating delimiter for callout with string argument\0"
169 "unrecognized string delimiter follows (?C\0"
170 "using \\C is disabled by the application\0"
171 "(?| and/or (?J: or (?x: parentheses are too deeply nested\0"
173 "using \\C is disabled in this PCRE2 library\0"
174 "regular expression is too complicated\0"
175 "lookbehind assertion is too long\0"
176 "pattern string is longer than the limit set by the application\0"
177 "internal error: unknown code in parsed pattern\0"
179 "internal error: bad code value in parsed_skip()\0"
180 "PCRE2_EXTRA_ALLOW_SURROGATE_ESCAPES is not allowed in UTF-16 mode\0"
181 "invalid option bits with PCRE2_LITERAL\0"
182 "\\N{U+dddd} is supported only in Unicode (UTF) mode\0"
183 "invalid hyphen in option setting\0"
185 "(*alpha_assertion) not recognized\0"
186 "script runs require Unicode support, which this version of PCRE2 does not have\0"
187 "too many capturing groups (maximum 65535)\0"
188 "atomic assertion expected after (?( or (?(?C)\0"
189 "\\K is not allowed in lookarounds (but see PCRE2_EXTRA_ALLOW_LOOKAROUND_BSK)\0"
191 "branch too long in variable-length lookbehind assertion\0"
192 "compiled pattern would be longer than the limit set by the application\0"
201 "UTF-8 error: 1 byte missing at end\0"
202 "UTF-8 error: 2 bytes missing at end\0"
204 "UTF-8 error: 3 bytes missing at end\0"
205 "UTF-8 error: 4 bytes missing at end\0"
206 "UTF-8 error: 5 bytes missing at end\0"
207 "UTF-8 error: byte 2 top bits not 0x80\0"
208 "UTF-8 error: byte 3 top bits not 0x80\0"
210 "UTF-8 error: byte 4 top bits not 0x80\0"
211 "UTF-8 error: byte 5 top bits not 0x80\0"
212 "UTF-8 error: byte 6 top bits not 0x80\0"
213 "UTF-8 error: 5-byte character is not allowed (RFC 3629)\0"
214 "UTF-8 error: 6-byte character is not allowed (RFC 3629)\0"
216 "UTF-8 error: code points greater than 0x10ffff are not defined\0"
217 "UTF-8 error: code points 0xd800-0xdfff are not defined\0"
218 "UTF-8 error: overlong 2-byte sequence\0"
219 "UTF-8 error: overlong 3-byte sequence\0"
220 "UTF-8 error: overlong 4-byte sequence\0"
222 "UTF-8 error: overlong 5-byte sequence\0"
223 "UTF-8 error: overlong 6-byte sequence\0"
224 "UTF-8 error: isolated byte with 0x80 bit set\0"
225 "UTF-8 error: illegal byte (0xfe or 0xff)\0"
226 "UTF-16 error: missing low surrogate at end\0"
228 "UTF-16 error: invalid low surrogate\0"
229 "UTF-16 error: isolated low surrogate\0"
230 "UTF-32 error: code points 0xd800-0xdfff are not defined\0"
231 "UTF-32 error: code points greater than 0x10ffff are not defined\0"
234 "patterns do not all use the same character tables\0"
235 "magic number missing\0"
236 "pattern compiled in wrong mode: 8/16/32-bit error\0"
240 "invalid replacement string\0"
241 "bad offset into UTF string\0"
242 "callout error code\0"
243 "invalid data in workspace for DFA restart\0"
244 "too much recursion for DFA matching\0"
246 "backreference condition or recursion test is not supported for DFA matching\0"
247 "function is not supported for DFA matching\0"
248 "pattern contains an item that is not supported for DFA matching\0"
249 "workspace size exceeded in DFA matching\0"
250 "internal error - pattern overwritten?\0"
253 "JIT stack limit reached\0"
254 "match limit exceeded\0"
256 "unknown substring\0"
258 "non-unique substring name\0"
259 "NULL argument passed with non-zero length\0"
260 "nested recursion at the same subject position\0"
261 "matching depth limit exceeded\0"
262 "requested value is not available\0"
264 "requested value is not set\0"
265 "offset limit set without PCRE2_USE_OFFSET_LIMIT\0"
266 "bad escape sequence in replacement string\0"
267 "expected closing curly bracket in replacement string\0"
268 "bad substitution in replacement string\0"
270 "match with end before start or start moved backwards is not supported\0"
271 "too many replacements (more than INT_MAX)\0"
272 "bad serialized data\0"
273 "heap limit exceeded\0"
276 "internal error - duplicate substitution match\0"
277 "PCRE2_MATCH_INVALID_UTF is not supported for DFA matching\0"
278 "INTERNAL ERROR: invalid substring offset\0"
303 const unsigned char *message;
314 else if (enumber < 0)
321 message = (
unsigned char *)
"\0";
331 for (
i = 0; *message != 0;
i++)
const struct ncbi::grid::netcache::search::fields::SIZE size
#define PCRE2_CALL_CONVENTION
#define PCRE2_ERROR_BADDATA
#define PCRE2_ERROR_NOMEMORY
#define PCRE2_CODE_UNIT_WIDTH
PCRE2_EXPORT int PCRE2_CALL_CONVENTION pcre2_get_error_message(int enumber, PCRE2_UCHAR *buffer, PCRE2_SIZE size)
static const unsigned char compile_error_texts[]
static const unsigned char match_error_texts[]
#define COMPILE_ERROR_BASE