Lines Matching refs:A

130 #define A	PCRE2_NEWLINE_ANYCRLF  macro
155 { MU, A, 0, 0, "AbC", "AbAbC" },
156 { MU, A, 0, 0, "ACCEPT", "AACACCACCEACCEPACCEPTACCEPTT" },
157 { CMU, A, 0, 0, "aA#\xc3\xa9\xc3\x81", "aA#Aa#\xc3\x89\xc3\xa1" },
158 { M, A, 0, 0, "[^a]", "aAbB" },
159 { CM, A, 0, 0, "[^m]", "mMnN" },
160 { M, A, 0, 0, "a[^b][^#]", "abacd" },
161 { CM, A, 0, 0, "A[^B][^E]", "abacd" },
162 { CMU, A, 0, 0, "[^x][^#]", "XxBll" },
163 { MU, A, 0, 0, "[^a]", "aaa\xc3\xa1#Ab" },
164 { CMU, A, 0, 0, "[^A]", "aA\xe6\x92\xad" },
165 { MU, A, 0, 0, "\\W(\\W)?\\w", "\r\n+bc" },
166 { MU, A, 0, 0, "\\W(\\W)?\\w", "\n\r+bc" },
167 { MU, A, 0, 0, "\\W(\\W)?\\w", "\r\r+bc" },
168 { MU, A, 0, 0, "\\W(\\W)?\\w", "\n\n+bc" },
169 { MU, A, 0, 0, "[axd]", "sAXd" },
170 { CMU, A, 0, 0, "[axd]", "sAXd" },
171 { CMU, A, 0, 0 | F_NOMATCH, "[^axd]", "DxA" },
172 { MU, A, 0, 0, "[a-dA-C]", "\xe6\x92\xad\xc3\xa9.B" },
173 { MU, A, 0, 0, "[^a-dA-C]", "\xe6\x92\xad\xc3\xa9" },
174 { CMU, A, 0, 0, "[^\xc3\xa9]", "\xc3\xa9\xc3\x89." },
175 { MU, A, 0, 0, "[^\xc3\xa9]", "\xc3\xa9\xc3\x89." },
176 { MU, A, 0, 0, "[^a]", "\xc2\x80[]" },
177 { CMU, A, 0, 0, "\xf0\x90\x90\xa7", "\xf0\x90\x91\x8f" },
178 { CM, A, 0, 0, "1a2b3c4", "1a2B3c51A2B3C4" },
182 { M, A, 0, 0, "\\Ca", "cda" },
183 { CM, A, 0, 0, "\\Ca", "CDA" },
184 { M, A, 0, 0 | F_NOMATCH, "\\Cx", "cda" },
185 { CM, A, 0, 0 | F_NOMATCH, "\\Cx", "CDA" },
186 { CMUP, A, 0, 0, "\xf0\x90\x90\x80\xf0\x90\x90\xa8", "\xf0\x90\x90\xa8\xf0\x90\x90\x80" },
187 { CMUP, A, 0, 0, "\xf0\x90\x90\x80{2}", "\xf0\x90\x90\x80#\xf0\x90\x90\xa8\xf0\x90\x90\x80" },
188 { CMUP, A, 0, 0, "\xf0\x90\x90\xa8{2}", "\xf0\x90\x90\x80#\xf0\x90\x90\xa8\xf0\x90\x90\x80" },
189 { CMUP, A, 0, 0, "\xe1\xbd\xb8\xe1\xbf\xb8", "\xe1\xbf\xb8\xe1\xbd\xb8" },
190 { M, A, 0, 0, "[3-57-9]", "5" },
193 { MU, A, 0, 0, "\\b[^A]", "A_B#" },
194 { M, A, 0, 0 | F_NOMATCH, "\\b\\W", "\n*" },
195 { MU, A, 0, 0, "\\B[^,]\\b[^s]\\b", "#X" },
196 { MP, A, 0, 0, "\\B", "_\xa1" },
197 { MP, A, 0, 0 | F_PROPERTY, "\\b_\\b[,A]\\B", "_," },
198 { MUP, A, 0, 0, "\\b", "\xe6\x92\xad!" },
199 { MUP, A, 0, 0, "\\B", "_\xc2\xa1\xc3\xa1\xc2\x85" },
200 { MUP, A, 0, 0, "\\b[^A]\\B[^c]\\b[^_]\\B", "_\xc3\xa1\xe2\x80\xa8" },
201 { MUP, A, 0, 0, "\\b\\w+\\B", "\xc3\x89\xc2\xa1\xe6\x92\xad\xc3\x81\xc3\xa1" },
202 { MU, A, 0, 0 | F_NOMATCH, "\\b.", "\xcd\xbe" },
203 { CMUP, A, 0, 0, "\\By", "\xf0\x90\x90\xa8y" },
204 { M, A, 0, 0 | F_NOMATCH, "\\R^", "\n" },
205 { M, A, 0, 1 | F_NOMATCH, "^", "\n" },
209 { MU, A, 0, 0, "^-", "\xe2\x80\xa8--\xc2\x85-\r\n-" },
243 { M, A, 0, 0, "\\Aa", "aaa" },
244 { M, A, 0, 1 | F_NOMATCH, "\\Aa", "aaa" },
245 { M, A, 0, 1, "\\Ga", "aaa" },
246 { M, A, 0, 1 | F_NOMATCH, "\\Ga", "aba" },
247 { M, A, 0, 0, "a\\z", "aaa" },
248 { M, A, 0, 0 | F_NOMATCH, "a\\z", "aab" },
251 { MU, A, 0, 0, "(ab|bb|cd)", "bacde" },
252 { MU, A, 0, 0, "(?:ab|a)(bc|c)", "ababc" },
253 { MU, A, 0, 0, "((ab|(cc))|(bb)|(?:cd|efg))", "abac" },
254 { CMU, A, 0, 0, "((aB|(Cc))|(bB)|(?:cd|EFg))", "AcCe" },
255 { MU, A, 0, 0, "((ab|(cc))|(bb)|(?:cd|ebg))", "acebebg" },
256 { MU, A, 0, 0, "(?:(a)|(?:b))(cc|(?:d|e))(a|b)k", "accabdbbccbk" },
257 { MU, A, 0, 0, "\xc7\x82|\xc6\x82", "\xf1\x83\x82\x82\xc7\x82\xc7\x83" },
258 { MU, A, 0, 0, "=\xc7\x82|#\xc6\x82", "\xf1\x83\x82\x82=\xc7\x82\xc7\x83" },
259 { MU, A, 0, 0, "\xc7\x82\xc7\x83|\xc6\x82\xc6\x82", "\xf1\x83\x82\x82\xc7\x82\xc7\x83" },
260 …{ MU, A, 0, 0, "\xc6\x82\xc6\x82|\xc7\x83\xc7\x83|\xc8\x84\xc8\x84", "\xf1\x83\x82\x82\xc8\x84\xc8…
263 { MU, A, 0, 0, "(?:a)?a", "laab" },
264 { CMU, A, 0, 0, "(A)?A", "llaab" },
265 { MU, A, 0, 0, "(a)?\?a", "aab" }, /* ?? is the prefix of trygraphs in GCC. */
266 { MU, A, 0, 0, "(a)?a", "manm" },
267 { CMU, A, 0, 0, "(a|b)?\?d((?:e)?)", "ABABdx" },
268 { MU, A, 0, 0, "(a|b)?\?d((?:e)?)", "abcde" },
269 { MU, A, 0, 0, "((?:ab)?\?g|b(?:g(nn|d)?\?)?)?\?(?:n)?m", "abgnbgnnbgdnmm" },
272 { MU, A, 0, 0, "(aa)+aa", "aaaaaaa" },
273 { MU, A, 0, 0, "(aa)+?aa", "aaaaaaa" },
274 { MU, A, 0, 0, "(?:aba|ab|a)+l", "ababamababal" },
275 { MU, A, 0, 0, "(?:aba|ab|a)+?l", "ababamababal" },
276 { MU, A, 0, 0, "(a(?:bc|cb|b|c)+?|ss)+e", "accssabccbcacbccbbXaccssabccbcacbccbbe" },
277 { MU, A, 0, 0, "(a(?:bc|cb|b|c)+|ss)+?e", "accssabccbcacbccbbXaccssabccbcacbccbbe" },
278 { MU, A, 0, 0, "(?:(b(c)+?)+)?\?(?:(bc)+|(cb)+)+(?:m)+", "bccbcccbcbccbcbPbccbcccbcbccbcbmmn" },
281 { CMU, A, 0, 0, "(?:AA)*AB", "aaaaaaamaaaaaaab" },
282 { MU, A, 0, 0, "(?:aa)*?ab", "aaaaaaamaaaaaaab" },
283 { MU, A, 0, 0, "(aa|ab)*ab", "aaabaaab" },
284 { CMU, A, 0, 0, "(aa|Ab)*?aB", "aaabaaab" },
285 { MU, A, 0, 0, "(a|b)*(?:a)*(?:b)*m", "abbbaaababanabbbaaababamm" },
286 { MU, A, 0, 0, "(a|b)*?(?:a)*?(?:b)*?m", "abbbaaababanabbbaaababamm" },
287 { M, A, 0, 0, "a(a(\\1*)a|(b)b+){0}a", "aa" },
288 { M, A, 0, 0, "((?:a|)*){0}a", "a" },
291 { MU, A, 0, 0, "((bm)+)?\?(?:a)*(bm)+n|((am)+?)?(?:a)+(am)*n", "bmbmabmamaaamambmaman" },
292 { MU, A, 0, 0, "(((ab)?cd)*ef)+g", "abcdcdefcdefefmabcdcdefcdefefgg" },
293 { MU, A, 0, 0, "(((ab)?\?cd)*?ef)+?g", "abcdcdefcdefefmabcdcdefcdefefgg" },
294 { MU, A, 0, 0, "(?:(ab)?c|(?:ab)+?d)*g", "ababcdccababddg" },
295 { MU, A, 0, 0, "(?:(?:ab)?\?c|(ab)+d)*?g", "ababcdccababddg" },
298 { MU, A, 0, 0, "(a+aab)+aaaab", "aaaabcaaaabaabcaabcaaabaaaab" },
299 { MU, A, 0, 0, "(a*a*aab)+x", "aaaaabaabaaabmaabx" },
300 { MU, A, 0, 0, "(a*?(b|ab)a*?)+x", "aaaabcxbbaabaacbaaabaabax" },
301 { MU, A, 0, 0, "(a+(ab|ad)a+)+x", "aaabaaaadaabaaabaaaadaaax" },
302 { MU, A, 0, 0, "(a?(a)a?)+(aaa)", "abaaabaaaaaaaa" },
303 { MU, A, 0, 0, "(a?\?(a)a?\?)+(b)", "aaaacaaacaacacbaaab" },
304 { MU, A, 0, 0, "(a{0,4}(b))+d", "aaaaaabaabcaaaaabaaaaabd" },
305 { MU, A, 0, 0, "(a{0,4}?[^b])+d+(a{0,4}[^b])d+", "aaaaadaaaacaadddaaddd" },
306 { MU, A, 0, 0, "(ba{2})+c", "baabaaabacbaabaac" },
307 { MU, A, 0, 0, "(a*+bc++)+", "aaabbcaaabcccab" },
308 { MU, A, 0, 0, "(a?+[^b])+", "babaacacb" },
309 { MU, A, 0, 0, "(a{0,3}+b)(a{0,3}+b)(a{0,3}+)[^c]", "abaabaaacbaabaaaac" },
310 { CMU, A, 0, 0, "([a-c]+[d-f]+?)+?g", "aBdacdehAbDaFgA" },
311 { CMU, A, 0, 0, "[c-f]+k", "DemmFke" },
312 { MU, A, 0, 0, "([DGH]{0,4}M)+", "GGDGHDGMMHMDHHGHM" },
313 { MU, A, 0, 0, "([a-c]{4,}s)+", "abasabbasbbaabsbba" },
314 { CMU, A, 0, 0, "[ace]{3,7}", "AcbDAcEEcEd" },
315 { CMU, A, 0, 0, "[ace]{3,7}?", "AcbDAcEEcEd" },
316 { CMU, A, 0, 0, "[ace]{3,}", "AcbDAcEEcEd" },
317 { CMU, A, 0, 0, "[ace]{3,}?", "AcbDAcEEcEd" },
318 { MU, A, 0, 0, "[ckl]{2,}?g", "cdkkmlglglkcg" },
319 { CMU, A, 0, 0, "[ace]{5}?", "AcCebDAcEEcEd" },
320 { MU, A, 0, 0, "([AbC]{3,5}?d)+", "BACaAbbAEAACCbdCCbdCCAAbb" },
321 { MU, A, 0, 0, "([^ab]{0,}s){2}", "abaabcdsABamsDDs" },
322 { MU, A, 0, 0, "\\b\\w+\\B", "x,a_cd" },
323 { MUP, A, 0, 0, "\\b[^\xc2\xa1]+\\B", "\xc3\x89\xc2\xa1\xe6\x92\xad\xc3\x81\xc3\xa1" },
324 { CMU, A, 0, 0, "[^b]+(a*)([^c]?d{3})", "aaaaddd" },
325 { CMUP, A, 0, 0, "\xe1\xbd\xb8{2}", "\xe1\xbf\xb8#\xe1\xbf\xb8\xe1\xbd\xb8" },
326 …{ CMU, A, 0, 0, "[^\xf0\x90\x90\x80]{2,4}@", "\xf0\x90\x90\xa8\xf0\x90\x90\x80###\xf0\x90\x90\x80@…
327 { CMU, A, 0, 0, "[^\xe1\xbd\xb8][^\xc3\xa9]", "\xe1\xbd\xb8\xe1\xbf\xb8\xc3\xa9\xc3\x89#" },
328 { MU, A, 0, 0, "[^\xe1\xbd\xb8][^\xc3\xa9]", "\xe1\xbd\xb8\xe1\xbf\xb8\xc3\xa9\xc3\x89#" },
329 { MU, A, 0, 0, "[^\xe1\xbd\xb8]{3,}?", "##\xe1\xbd\xb8#\xe1\xbd\xb8#\xc3\x89#\xe1\xbd\xb8" },
330 { MU, A, 0, 0, "\\d+123", "987654321,01234" },
331 { MU, A, 0, 0, "abcd*|\\w+xy", "aaaaa,abxyz" },
332 { MU, A, 0, 0, "(?:abc|((?:amc|\\b\\w*xy)))", "aaaaa,abxyz" },
333 { MU, A, 0, 0, "a(?R)|([a-z]++)#", ".abcd.abcd#."},
334 { MU, A, 0, 0, "a(?R)|([a-z]++)#", ".abcd.mbcd#."},
335 { MU, A, 0, 0, ".[ab]*.", "xx" },
336 { MU, A, 0, 0, ".[ab]*a", "xxa" },
337 { MU, A, 0, 0, ".[ab]?.", "xx" },
340 { MU, A, 0, 0, "(?:(ab){2}){5}M", "abababababababababababM" },
341 { MU, A, 0, 0, "(?:ab|abab){1,5}M", "abababababababababababM" },
342 { MU, A, 0, 0, "(?>ab|abab){1,5}M", "abababababababababababM" },
343 { MU, A, 0, 0, "(?:ab|abab){1,5}?M", "abababababababababababM" },
344 { MU, A, 0, 0, "(?>ab|abab){1,5}?M", "abababababababababababM" },
345 { MU, A, 0, 0, "(?:(ab){1,4}?){1,3}?M", "abababababababababababababM" },
346 { MU, A, 0, 0, "(?:(ab){1,4}){1,3}abababababababababababM", "ababababababababababababM" },
347 …{ MU, A, 0, 0 | F_NOMATCH, "(?:(ab){1,4}){1,3}abababababababababababM", "abababababababababababM" …
348 { MU, A, 0, 0, "(ab){4,6}?M", "abababababababM" },
351 { MU, A, 0, 0, "(?:\\s)+(?:\\S)+", "ab \t\xc3\xa9\xe6\x92\xad " },
352 { MU, A, 0, 0, "(\\w)*(k)(\\W)?\?", "abcdef abck11" },
353 { MU, A, 0, 0, "\\((\\d)+\\)\\D", "a() (83 (8)2 (9)ab" },
354 { MU, A, 0, 0, "\\w(\\s|(?:\\d)*,)+\\w\\wb", "a 5, 4,, bb 5, 4,, aab" },
355 { MU, A, 0, 0, "(\\v+)(\\V+)", "\x0e\xc2\x85\xe2\x80\xa8\x0b\x09\xe2\x80\xa9" },
356 …{ MU, A, 0, 0, "(\\h+)(\\H+)", "\xe2\x80\xa8\xe2\x80\x80\x20\xe2\x80\x8a\xe2\x81\x9f\xe3\x80\x80\x…
357 { MU, A, 0, 0, "x[bcef]+", "xaxdxecbfg" },
358 { MU, A, 0, 0, "x[bcdghij]+", "xaxexfxdgbjk" },
359 { MU, A, 0, 0, "x[^befg]+", "xbxexacdhg" },
360 { MU, A, 0, 0, "x[^bcdl]+", "xlxbxaekmd" },
361 { MU, A, 0, 0, "x[^bcdghi]+", "xbxdxgxaefji" },
362 { MU, A, 0, 0, "x[B-Fb-f]+", "xaxAxgxbfBFG" },
363 { CMU, A, 0, 0, "\\x{e9}+", "#\xf0\x90\x90\xa8\xc3\xa8\xc3\xa9\xc3\x89\xc3\x88" },
364 { CMU, A, 0, 0, "[^\\x{e9}]+", "\xc3\xa9#\xf0\x90\x90\xa8\xc3\xa8\xc3\x88\xc3\x89" },
365 { MU, A, 0, 0, "[\\x02\\x7e]+", "\xc3\x81\xe1\xbf\xb8\xf0\x90\x90\xa8\x01\x02\x7e\x7f" },
366 { MU, A, 0, 0, "[^\\x02\\x7e]+", "\x02\xc3\x81\xe1\xbf\xb8\xf0\x90\x90\xa8\x01\x7f\x7e" },
367 …{ MU, A, 0, 0, "[\\x{81}-\\x{7fe}]+", "#\xe1\xbf\xb8\xf0\x90\x90\xa8\xc2\x80\xc2\x81\xdf\xbe\xdf\x…
368 …{ MU, A, 0, 0, "[^\\x{81}-\\x{7fe}]+", "\xc2\x81#\xe1\xbf\xb8\xf0\x90\x90\xa8\xc2\x80\xdf\xbf\xdf\…
369 …{ MU, A, 0, 0, "[\\x{801}-\\x{fffe}]+", "#\xc3\xa9\xf0\x90\x90\x80\xe0\xa0\x80\xe0\xa0\x81\xef\xbf…
370 …{ MU, A, 0, 0, "[^\\x{801}-\\x{fffe}]+", "\xe0\xa0\x81#\xc3\xa9\xf0\x90\x90\x80\xe0\xa0\x80\xef\xb…
371 …{ MU, A, 0, 0, "[\\x{10001}-\\x{10fffe}]+", "#\xc3\xa9\xe2\xb1\xa5\xf0\x90\x80\x80\xf0\x90\x80\x81…
372 …{ MU, A, 0, 0, "[^\\x{10001}-\\x{10fffe}]+", "\xf0\x90\x80\x81#\xc3\xa9\xe2\xb1\xa5\xf0\x90\x80\x8…
375 { MUP, A, 0, 0, "[1-5\xc3\xa9\\w]", "\xc3\xa1_" },
376 { MUP, A, 0, 0 | F_PROPERTY, "[\xc3\x81\\p{Ll}]", "A_\xc3\x89\xc3\xa1" },
377 { MUP, A, 0, 0, "[\\Wd-h_x-z]+", "a\xc2\xa1#_yhzdxi" },
378 { MUP, A, 0, 0 | F_NOMATCH | F_PROPERTY, "[\\P{Any}]", "abc" },
379 { MUP, A, 0, 0 | F_NOMATCH | F_PROPERTY, "[^\\p{Any}]", "abc" },
380 { MUP, A, 0, 0 | F_NOMATCH | F_PROPERTY, "[\\P{Any}\xc3\xa1-\xc3\xa8]", "abc" },
381 { MUP, A, 0, 0 | F_NOMATCH | F_PROPERTY, "[^\\p{Any}\xc3\xa1-\xc3\xa8]", "abc" },
382 { MUP, A, 0, 0 | F_NOMATCH | F_PROPERTY, "[\xc3\xa1-\xc3\xa8\\P{Any}]", "abc" },
383 { MUP, A, 0, 0 | F_NOMATCH | F_PROPERTY, "[^\xc3\xa1-\xc3\xa8\\p{Any}]", "abc" },
384 { MUP, A, 0, 0 | F_PROPERTY, "[\xc3\xa1-\xc3\xa8\\p{Any}]", "abc" },
385 { MUP, A, 0, 0 | F_PROPERTY, "[^\xc3\xa1-\xc3\xa8\\P{Any}]", "abc" },
386 { MUP, A, 0, 0, "[b-\xc3\xa9\\s]", "a\xc\xe6\x92\xad" },
387 { CMUP, A, 0, 0, "[\xc2\x85-\xc2\x89\xc3\x89]", "\xc2\x84\xc3\xa9" },
388 { MUP, A, 0, 0, "[^b-d^&\\s]{3,}", "db^ !a\xe2\x80\xa8_ae" },
389 …{ MUP, A, 0, 0 | F_PROPERTY, "[^\\S\\P{Any}][\\sN]{1,3}[\\P{N}]{4}", "\xe2\x80\xaa\xa N\x9\xc3\xa9…
390 { MU, A, 0, 0 | F_PROPERTY, "[^\\P{L}\x9!D-F\xa]{2,3}", "\x9,.DF\xa.CG\xc3\x81" },
391 …{ CMUP, A, 0, 0, "[\xc3\xa1-\xc3\xa9_\xe2\x80\xa0-\xe2\x80\xaf]{1,5}[^\xe2\x80\xa0-\xe2\x80\xaf]",…
392 …{ MUP, A, 0, 0 | F_PROPERTY, "[\xc3\xa2-\xc3\xa6\xc3\x81-\xc3\x84\xe2\x80\xa8-\xe2\x80\xa9\xe6\x92…
393 …{ MUP, A, 0, 0 | F_PROPERTY, "[\\P{L&}]{2}[^\xc2\x85-\xc2\x89\\p{Ll}\\p{Lu}]{2}", "\xc3\xa9\xe6\x9…
397 { MU, A, 0, 0, "(?:|ab||bc|a)+d", "abcxabcabd" },
398 { MU, A, 0, 0, "(|ab||bc|a)+d", "abcxabcabd" },
399 { MU, A, 0, 0, "(?:|ab||bc|a)*d", "abcxabcabd" },
400 { MU, A, 0, 0, "(|ab||bc|a)*d", "abcxabcabd" },
401 { MU, A, 0, 0, "(?:|ab||bc|a)+?d", "abcxabcabd" },
402 { MU, A, 0, 0, "(|ab||bc|a)+?d", "abcxabcabd" },
403 { MU, A, 0, 0, "(?:|ab||bc|a)*?d", "abcxabcabd" },
404 { MU, A, 0, 0, "(|ab||bc|a)*?d", "abcxabcabd" },
405 { MU, A, 0, 0, "(((a)*?|(?:ba)+)+?|(?:|c|ca)*)*m", "abaacaccabacabalabaacaccabacabamm" },
406 { MU, A, 0, 0, "(?:((?:a)*|(ba)+?)+|(|c|ca)*?)*?m", "abaacaccabacabalabaacaccabacabamm" },
409 { MU, A, 0, 3, "(\\d|(?:\\w)*\\w)+", "0ac01Hb" },
410 { MU, A, 0, 4 | F_NOMATCH, "(\\w\\W\\w)+", "ab#d" },
411 { MU, A, 0, 2 | F_NOMATCH, "(\\w\\W\\w)+", "ab#d" },
412 { MU, A, 0, 1, "(\\w\\W\\w)+", "ab#d" },
418 { MU, A, PCRE2_NO_UTF_CHECK, 1, "^.a", "\n\x80\nxa" },
419 { MU, A, 0, 1, "^", "\r\n" },
437 { MU, A, 0, 0 | F_NOMATCH, "\\R+", "ab" },
438 { MU, A, 0, 0, "\\R+", "ab\r\n\r" },
439 { MU, A, 0, 0, "\\R*", "ab\r\n\r" },
440 { MU, A, 0, 0, "\\R*", "\r\n\r" },
441 { MU, A, 0, 0, "\\R{2,4}", "\r\nab\r\r" },
442 { MU, A, 0, 0, "\\R{2,4}", "\r\nab\n\n\n\r\r\r" },
443 { MU, A, 0, 0, "\\R{2,}", "\r\nab\n\n\n\r\r\r" },
444 { MU, A, 0, 0, "\\R{0,3}", "\r\n\r\n\r\n\r\n\r\n" },
445 { MU, A, 0, 0 | F_NOMATCH, "\\R+\\R\\R", "\r\n\r\n" },
446 { MU, A, 0, 0, "\\R+\\R\\R", "\r\r\r" },
447 { MU, A, 0, 0, "\\R*\\R\\R", "\n\r" },
448 { MU, A, 0, 0 | F_NOMATCH, "\\R{2,4}\\R\\R", "\r\r\r" },
449 { MU, A, 0, 0, "\\R{2,4}\\R\\R", "\r\r\r\r" },
452 { MU, A, 0, 0 | F_NOMATCH, "(?>ab)ab", "bab" },
453 { MU, A, 0, 0 | F_NOMATCH, "(?>(ab))ab", "bab" },
454 { MU, A, 0, 0, "(?>ab)+abc(?>de)*def(?>gh)?ghe(?>ij)+?k(?>lm)*?n(?>op)?\?op",
456 { MU, A, 0, 0, "(?>a(b)+a|(ab)?\?(b))an", "abban" },
457 { MU, A, 0, 0, "(?>ab+a|(?:ab)?\?b)an", "abban" },
458 { MU, A, 0, 0, "((?>ab|ad|)*?)(?>|c)*abad", "abababcababad" },
459 { MU, A, 0, 0, "(?>(aa|b|)*+(?>(##)|###)*d|(aa)(?>(baa)?)m)", "aabaa#####da" },
460 { MU, A, 0, 0, "((?>a|)+?)b", "aaacaaab" },
461 { MU, A, 0, 0, "(?>x|)*$", "aaa" },
462 { MU, A, 0, 0, "(?>(x)|)*$", "aaa" },
463 { MU, A, 0, 0, "(?>x|())*$", "aaa" },
464 { MU, A, 0, 0, "((?>[cxy]a|[a-d])*?)b", "aaa+ aaab" },
465 { MU, A, 0, 0, "((?>[cxy](a)|[a-d])*?)b", "aaa+ aaab" },
466 { MU, A, 0, 0, "(?>((?>(a+))))bab|(?>((?>(a+))))bb", "aaaabaaabaabab" },
467 { MU, A, 0, 0, "(?>(?>a+))bab|(?>(?>a+))bb", "aaaabaaabaabab" },
468 { MU, A, 0, 0, "(?>(a)c|(?>(c)|(a))a)b*?bab", "aaaabaaabaabab" },
469 { MU, A, 0, 0, "(?>ac|(?>c|a)a)b*?bab", "aaaabaaabaabab" },
470 { MU, A, 0, 0, "(?>(b)b|(a))*b(?>(c)|d)?x", "ababcaaabdbx" },
471 { MU, A, 0, 0, "(?>bb|a)*b(?>c|d)?x", "ababcaaabdbx" },
472 { MU, A, 0, 0, "(?>(bb)|a)*b(?>c|(d))?x", "ababcaaabdbx" },
473 { MU, A, 0, 0, "(?>(a))*?(?>(a))+?(?>(a))??x", "aaaaaacccaaaaabax" },
474 { MU, A, 0, 0, "(?>a)*?(?>a)+?(?>a)??x", "aaaaaacccaaaaabax" },
475 { MU, A, 0, 0, "(?>(a)|)*?(?>(a)|)+?(?>(a)|)??x", "aaaaaacccaaaaabax" },
476 { MU, A, 0, 0, "(?>a|)*?(?>a|)+?(?>a|)??x", "aaaaaacccaaaaabax" },
477 { MU, A, 0, 0, "(?>a(?>(a{0,2}))*?b|aac)+b", "aaaaaaacaaaabaaaaacaaaabaacaaabb" },
478 …{ CM, A, 0, 0, "(?>((?>a{32}|b+|(a*))?(?>c+|d*)?\?)+e)+?f", "aaccebbdde bbdaaaccebbdee bbdaaaccebb…
479 …{ MU, A, 0, 0, "(?>(?:(?>aa|a||x)+?b|(?>aa|a||(x))+?c)?(?>[ad]{0,2})*?d)+d", "aaacdbaabdcabdbaaacd…
480 …{ MU, A, 0, 0, "(?>(?:(?>aa|a||(x))+?b|(?>aa|a||x)+?c)?(?>[ad]{0,2})*?d)+d", "aaacdbaabdcabdbaaacd…
481 { MU, A, 0, 0 | F_PROPERTY, "\\X", "\xcc\x8d\xcc\x8d" },
482 { MU, A, 0, 0 | F_PROPERTY, "\\X", "\xcc\x8d\xcc\x8d#\xcc\x8d\xcc\x8d" },
483 { MU, A, 0, 0 | F_PROPERTY, "\\X+..", "\xcc\x8d#\xcc\x8d#\xcc\x8d\xcc\x8d" },
484 { MU, A, 0, 0 | F_PROPERTY, "\\X{2,4}", "abcdef" },
485 { MU, A, 0, 0 | F_PROPERTY, "\\X{2,4}?", "abcdef" },
486 { MU, A, 0, 0 | F_NOMATCH | F_PROPERTY, "\\X{2,4}..", "#\xcc\x8d##" },
487 { MU, A, 0, 0 | F_PROPERTY, "\\X{2,4}..", "#\xcc\x8d#\xcc\x8d##" },
488 { MU, A, 0, 0, "(c(ab)?+ab)+", "cabcababcab" },
489 { MU, A, 0, 0, "(?>(a+)b)+aabab", "aaaabaaabaabab" },
492 { MU, A, 0, 0, "(?:a|b)++m", "mababbaaxababbaam" },
493 { MU, A, 0, 0, "(?:a|b)*+m", "mababbaaxababbaam" },
494 { MU, A, 0, 0, "(?:a|b)*+m", "ababbaaxababbaam" },
495 { MU, A, 0, 0, "(a|b)++m", "mababbaaxababbaam" },
496 { MU, A, 0, 0, "(a|b)*+m", "mababbaaxababbaam" },
497 { MU, A, 0, 0, "(a|b)*+m", "ababbaaxababbaam" },
498 { MU, A, 0, 0, "(a|b(*ACCEPT))++m", "maaxab" },
499 { MU, A, 0, 0, "(?:b*)++m", "bxbbxbbbxm" },
500 { MU, A, 0, 0, "(?:b*)++m", "bxbbxbbbxbbm" },
501 { MU, A, 0, 0, "(?:b*)*+m", "bxbbxbbbxm" },
502 { MU, A, 0, 0, "(?:b*)*+m", "bxbbxbbbxbbm" },
503 { MU, A, 0, 0, "(b*)++m", "bxbbxbbbxm" },
504 { MU, A, 0, 0, "(b*)++m", "bxbbxbbbxbbm" },
505 { MU, A, 0, 0, "(b*)*+m", "bxbbxbbbxm" },
506 { MU, A, 0, 0, "(b*)*+m", "bxbbxbbbxbbm" },
507 { MU, A, 0, 0, "(?:a|(b))++m", "mababbaaxababbaam" },
508 { MU, A, 0, 0, "(?:(a)|b)*+m", "mababbaaxababbaam" },
509 { MU, A, 0, 0, "(?:(a)|(b))*+m", "ababbaaxababbaam" },
510 { MU, A, 0, 0, "(a|(b))++m", "mababbaaxababbaam" },
511 { MU, A, 0, 0, "((a)|b)*+m", "mababbaaxababbaam" },
512 { MU, A, 0, 0, "((a)|(b))*+m", "ababbaaxababbaam" },
513 { MU, A, 0, 0, "(a|(b)(*ACCEPT))++m", "maaxab" },
514 { MU, A, 0, 0, "(?:(b*))++m", "bxbbxbbbxm" },
515 { MU, A, 0, 0, "(?:(b*))++m", "bxbbxbbbxbbm" },
516 { MU, A, 0, 0, "(?:(b*))*+m", "bxbbxbbbxm" },
517 { MU, A, 0, 0, "(?:(b*))*+m", "bxbbxbbbxbbm" },
518 { MU, A, 0, 0, "((b*))++m", "bxbbxbbbxm" },
519 { MU, A, 0, 0, "((b*))++m", "bxbbxbbbxbbm" },
520 { MU, A, 0, 0, "((b*))*+m", "bxbbxbbbxm" },
521 { MU, A, 0, 0, "((b*))*+m", "bxbbxbbbxbbm" },
522 { MU, A, 0, 0 | F_NOMATCH, "(?>(b{2,4}))(?:(?:(aa|c))++m|(?:(aa|c))+n)", "bbaacaaccaaaacxbbbmbn" },
523 { MU, A, 0, 0, "((?:b)++a)+(cd)*+m", "bbababbacdcdnbbababbacdcdm" },
524 { MU, A, 0, 0, "((?:(b))++a)+((c)d)*+m", "bbababbacdcdnbbababbacdcdm" },
525 …{ MU, A, 0, 0, "(?:(?:(?:ab)*+k)++(?:n(?:cd)++)*+)*+m", "ababkkXababkkabkncXababkkabkncdcdncdXabab…
526 …{ MU, A, 0, 0, "(?:((ab)*+(k))++(n(?:c(d))++)*+)*+m", "ababkkXababkkabkncXababkkabkncdcdncdXababkk…
529 { MU, A, 0, 0, "(aa|bb)(\\1*)(ll|)(\\3*)bbbbbbc", "aaaaaabbbbbbbbc" },
530 { CMU, A, 0, 0, "(aa|bb)(\\1+)(ll|)(\\3+)bbbbbbc", "bBbbBbCbBbbbBbbcbbBbbbBBbbC" },
531 { CM, A, 0, 0, "(a{2,4})\\1", "AaAaaAaA" },
532 { MU, A, 0, 0, "(aa|bb)(\\1?)aa(\\1?)(ll|)(\\4+)bbc", "aaaaaaaabbaabbbbaabbbbc" },
533 { MU, A, 0, 0, "(aa|bb)(\\1{0,5})(ll|)(\\3{0,5})cc", "bbxxbbbbxxaaaaaaaaaaaaaaaacc" },
534 { MU, A, 0, 0, "(aa|bb)(\\1{3,5})(ll|)(\\3{3,5})cc", "bbbbbbbbbbbbaaaaaaccbbbbbbbbbbbbbbcc" },
535 { MU, A, 0, 0, "(aa|bb)(\\1{3,})(ll|)(\\3{3,})cc", "bbbbbbbbbbbbaaaaaaccbbbbbbbbbbbbbbcc" },
536 { MU, A, 0, 0, "(\\w+)b(\\1+)c", "GabGaGaDbGaDGaDc" },
537 { MU, A, 0, 0, "(?:(aa)|b)\\1?b", "bb" },
538 { CMU, A, 0, 0, "(aa|bb)(\\1*?)aa(\\1+?)", "bBBbaaAAaaAAaa" },
539 { MU, A, 0, 0, "(aa|bb)(\\1*?)(dd|)cc(\\3+?)", "aaaaaccdd" },
540 { CMU, A, 0, 0, "(?:(aa|bb)(\\1?\?)cc){2}(\\1?\?)", "aAaABBbbAAaAcCaAcCaA" },
541 { MU, A, 0, 0, "(?:(aa|bb)(\\1{3,5}?)){2}(dd|)(\\3{3,5}?)", "aaaaaabbbbbbbbbbaaaaaaaaaaaaaa" },
542 { CM, A, 0, 0, "(?:(aa|bb)(\\1{3,}?)){2}(dd|)(\\3{3,}?)", "aaaaaabbbbbbbbbbaaaaaaaaaaaaaa" },
543 …{ MU, A, 0, 0, "(?:(aa|bb)(\\1{0,3}?)){2}(dd|)(\\3{0,3}?)b(\\1{0,3}?)(\\1{0,3})", "aaaaaaaaaaaaaaa…
544 { MU, A, 0, 0, "(a(?:\\1|)a){3}b", "aaaaaaaaaaab" },
545 …{ M, A, 0, 0, "(a?)b(\\1\\1*\\1+\\1?\\1*?\\1+?\\1??\\1*+\\1++\\1?+\\1{4}\\1{3,5}\\1{4,}\\1{0,5}\\1…
546 { MUP, A, 0, 0 | F_PROPERTY, "(\\P{N})\\1{2,}", ".www." },
547 { MUP, A, 0, 0 | F_PROPERTY, "(\\P{N})\\1{0,2}", "wwwww." },
548 { MUP, A, 0, 0 | F_PROPERTY, "(\\P{N})\\1{1,2}ww", "wwww" },
549 { MUP, A, 0, 0 | F_PROPERTY, "(\\P{N})\\1{1,2}ww", "wwwww" },
551 { CMUP, A, 0, 0, "(\xf0\x90\x90\x80)\\1", "\xf0\x90\x90\xa8\xf0\x90\x90\xa8" },
552 { MU | PCRE2_DUPNAMES, A, 0, 0 | F_NOMATCH, "\\k<A>{1,3}(?<A>aa)(?<A>bb)", "aabb" },
553 …{ MU | PCRE2_DUPNAMES | PCRE2_MATCH_UNSET_BACKREF, A, 0, 0, "\\k<A>{1,3}(?<A>aa)(?<A>bb)", "aabb" …
554 { MU | PCRE2_DUPNAMES | PCRE2_MATCH_UNSET_BACKREF, A, 0, 0, "\\k<A>*(?<A>aa)(?<A>bb)", "aabb" },
555 { MU | PCRE2_DUPNAMES, A, 0, 0, "(?<A>aa)(?<A>bb)\\k<A>{0,3}aaaaaa", "aabbaaaaaa" },
556 { MU | PCRE2_DUPNAMES, A, 0, 0, "(?<A>aa)(?<A>bb)\\k<A>{2,5}bb", "aabbaaaabb" },
557 { MU | PCRE2_DUPNAMES, A, 0, 0, "(?:(?<A>aa)|(?<A>bb))\\k<A>{0,3}m", "aaaaaaaabbbbaabbbbm" },
558 { MU | PCRE2_DUPNAMES, A, 0, 0 | F_NOMATCH, "\\k<A>{1,3}?(?<A>aa)(?<A>bb)", "aabb" },
559 …{ MU | PCRE2_DUPNAMES | PCRE2_MATCH_UNSET_BACKREF, A, 0, 0, "\\k<A>{1,3}?(?<A>aa)(?<A>bb)", "aabb"…
560 { MU | PCRE2_DUPNAMES, A, 0, 0, "\\k<A>*?(?<A>aa)(?<A>bb)", "aabb" },
561 …{ MU | PCRE2_DUPNAMES, A, 0, 0, "(?:(?<A>aa)|(?<A>bb))\\k<A>{0,3}?m", "aaaaaabbbbbbaabbbbbbbbbbm" …
562 { MU | PCRE2_DUPNAMES, A, 0, 0, "(?:(?<A>aa)|(?<A>bb))\\k<A>*?m", "aaaaaabbbbbbaabbbbbbbbbbm" },
563 { MU | PCRE2_DUPNAMES, A, 0, 0, "(?:(?<A>aa)|(?<A>bb))\\k<A>{2,3}?", "aaaabbbbaaaabbbbbbbbbb" },
564 { CMU | PCRE2_DUPNAMES, A, 0, 0, "(?:(?<A>AA)|(?<A>BB))\\k<A>{0,3}M", "aaaaaaaabbbbaabbbbm" },
565 { CMU | PCRE2_DUPNAMES, A, 0, 0, "(?:(?<A>AA)|(?<A>BB))\\k<A>{1,3}M", "aaaaaaaabbbbaabbbbm" },
566 …{ CMU | PCRE2_DUPNAMES, A, 0, 0, "(?:(?<A>AA)|(?<A>BB))\\k<A>{0,3}?M", "aaaaaabbbbbbaabbbbbbbbbbm"…
567 { CMU | PCRE2_DUPNAMES, A, 0, 0, "(?:(?<A>AA)|(?<A>BB))\\k<A>{2,3}?", "aaaabbbbaaaabbbbbbbbbb" },
570 { MU, A, 0, 0, "(?=xx|yy|zz)\\w{4}", "abczzdefg" },
571 { MU, A, 0, 0, "(?=((\\w+)b){3}|ab)", "dbbbb ab" },
572 { MU, A, 0, 0, "(?!ab|bc|cd)[a-z]{2}", "Xabcdef" },
573 { MU, A, 0, 0, "(?<=aaa|aa|a)a", "aaa" },
574 { MU, A, 0, 2, "(?<=aaa|aa|a)a", "aaa" },
575 { M, A, 0, 0, "(?<=aaa|aa|a)a", "aaa" },
576 { M, A, 0, 2, "(?<=aaa|aa|a)a", "aaa" },
577 { MU, A, 0, 0, "(\\d{2})(?!\\w+c|(((\\w?)m){2}n)+|\\1)", "x5656" },
578 …{ MU, A, 0, 0, "((?=((\\d{2,6}\\w){2,}))\\w{5,20}K){2,}", "567v09708K12l00M00 567v09708K12l00M00K4…
579 { MU, A, 0, 0, "(?=(?:(?=\\S+a)\\w*(b)){3})\\w+\\d", "bba bbab nbbkba nbbkba0kl" },
580 { MU, A, 0, 0, "(?>a(?>(b+))a(?=(..)))*?k", "acabbcabbaabacabaabbakk" },
581 { MU, A, 0, 0, "((?(?=(a))a)+k)", "bbak" },
582 { MU, A, 0, 0, "((?(?=a)a)+k)", "bbak" },
583 { MU, A, 0, 0 | F_NOMATCH, "(?=(?>(a))m)amk", "a k" },
584 { MU, A, 0, 0 | F_NOMATCH, "(?!(?>(a))m)amk", "a k" },
585 { MU, A, 0, 0 | F_NOMATCH, "(?>(?=(a))am)amk", "a k" },
586 …{ MU, A, 0, 0, "(?=(?>a|(?=(?>(b+))a|c)[a-c]+)*?m)[a-cm]+k", "aaam bbam baaambaam abbabba baaambaa…
587 { MU, A, 0, 0, "(?> ?\?\\b(?(?=\\w{1,4}(a))m)\\w{0,8}bc){2,}?", "bca ssbc mabd ssbc mabc" },
588 { MU, A, 0, 0, "(?:(?=ab)?[^n][^n])+m", "ababcdabcdcdabnababcdabcdcdabm" },
589 { MU, A, 0, 0, "(?:(?=a(b))?[^n][^n])+m", "ababcdabcdcdabnababcdabcdcdabm" },
590 { MU, A, 0, 0, "(?:(?=.(.))??\\1.)+m", "aabbbcbacccanaabbbcbacccam" },
591 { MU, A, 0, 0, "(?:(?=.)??[a-c])+m", "abacdcbacacdcaccam" },
592 { MU, A, 0, 0, "((?!a)?(?!([^a]))?)+$", "acbab" },
593 { MU, A, 0, 0, "((?!a)?\?(?!([^a]))?\?)+$", "acbab" },
594 { MU, A, 0, 0, "a(?=(?C)\\B(?C`x`))b", "ab" },
595 { MU, A, 0, 0, "a(?!(?C)\\B(?C`x`))bb|ab", "abb" },
596 { MU, A, 0, 0, "a(?=\\b|(?C)\\B(?C`x`))b", "ab" },
597 { MU, A, 0, 0, "a(?!\\b|(?C)\\B(?C`x`))bb|ab", "abb" },
598 { MU, A, 0, 0, "c(?(?=(?C)\\B(?C`x`))ab|a)", "cab" },
599 { MU, A, 0, 0, "c(?(?!(?C)\\B(?C`x`))ab|a)", "cab" },
600 { MU, A, 0, 0, "c(?(?=\\b|(?C)\\B(?C`x`))ab|a)", "cab" },
601 { MU, A, 0, 0, "c(?(?!\\b|(?C)\\B(?C`x`))ab|a)", "cab" },
602 { MU, A, 0, 0, "a(?=)b", "ab" },
603 { MU, A, 0, 0 | F_NOMATCH, "a(?!)b", "ab" },
606 { MU, A, PCRE2_NOTEMPTY, 0 | F_NOMATCH, "a*", "bcx" },
607 { MU, A, PCRE2_NOTEMPTY, 0, "a*", "bcaad" },
608 { MU, A, PCRE2_NOTEMPTY, 0, "a*?", "bcaad" },
609 { MU, A, PCRE2_NOTEMPTY_ATSTART, 0, "a*", "bcaad" },
610 { MU, A, 0, 0, "a(*ACCEPT)b", "ab" },
611 { MU, A, PCRE2_NOTEMPTY, 0 | F_NOMATCH, "a*(*ACCEPT)b", "bcx" },
612 { MU, A, PCRE2_NOTEMPTY, 0, "a*(*ACCEPT)b", "bcaad" },
613 { MU, A, PCRE2_NOTEMPTY, 0, "a*?(*ACCEPT)b", "bcaad" },
614 { MU, A, PCRE2_NOTEMPTY, 0 | F_NOMATCH, "(?:z|a*(*ACCEPT)b)", "bcx" },
615 { MU, A, PCRE2_NOTEMPTY, 0, "(?:z|a*(*ACCEPT)b)", "bcaad" },
616 { MU, A, PCRE2_NOTEMPTY, 0, "(?:z|a*?(*ACCEPT)b)", "bcaad" },
617 { MU, A, PCRE2_NOTEMPTY_ATSTART, 0, "a*(*ACCEPT)b", "bcx" },
618 { MU, A, PCRE2_NOTEMPTY_ATSTART, 0 | F_NOMATCH, "a*(*ACCEPT)b", "" },
619 { MU, A, 0, 0, "((a(*ACCEPT)b))", "ab" },
620 { MU, A, 0, 0, "(a(*FAIL)a|a)", "aaa" },
621 { MU, A, 0, 0, "(?=ab(*ACCEPT)b)a", "ab" },
622 { MU, A, 0, 0, "(?=(?:x|ab(*ACCEPT)b))", "ab" },
623 { MU, A, 0, 0, "(?=(a(b(*ACCEPT)b)))a", "ab" },
624 { MU, A, PCRE2_NOTEMPTY, 0, "(?=a*(*ACCEPT))c", "c" },
627 { MU, A, 0, 0, "(?(?=(a))a|b)+k", "ababbalbbadabak" },
628 { MU, A, 0, 0, "(?(?!(b))a|b)+k", "ababbalbbadabak" },
629 { MU, A, 0, 0, "(?(?=a)a|b)+k", "ababbalbbadabak" },
630 { MU, A, 0, 0, "(?(?!b)a|b)+k", "ababbalbbadabak" },
631 { MU, A, 0, 0, "(?(?=(a))a*|b*)+k", "ababbalbbadabak" },
632 { MU, A, 0, 0, "(?(?!(b))a*|b*)+k", "ababbalbbadabak" },
633 …{ MU, A, 0, 0, "(?(?!(b))(?:aaaaaa|a)|(?:bbbbbb|b))+aaaak", "aaaaaaaaaaaaaa bbbbbbbbbbbbbbb aaaaaa…
634 …{ MU, A, 0, 0, "(?(?!b)(?:aaaaaa|a)|(?:bbbbbb|b))+aaaak", "aaaaaaaaaaaaaa bbbbbbbbbbbbbbb aaaaaaak…
635 …{ MU, A, 0, 0 | F_DIFF, "(?(?!(b))(?:aaaaaa|a)|(?:bbbbbb|b))+bbbbk", "aaaaaaaaaaaaaa bbbbbbbbbbbbb…
636 …{ MU, A, 0, 0, "(?(?!b)(?:aaaaaa|a)|(?:bbbbbb|b))+bbbbk", "aaaaaaaaaaaaaa bbbbbbbbbbbbbbb bbbbbbbk…
637 { MU, A, 0, 0, "(?(?=a)a*|b*)+k", "ababbalbbadabak" },
638 { MU, A, 0, 0, "(?(?!b)a*|b*)+k", "ababbalbbadabak" },
639 { MU, A, 0, 0, "(?(?=a)ab)", "a" },
640 { MU, A, 0, 0, "(?(?<!b)c)", "b" },
641 { MU, A, 0, 0, "(?(DEFINE)a(b))", "a" },
642 { MU, A, 0, 0, "a(?(DEFINE)(?:b|(?:c?)+)*)", "a" },
643 { MU, A, 0, 0, "(?(?=.[a-c])[k-l]|[A-D])", "kdB" },
644 { MU, A, 0, 0, "(?(?!.{0,4}[cd])(aa|bb)|(cc|dd))+", "aabbccddaa" },
645 { MU, A, 0, 0, "(?(?=[^#@]*@)(aaab|aa|aba)|(aba|aab)){3,}", "aaabaaaba#aaabaaaba#aaabaaaba@" },
646 { MU, A, 0, 0, "((?=\\w{5})\\w(?(?=\\w*k)\\d|[a-f_])*\\w\\s)+", "mol m10kk m088k _f_a_ mbkkl" },
647 { MU, A, 0, 0, "(c)?\?(?(1)a|b)", "cdcaa" },
648 { MU, A, 0, 0, "(c)?\?(?(1)a|b)", "cbb" },
649 { MU, A, 0, 0 | F_DIFF, "(?(?=(a))(aaaa|a?))+aak", "aaaaab aaaaak" },
650 { MU, A, 0, 0, "(?(?=a)(aaaa|a?))+aak", "aaaaab aaaaak" },
651 { MU, A, 0, 0, "(?(?!(b))(aaaa|a?))+aak", "aaaaab aaaaak" },
652 { MU, A, 0, 0, "(?(?!b)(aaaa|a?))+aak", "aaaaab aaaaak" },
653 { MU, A, 0, 0 | F_DIFF, "(?(?=(a))a*)+aak", "aaaaab aaaaak" },
654 { MU, A, 0, 0, "(?(?=a)a*)+aak", "aaaaab aaaaak" },
655 { MU, A, 0, 0, "(?(?!(b))a*)+aak", "aaaaab aaaaak" },
656 { MU, A, 0, 0, "(?(?!b)a*)+aak", "aaaaab aaaaak" },
657 …{ MU, A, 0, 0, "(?(?=(?=(?!(x))a)aa)aaa|(?(?=(?!y)bb)bbb))*k", "abaabbaaabbbaaabbb abaabbaaabbbaaa…
658 { MU, A, 0, 0, "(?P<Name>a)?(?P<Name2>b)?(?(Name)c|d)*l", "bc ddd abccabccl" },
659 { MU, A, 0, 0, "(?P<Name>a)?(?P<Name2>b)?(?(Name)c|d)+?dd", "bcabcacdb bdddd" },
660 { MU, A, 0, 0, "(?P<Name>a)?(?P<Name2>b)?(?(Name)c|d)+l", "ababccddabdbccd abcccl" },
661 { MU, A, 0, 0, "((?:a|aa)(?(1)aaa))x", "aax" },
662 { MU, A, 0, 0, "(?(?!)a|b)", "ab" },
663 { MU, A, 0, 0, "(?(?!)a)", "ab" },
664 { MU, A, 0, 0 | F_NOMATCH, "(?(?!)a|b)", "ac" },
667 { MU, A, 0, 0, "(?:\\Ka)*aaaab", "aaaaaaaa aaaaaaabb" },
668 { MU, A, 0, 0, "(?>\\Ka\\Ka)*aaaab", "aaaaaaaa aaaaaaaaaabb" },
669 { MU, A, 0, 0, "a+\\K(?<=\\Gaa)a", "aaaaaa" },
670 { MU, A, PCRE2_NOTEMPTY, 0 | F_NOMATCH, "a\\K(*ACCEPT)b", "aa" },
671 { MU, A, PCRE2_NOTEMPTY_ATSTART, 0, "a\\K(*ACCEPT)b", "aa" },
674 { MU | PCRE2_FIRSTLINE, A, 0, 0 | F_PROPERTY, "\\p{Any}a", "bb\naaa" },
675 { MU | PCRE2_FIRSTLINE, A, 0, 0 | F_NOMATCH | F_PROPERTY, "\\p{Any}a", "bb\r\naaa" },
676 { MU | PCRE2_FIRSTLINE, A, 0, 0, "(?<=a)", "a" },
677 { MU | PCRE2_FIRSTLINE, A, 0, 0 | F_NOMATCH, "[^a][^b]", "ab" },
678 { MU | PCRE2_FIRSTLINE, A, 0, 0 | F_NOMATCH, "a", "\na" },
679 { MU | PCRE2_FIRSTLINE, A, 0, 0 | F_NOMATCH, "[abc]", "\na" },
680 { MU | PCRE2_FIRSTLINE, A, 0, 0 | F_NOMATCH, "^a", "\na" },
681 { MU | PCRE2_FIRSTLINE, A, 0, 0 | F_NOMATCH, "^(?<=\n)", "\na" },
682 { MU | PCRE2_FIRSTLINE, A, 0, 0, "\xf0\x90\x90\x80", "\xf0\x90\x90\x80" },
693 { MU | PCRE2_FIRSTLINE, A, 0, 1 | F_NOMATCH, "^[a-d0-9]", "\nxx\nd" },
695 { MU | PCRE2_FIRSTLINE, A, 0, 0, "[aC]", "a" },
698 { MU, A, 0, 0, "(a)(?1)", "aa" },
699 { MU, A, 0, 0, "((a))(?1)", "aa" },
700 { MU, A, 0, 0, "(b|a)(?1)", "aa" },
701 { MU, A, 0, 0, "(b|(a))(?1)", "aa" },
702 { MU, A, 0, 0 | F_NOMATCH, "((a)(b)(?:a*))(?1)", "aba" },
703 { MU, A, 0, 0, "((a)(b)(?:a*))(?1)", "abab" },
704 { MU, A, 0, 0, "((a+)c(?2))b(?1)", "aacaabaca" },
705 { MU, A, 0, 0, "((?2)b|(a)){2}(?1)", "aabab" },
706 { MU, A, 0, 0, "(?1)(a)*+(?2)(b(?1))", "aababa" },
707 { MU, A, 0, 0, "(?1)(((a(*ACCEPT)))b)", "axaa" },
708 { MU, A, 0, 0, "(?1)(?(DEFINE) (((ac(*ACCEPT)))b) )", "akaac" },
709 { MU, A, 0, 0, "(a+)b(?1)b\\1", "abaaabaaaaa" },
710 { MU, A, 0, 0 | F_NOMATCH, "(?(DEFINE)(aa|a))(?1)ab", "aab" },
711 { MU, A, 0, 0, "(?(DEFINE)(a\\Kb))(?1)+ababc", "abababxabababc" },
712 { MU, A, 0, 0, "(a\\Kb)(?1)+ababc", "abababxababababc" },
713 { MU, A, 0, 0 | F_NOMATCH, "(a\\Kb)(?1)+ababc", "abababxababababxc" },
714 { MU, A, 0, 0, "b|<(?R)*>", "<<b>" },
715 { MU, A, 0, 0, "(a\\K){0}(?:(?1)b|ac)", "ac" },
716 { MU, A, 0, 0, "(?(DEFINE)(a(?2)|b)(b(?1)|(a)))(?:(?1)|(?2))m", "ababababnababababaam" },
717 { MU, A, 0, 0, "(a)((?(R)a|b))(?2)", "aabbabaa" },
718 { MU, A, 0, 0, "(a)((?(R2)a|b))(?2)", "aabbabaa" },
719 { MU, A, 0, 0, "(a)((?(R1)a|b))(?2)", "ababba" },
720 { MU, A, 0, 0, "(?(R0)aa|bb(?R))", "abba aabb bbaa" },
721 { MU, A, 0, 0, "((?(R)(?:aaaa|a)|(?:(aaaa)|(a)))+)(?1)$", "aaaaaaaaaa aaaa" },
722 { MU, A, 0, 0, "(?P<Name>a(?(R&Name)a|b))(?1)", "aab abb abaa" },
723 { MU, A, 0, 0, "((?(R)a|(?1)){3})", "XaaaaaaaaaX" },
724 { MU, A, 0, 0, "((?:(?(R)a|(?1))){3})", "XaaaaaaaaaX" },
725 { MU, A, 0, 0, "((?(R)a|(?1)){1,3})aaaaaa", "aaaaaaaaXaaaaaaaaa" },
726 { MU, A, 0, 0, "((?(R)a|(?1)){1,3}?)M", "aaaM" },
729 { CM, A, 0, 0 | F_FORCECONV, "\xc3\xa1", "\xc3\x81\xc3\xa1" },
730 { CM, A, 0, 0 | F_FORCECONV, "\xe1\xbd\xb8", "\xe1\xbf\xb8\xe1\xbd\xb8" },
731 { CM, A, 0, 0 | F_FORCECONV, "[\xc3\xa1]", "\xc3\x81\xc3\xa1" },
732 { CM, A, 0, 0 | F_FORCECONV, "[\xe1\xbd\xb8]", "\xe1\xbf\xb8\xe1\xbd\xb8" },
733 { CM, A, 0, 0 | F_FORCECONV, "[a-\xed\xb0\x80]", "A" },
734 { CM, A, 0, 0 | F_NO8 | F_FORCECONV, "[a-\\x{dc00}]", "B" },
735 { CM, A, 0, 0 | F_NO8 | F_NOMATCH | F_FORCECONV, "[b-\\x{dc00}]", "a" },
736 …{ CM, A, 0, 0 | F_NO8 | F_FORCECONV, "\xed\xa0\x80\\x{d800}\xed\xb0\x80\\x{dc00}", "\xed\xa0\x80\x…
737 …{ CM, A, 0, 0 | F_NO8 | F_FORCECONV, "[\xed\xa0\x80\\x{d800}]{1,2}?[\xed\xb0\x80\\x{dc00}]{1,2}?#"…
738 …{ CM, A, 0, 0 | F_FORCECONV, "[\xed\xa0\x80\xed\xb0\x80#]{0,3}(?<=\xed\xb0\x80.)", "\xed\xa0\x80#\…
739 { CM, A, 0, 0 | F_FORCECONV, "[\xed\xa0\x80-\xed\xb3\xbf]", "\xed\x9f\xbf\xed\xa0\x83" },
740 { CM, A, 0, 0 | F_FORCECONV, "[\xed\xa0\x80-\xed\xb3\xbf]", "\xed\xb4\x80\xed\xb3\xb0" },
741 { CM, A, 0, 0 | F_NO8 | F_FORCECONV, "[\\x{d800}-\\x{dcff}]", "\xed\x9f\xbf\xed\xa0\x83" },
742 { CM, A, 0, 0 | F_NO8 | F_FORCECONV, "[\\x{d800}-\\x{dcff}]", "\xed\xb4\x80\xed\xb3\xb0" },
743 …{ CM, A, 0, 0 | F_FORCECONV, "[\xed\xa0\x80-\xef\xbf\xbf]+[\x1-\xed\xb0\x80]+#", "\xed\xa0\x85\xc3…
744 …{ CM, A, 0, 0 | F_FORCECONV, "[\xed\xa0\x80][\xed\xb0\x80]{2,}", "\xed\xa0\x80\xed\xb0\x80\xed\xa0…
745 …{ M, A, 0, 0 | F_FORCECONV, "[^\xed\xb0\x80]{3,}?", "##\xed\xb0\x80#\xed\xb0\x80#\xc3\x89#\xed\xb0…
746 …{ M, A, 0, 0 | F_NO8 | F_FORCECONV, "[^\\x{dc00}]{3,}?", "##\xed\xb0\x80#\xed\xb0\x80#\xc3\x89#\xe…
747 { CM, A, 0, 0 | F_FORCECONV, ".\\B.", "\xed\xa0\x80\xed\xb0\x80" },
748 …{ CM, A, 0, 0 | F_FORCECONV, "\\D+(?:\\d+|.)\\S+(?:\\s+|.)\\W+(?:\\w+|.)\xed\xa0\x80\xed\xa0\x80",…
749 { CM, A, 0, 0 | F_FORCECONV, "\\d*\\s*\\w*\xed\xa0\x80\xed\xa0\x80", "\xed\xa0\x80\xed\xa0\x80" },
750 …{ CM, A, 0, 0 | F_FORCECONV | F_NOMATCH, "\\d*?\\D*?\\s*?\\S*?\\w*?\\W*?##", "\xed\xa0\x80\xed\xa0…
751 …{ CM | PCRE2_EXTENDED, A, 0, 0 | F_FORCECONV, "\xed\xa0\x80 \xed\xb0\x80 !", "\xed\xa0\x80\xed\xb0…
752 { CM, A, 0, 0 | F_FORCECONV, "\xed\xa0\x80+#[^#]+\xed\xa0\x80", "\xed\xa0\x80#a\xed\xa0\x80" },
753 …{ CM, A, 0, 0 | F_FORCECONV, "(\xed\xa0\x80+)#\\1", "\xed\xa0\x80\xed\xa0\x80#\xed\xa0\x80\xed\xa0…
762 { MU, A, PCRE2_PARTIAL_SOFT, 0, "ab", "a" },
763 { MU, A, PCRE2_PARTIAL_SOFT, 0, "ab|a", "a" },
764 { MU, A, PCRE2_PARTIAL_HARD, 0, "ab|a", "a" },
765 { MU, A, PCRE2_PARTIAL_SOFT, 0, "\\b#", "a" },
766 { MU, A, PCRE2_PARTIAL_SOFT, 0, "(?<=a)b", "a" },
767 { MU, A, PCRE2_PARTIAL_SOFT, 0, "abc|(?<=xxa)bc", "xxab" },
768 { MU, A, PCRE2_PARTIAL_SOFT, 0, "a\\B", "a" },
769 { MU, A, PCRE2_PARTIAL_HARD, 0, "a\\b", "a" },
772 { MU, A, 0, 0, "a(*MARK:aa)a", "ababaa" },
773 { MU, A, 0, 0 | F_NOMATCH, "a(*:aa)a", "abab" },
774 { MU, A, 0, 0, "a(*:aa)(b(*:bb)b|bc)", "abc" },
775 { MU, A, 0, 0 | F_NOMATCH, "a(*:1)x|b(*:2)y", "abc" },
776 { MU, A, 0, 0, "(?>a(*:aa))b|ac", "ac" },
777 { MU, A, 0, 0, "(?(DEFINE)(a(*:aa)))(?1)", "a" },
778 { MU, A, 0, 0 | F_NOMATCH, "(?(DEFINE)((a)(*:aa)))(?1)b", "aa" },
779 { MU, A, 0, 0, "(?(DEFINE)(a(*:aa)))a(?1)b|aac", "aac" },
780 { MU, A, 0, 0, "(a(*:aa)){0}(?:b(?1)b|c)+c", "babbab cc" },
781 { MU, A, 0, 0, "(a(*:aa)){0}(?:b(?1)b)+", "babba" },
782 { MU, A, 0, 0 | F_NOMATCH, "(a(*:aa)){0}(?:b(?1)b)+", "ba" },
783 { MU, A, 0, 0, "(a\\K(*:aa)){0}(?:b(?1)b|c)+c", "babbab cc" },
784 { MU, A, 0, 0, "(a\\K(*:aa)){0}(?:b(?1)b)+", "babba" },
785 { MU, A, 0, 0 | F_NOMATCH, "(a\\K(*:aa)){0}(?:b(?1)b)+", "ba" },
786 { MU, A, 0, 0 | F_NOMATCH, "(*:mark)m", "a" },
789 { MU, A, 0, 0 | F_NOMATCH, "a(*COMMIT)b", "ac" },
790 { MU, A, 0, 0, "aa(*COMMIT)b", "xaxaab" },
791 { MU, A, 0, 0 | F_NOMATCH, "a(*COMMIT)(*:msg)b|ac", "ac" },
792 { MU, A, 0, 0 | F_NOMATCH, "(a(*COMMIT)b)++", "abac" },
793 { MU, A, 0, 0 | F_NOMATCH, "((a)(*COMMIT)b)++", "abac" },
794 { MU, A, 0, 0 | F_NOMATCH, "(?=a(*COMMIT)b)ab|ad", "ad" },
797 { MU, A, 0, 0, "aa\\K(*PRUNE)b", "aaab" },
798 { MU, A, 0, 0, "aa(*PRUNE:bb)b|a", "aa" },
799 { MU, A, 0, 0, "(a)(a)(*PRUNE)b|(a)", "aa" },
800 { MU, A, 0, 0, "(a)(a)(a)(a)(a)(a)(a)(a)(*PRUNE)b|(a)", "aaaaaaaa" },
801 { MU, A, PCRE2_PARTIAL_SOFT, 0, "a(*PRUNE)a|", "a" },
802 { MU, A, PCRE2_PARTIAL_SOFT, 0, "a(*PRUNE)a|m", "a" },
803 { MU, A, 0, 0 | F_NOMATCH, "(?=a(*PRUNE)b)ab|ad", "ad" },
804 { MU, A, 0, 0, "a(*COMMIT)(*PRUNE)d|bc", "abc" },
805 { MU, A, 0, 0, "(?=a(*COMMIT)b)a(*PRUNE)c|bc", "abc" },
806 { MU, A, 0, 0 | F_NOMATCH, "(*COMMIT)(?=a(*COMMIT)b)a(*PRUNE)c|bc", "abc" },
807 { MU, A, 0, 0, "(?=(a)(*COMMIT)b)a(*PRUNE)c|bc", "abc" },
808 { MU, A, 0, 0 | F_NOMATCH, "(*COMMIT)(?=(a)(*COMMIT)b)a(*PRUNE)c|bc", "abc" },
809 { MU, A, 0, 0, "(a(*COMMIT)b){0}a(?1)(*PRUNE)c|bc", "abc" },
810 { MU, A, 0, 0 | F_NOMATCH, "(a(*COMMIT)b){0}a(*COMMIT)(?1)(*PRUNE)c|bc", "abc" },
811 { MU, A, 0, 0, "(a(*COMMIT)b)++(*PRUNE)d|c", "ababc" },
812 { MU, A, 0, 0 | F_NOMATCH, "(*COMMIT)(a(*COMMIT)b)++(*PRUNE)d|c", "ababc" },
813 { MU, A, 0, 0, "((a)(*COMMIT)b)++(*PRUNE)d|c", "ababc" },
814 { MU, A, 0, 0 | F_NOMATCH, "(*COMMIT)((a)(*COMMIT)b)++(*PRUNE)d|c", "ababc" },
815 { MU, A, 0, 0, "(?>a(*COMMIT)b)*abab(*PRUNE)d|ba", "ababab" },
816 { MU, A, 0, 0 | F_NOMATCH, "(*COMMIT)(?>a(*COMMIT)b)*abab(*PRUNE)d|ba", "ababab" },
817 { MU, A, 0, 0, "(?>a(*COMMIT)b)+abab(*PRUNE)d|ba", "ababab" },
818 { MU, A, 0, 0 | F_NOMATCH, "(*COMMIT)(?>a(*COMMIT)b)+abab(*PRUNE)d|ba", "ababab" },
819 { MU, A, 0, 0, "(?>a(*COMMIT)b)?ab(*PRUNE)d|ba", "aba" },
820 { MU, A, 0, 0 | F_NOMATCH, "(*COMMIT)(?>a(*COMMIT)b)?ab(*PRUNE)d|ba", "aba" },
821 { MU, A, 0, 0, "(?>a(*COMMIT)b)*?n(*PRUNE)d|ba", "abababn" },
822 { MU, A, 0, 0 | F_NOMATCH, "(*COMMIT)(?>a(*COMMIT)b)*?n(*PRUNE)d|ba", "abababn" },
823 { MU, A, 0, 0, "(?>a(*COMMIT)b)+?n(*PRUNE)d|ba", "abababn" },
824 { MU, A, 0, 0 | F_NOMATCH, "(*COMMIT)(?>a(*COMMIT)b)+?n(*PRUNE)d|ba", "abababn" },
825 { MU, A, 0, 0, "(?>a(*COMMIT)b)??n(*PRUNE)d|bn", "abn" },
826 { MU, A, 0, 0 | F_NOMATCH, "(*COMMIT)(?>a(*COMMIT)b)??n(*PRUNE)d|bn", "abn" },
829 { MU, A, 0, 0 | F_NOMATCH, "(?=a(*SKIP)b)ab|ad", "ad" },
830 { MU, A, 0, 0, "(\\w+(*SKIP)#)", "abcd,xyz#," },
831 { MU, A, 0, 0, "\\w+(*SKIP)#|mm", "abcd,xyz#," },
832 { MU, A, 0, 0 | F_NOMATCH, "b+(?<=(*SKIP)#c)|b+", "#bbb" },
835 { MU, A, 0, 0, "((?:a(*THEN)|aab)(*THEN)c|a+)+m", "aabcaabcaabcaabcnacm" },
836 { MU, A, 0, 0 | F_NOMATCH, "((?:a(*THEN)|aab)(*THEN)c|a+)+m", "aabcm" },
837 { MU, A, 0, 0, "((?:a(*THEN)|aab)c|a+)+m", "aabcaabcnmaabcaabcm" },
838 { MU, A, 0, 0, "((?:a|aab)(*THEN)c|a+)+m", "aam" },
839 { MU, A, 0, 0, "((?:a(*COMMIT)|aab)(*THEN)c|a+)+m", "aam" },
840 { MU, A, 0, 0, "(?(?=a(*THEN)b)ab|ad)", "ad" },
841 { MU, A, 0, 0, "(?(?!a(*THEN)b)ad|add)", "add" },
842 { MU, A, 0, 0 | F_NOMATCH, "(?(?=a)a(*THEN)b|ad)", "ad" },
843 { MU, A, 0, 0, "(?!(?(?=a)ab|b(*THEN)d))bn|bnn", "bnn" },
846 { MU, A, 0, 0, "((((?:(?:(?:\\w)+)?)*|(?>\\w)+?)+|(?>\\w)?\?)*)?\\s", "aaaaa+ " },
847 { MU, A, 0, 0, "(?:((?:(?:(?:\\w*?)+)??|(?>\\w)?|\\w*+)*)+)+?\\s", "aa+ " },
848 { MU, A, 0, 0, "((a?)+)+b", "aaaaaaaaaaaa b" },
851 …{ M, A, 0, 0 | F_NOMATCH, "a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?aaaaaaaaaaaaaaaaaaaaaaa",…
852 { M, A, 0, 0 | F_NOMATCH, "(?:a+)+b", "aaaaaaaaaaaaaaaaaaaaaaaa b" },
853 { M, A, 0, 0 | F_NOMATCH, "(?:a+?)+?b", "aaaaaaaaaaaaaaaaaaaaaaaa b" },
854 { M, A, 0, 0 | F_NOMATCH, "(?:a*)*b", "aaaaaaaaaaaaaaaaaaaaaaaa b" },
855 { M, A, 0, 0 | F_NOMATCH, "(?:a*?)*?b", "aaaaaaaaaaaaaaaaaaaaaaaa b" },