1 |
PCRE version 4.0 17-Feb-2003 |
PCRE version 4.1 12-Mar-2003 |
2 |
|
|
3 |
/(a)b|/ |
/(a)b|/ |
4 |
Capturing subpattern count = 1 |
Capturing subpattern count = 1 |
28 |
Capturing subpattern count = 0 |
Capturing subpattern count = 0 |
29 |
Options: anchored |
Options: anchored |
30 |
No first char |
No first char |
31 |
Need char = 'c' |
No need char |
32 |
abc |
abc |
33 |
0: abc |
0: abc |
34 |
\Aabc |
\Aabc |
68 |
Capturing subpattern count = 0 |
Capturing subpattern count = 0 |
69 |
Options: anchored |
Options: anchored |
70 |
No first char |
No first char |
71 |
Need char = 'c' |
No need char |
72 |
abc |
abc |
73 |
0: abc |
0: abc |
74 |
*** Failers |
*** Failers |
302 |
Capturing subpattern count = 0 |
Capturing subpattern count = 0 |
303 |
Options: anchored |
Options: anchored |
304 |
No first char |
No first char |
305 |
Need char = 'x' |
No need char |
306 |
the quick brown fox |
the quick brown fox |
307 |
0: the quick brown fox |
0: the quick brown fox |
308 |
*** Failers |
*** Failers |
504 |
Capturing subpattern count = 0 |
Capturing subpattern count = 0 |
505 |
Options: anchored caseless |
Options: anchored caseless |
506 |
No first char |
No first char |
507 |
Need char = '4' |
No need char |
508 |
|
|
509 |
/(^b|(?i)^d)/ |
/(^b|(?i)^d)/ |
510 |
Capturing subpattern count = 1 |
Capturing subpattern count = 1 |
651 |
Capturing subpattern count = 0 |
Capturing subpattern count = 0 |
652 |
Options: anchored multiline |
Options: anchored multiline |
653 |
No first char |
No first char |
654 |
Need char = 'c' |
No need char |
655 |
|
|
656 |
/^abc/m |
/^abc/m |
657 |
Capturing subpattern count = 0 |
Capturing subpattern count = 0 |
663 |
Capturing subpattern count = 5 |
Capturing subpattern count = 5 |
664 |
Options: anchored |
Options: anchored |
665 |
No first char |
No first char |
666 |
Need char = 'a' |
No need char |
667 |
aaaaabbbbbcccccdef |
aaaaabbbbbcccccdef |
668 |
0: aaaaabbbbbcccccdef |
0: aaaaabbbbbcccccdef |
669 |
1: aaaaabbbbbcccccdef |
1: aaaaabbbbbcccccdef |
837 |
Max back reference = 1 |
Max back reference = 1 |
838 |
Options: anchored |
Options: anchored |
839 |
No first char |
No first char |
840 |
Need char = 'a' |
No need char |
841 |
aaaaaa |
aaaaaa |
842 |
0: aaaaaa |
0: aaaaaa |
843 |
1: aa |
1: aa |
1027 |
Capturing subpattern count = 3 |
Capturing subpattern count = 3 |
1028 |
Options: anchored |
Options: anchored |
1029 |
No first char |
No first char |
1030 |
Need char = 'f' |
No need char |
1031 |
adef\G1\G2\G3\G4\L |
adef\G1\G2\G3\G4\L |
1032 |
0: adef |
0: adef |
1033 |
1: a |
1: a |
1065 |
Capturing subpattern count = 0 |
Capturing subpattern count = 0 |
1066 |
Options: anchored |
Options: anchored |
1067 |
No first char |
No first char |
1068 |
Need char = 'f' |
No need char |
1069 |
abc\00def\L\C0 |
abc\00def\L\C0 |
1070 |
0: abc\x00def |
0: abc\x00def |
1071 |
0C abc (7) |
0C abc (7) |
1254 |
Capturing subpattern count = 0 |
Capturing subpattern count = 0 |
1255 |
Options: anchored |
Options: anchored |
1256 |
No first char |
No first char |
1257 |
Need char = 's' |
No need char |
1258 |
ississippi |
ississippi |
1259 |
0: iss |
0: iss |
1260 |
0+ issippi |
0+ issippi |
1304 |
Capturing subpattern count = 0 |
Capturing subpattern count = 0 |
1305 |
Options: anchored |
Options: anchored |
1306 |
No first char |
No first char |
1307 |
Need char = 's' |
No need char |
1308 |
Mississippi |
Mississippi |
1309 |
0: Mis |
0: Mis |
1310 |
0+ sissippi |
0+ sissippi |
1313 |
Capturing subpattern count = 0 |
Capturing subpattern count = 0 |
1314 |
Options: anchored |
Options: anchored |
1315 |
No first char |
No first char |
1316 |
Need char = 10 |
No need char |
1317 |
ab\nab\ncd |
ab\nab\ncd |
1318 |
0: ab\x0a |
0: ab\x0a |
1319 |
0+ ab\x0acd |
0+ ab\x0acd |
2420 |
Capturing subpattern count = 2 |
Capturing subpattern count = 2 |
2421 |
Options: anchored |
Options: anchored |
2422 |
No first char |
No first char |
2423 |
Need char = 'a' |
No need char |
2424 |
aba |
aba |
2425 |
0: aba |
0: aba |
2426 |
1: a |
1: a |
2430 |
Capturing subpattern count = 2 |
Capturing subpattern count = 2 |
2431 |
Options: anchored |
Options: anchored |
2432 |
No first char |
No first char |
2433 |
Need char = 'a' |
No need char |
2434 |
aabbaa |
aabbaa |
2435 |
0: aabbaa |
0: aabbaa |
2436 |
1: aa |
1: aa |
2440 |
Capturing subpattern count = 2 |
Capturing subpattern count = 2 |
2441 |
Options: anchored |
Options: anchored |
2442 |
No first char |
No first char |
2443 |
Need char = 'a' |
No need char |
2444 |
aabbaa |
aabbaa |
2445 |
0: aabbaa |
0: aabbaa |
2446 |
1: aa |
1: aa |
2450 |
Capturing subpattern count = 2 |
Capturing subpattern count = 2 |
2451 |
Options: anchored |
Options: anchored |
2452 |
No first char |
No first char |
2453 |
Need char = 'a' |
No need char |
2454 |
aabbaa |
aabbaa |
2455 |
0: aabbaa |
0: aabbaa |
2456 |
1: aa |
1: aa |
2460 |
Capturing subpattern count = 1 |
Capturing subpattern count = 1 |
2461 |
Options: anchored |
Options: anchored |
2462 |
No first char |
No first char |
2463 |
Need char = 'a' |
No need char |
2464 |
aabbaa |
aabbaa |
2465 |
0: aabbaa |
0: aabbaa |
2466 |
1: bb |
1: bb |
2469 |
Capturing subpattern count = 3 |
Capturing subpattern count = 3 |
2470 |
Options: anchored |
Options: anchored |
2471 |
No first char |
No first char |
2472 |
Need char = 'a' |
No need char |
2473 |
aabbaa |
aabbaa |
2474 |
0: aabbaa |
0: aabbaa |
2475 |
1: aa |
1: aa |
2480 |
Capturing subpattern count = 2 |
Capturing subpattern count = 2 |
2481 |
Options: anchored |
Options: anchored |
2482 |
No first char |
No first char |
2483 |
Need char = 'a' |
No need char |
2484 |
aabbaa |
aabbaa |
2485 |
0: aabbaa |
0: aabbaa |
2486 |
1: bb |
1: bb |
2490 |
Capturing subpattern count = 1 |
Capturing subpattern count = 1 |
2491 |
Options: anchored |
Options: anchored |
2492 |
No first char |
No first char |
2493 |
Need char = 'a' |
No need char |
2494 |
aabbaa |
aabbaa |
2495 |
0: aabbaa |
0: aabbaa |
2496 |
1: bb |
1: bb |
2499 |
Capturing subpattern count = 1 |
Capturing subpattern count = 1 |
2500 |
Options: anchored |
Options: anchored |
2501 |
No first char |
No first char |
2502 |
Need char = 'a' |
No need char |
2503 |
aabbbaa |
aabbbaa |
2504 |
0: aabbbaa |
0: aabbbaa |
2505 |
1: bbb |
1: bbb |
2508 |
Capturing subpattern count = 1 |
Capturing subpattern count = 1 |
2509 |
Options: anchored |
Options: anchored |
2510 |
No first char |
No first char |
2511 |
Need char = 'a' |
No need char |
2512 |
aabbbaa |
aabbbaa |
2513 |
0: aabbbaa |
0: aabbbaa |
2514 |
1: bbb |
1: bbb |
2517 |
Capturing subpattern count = 1 |
Capturing subpattern count = 1 |
2518 |
Options: anchored |
Options: anchored |
2519 |
No first char |
No first char |
2520 |
Need char = 'a' |
No need char |
2521 |
aabbaa |
aabbaa |
2522 |
0: aabbaa |
0: aabbaa |
2523 |
1: b |
1: b |
2526 |
Capturing subpattern count = 1 |
Capturing subpattern count = 1 |
2527 |
Options: anchored |
Options: anchored |
2528 |
No first char |
No first char |
2529 |
Need char = 'a' |
No need char |
2530 |
aabbbaa |
aabbbaa |
2531 |
0: aabbbaa |
0: aabbbaa |
2532 |
1: bb |
1: bb |
2535 |
Capturing subpattern count = 3 |
Capturing subpattern count = 3 |
2536 |
Options: anchored |
Options: anchored |
2537 |
No first char |
No first char |
2538 |
Need char = 'a' |
No need char |
2539 |
aabbbaa |
aabbbaa |
2540 |
0: aabbbaa |
0: aabbbaa |
2541 |
1: aa |
1: aa |
2546 |
Capturing subpattern count = 3 |
Capturing subpattern count = 3 |
2547 |
Options: anchored |
Options: anchored |
2548 |
No first char |
No first char |
2549 |
Need char = 'a' |
No need char |
2550 |
aabbbbaa |
aabbbbaa |
2551 |
0: aabbbbaa |
0: aabbbbaa |
2552 |
1: aa |
1: aa |
3047 |
Capturing subpattern count = 5 |
Capturing subpattern count = 5 |
3048 |
Options: anchored |
Options: anchored |
3049 |
No first char |
No first char |
3050 |
Need char = 'a' |
No need char |
3051 |
|
|
3052 |
/^x(?U)a+b/D |
/^x(?U)a+b/D |
3053 |
------------------------------------------------------------------ |
------------------------------------------------------------------ |
3735 |
Capturing subpattern count = 0 |
Capturing subpattern count = 0 |
3736 |
Options: anchored |
Options: anchored |
3737 |
No first char |
No first char |
3738 |
Need char = 'c' |
No need char |
3739 |
|
|
3740 |
/(?C)a|b/S |
/(?C)a|b/S |
3741 |
Capturing subpattern count = 0 |
Capturing subpattern count = 0 |
3917 |
Capturing subpattern count = 2 |
Capturing subpattern count = 2 |
3918 |
Options: anchored |
Options: anchored |
3919 |
No first char |
No first char |
3920 |
Need char = 'z' |
No need char |
3921 |
xyz |
xyz |
3922 |
0: xyz |
0: xyz |
3923 |
1: xyz |
1: xyz |
3977 |
Capturing subpattern count = 1 |
Capturing subpattern count = 1 |
3978 |
Options: anchored |
Options: anchored |
3979 |
No first char |
No first char |
3980 |
Need char = 'f' |
No need char |
3981 |
abcdefabc |
abcdefabc |
3982 |
0: abcdefabc |
0: abcdefabc |
3983 |
1: abc |
1: abc |
3986 |
Capturing subpattern count = 1 |
Capturing subpattern count = 1 |
3987 |
Options: anchored |
Options: anchored |
3988 |
No first char |
No first char |
3989 |
Need char = '=' |
No need char |
3990 |
a=a |
a=a |
3991 |
0: a=a |
0: a=a |
3992 |
1: a |
1: a |
4001 |
Capturing subpattern count = 2 |
Capturing subpattern count = 2 |
4002 |
Options: anchored |
Options: anchored |
4003 |
No first char |
No first char |
4004 |
Need char = '=' |
No need char |
4005 |
a=a |
a=a |
4006 |
0: a=a |
0: a=a |
4007 |
1: a |
1: a |
4408 |
2: aa |
2: aa |
4409 |
2C aa (2) |
2C aa (2) |
4410 |
|
|
4411 |
|
/(?P<x>eks)(?P<x>eccs)/ |
4412 |
|
Failed: two named groups have the same name at offset 16 |
4413 |
|
|
4414 |
|
/(?P<abc>abc(?P<def>def)(?P<abc>xyz))/ |
4415 |
|
Failed: two named groups have the same name at offset 31 |
4416 |
|
|
4417 |
/ End of testinput2 / |
/ End of testinput2 / |
4418 |
Capturing subpattern count = 0 |
Capturing subpattern count = 0 |
4419 |
No options |
No options |