1 |
PCRE version 4.0 17-Feb-2003 |
PCRE version 4.4 21-August-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 |
136 |
No options |
No options |
137 |
No first char |
No first char |
138 |
No need char |
No need char |
|
Study size = 40 |
|
139 |
Starting character set: c d e |
Starting character set: c d e |
140 |
this sentence eventually mentions a cat |
this sentence eventually mentions a cat |
141 |
0: cat |
0: cat |
147 |
Options: caseless |
Options: caseless |
148 |
No first char |
No first char |
149 |
No need char |
No need char |
|
Study size = 40 |
|
150 |
Starting character set: C D E c d e |
Starting character set: C D E c d e |
151 |
this sentence eventually mentions a CAT cat |
this sentence eventually mentions a CAT cat |
152 |
0: CAT |
0: CAT |
158 |
No options |
No options |
159 |
No first char |
No first char |
160 |
No need char |
No need char |
|
Study size = 40 |
|
161 |
Starting character set: a b c d |
Starting character set: a b c d |
162 |
|
|
163 |
/(a|[^\dZ])/S |
/(a|[^\dZ])/S |
165 |
No options |
No options |
166 |
No first char |
No first char |
167 |
No need char |
No need char |
|
Study size = 40 |
|
168 |
Starting character set: \x00 \x01 \x02 \x03 \x04 \x05 \x06 \x07 \x08 \x09 \x0a |
Starting character set: \x00 \x01 \x02 \x03 \x04 \x05 \x06 \x07 \x08 \x09 \x0a |
169 |
\x0b \x0c \x0d \x0e \x0f \x10 \x11 \x12 \x13 \x14 \x15 \x16 \x17 \x18 \x19 |
\x0b \x0c \x0d \x0e \x0f \x10 \x11 \x12 \x13 \x14 \x15 \x16 \x17 \x18 \x19 |
170 |
\x1a \x1b \x1c \x1d \x1e \x1f \x20 ! " # $ % & ' ( ) * + , - . / : ; < = > |
\x1a \x1b \x1c \x1d \x1e \x1f \x20 ! " # $ % & ' ( ) * + , - . / : ; < = > |
185 |
No options |
No options |
186 |
No first char |
No first char |
187 |
No need char |
No need char |
|
Study size = 40 |
|
188 |
Starting character set: \x09 \x0a \x0c \x0d \x20 a b |
Starting character set: \x09 \x0a \x0c \x0d \x20 a b |
189 |
|
|
190 |
/(ab\2)/ |
/(ab\2)/ |
297 |
Capturing subpattern count = 0 |
Capturing subpattern count = 0 |
298 |
Options: anchored |
Options: anchored |
299 |
No first char |
No first char |
300 |
Need char = 'x' |
No need char |
301 |
the quick brown fox |
the quick brown fox |
302 |
0: the quick brown fox |
0: the quick brown fox |
303 |
*** Failers |
*** Failers |
499 |
Capturing subpattern count = 0 |
Capturing subpattern count = 0 |
500 |
Options: anchored caseless |
Options: anchored caseless |
501 |
No first char |
No first char |
502 |
Need char = '4' |
No need char |
503 |
|
|
504 |
/(^b|(?i)^d)/ |
/(^b|(?i)^d)/ |
505 |
Capturing subpattern count = 1 |
Capturing subpattern count = 1 |
519 |
No options |
No options |
520 |
No first char |
No first char |
521 |
No need char |
No need char |
|
Study size = 40 |
|
522 |
Starting character set: a b c d |
Starting character set: a b c d |
523 |
|
|
524 |
/(?i)[abcd]/S |
/(?i)[abcd]/S |
526 |
Options: caseless |
Options: caseless |
527 |
No first char |
No first char |
528 |
No need char |
No need char |
|
Study size = 40 |
|
529 |
Starting character set: A B C D a b c d |
Starting character set: A B C D a b c d |
530 |
|
|
531 |
/(?m)[xy]|(b|c)/S |
/(?m)[xy]|(b|c)/S |
533 |
Options: multiline |
Options: multiline |
534 |
No first char |
No first char |
535 |
No need char |
No need char |
|
Study size = 40 |
|
536 |
Starting character set: b c x y |
Starting character set: b c x y |
537 |
|
|
538 |
/(^a|^b)/m |
/(^a|^b)/m |
604 |
Case state changes |
Case state changes |
605 |
No first char |
No first char |
606 |
No need char |
No need char |
|
Study size = 40 |
|
607 |
Starting character set: C a b c d |
Starting character set: C a b c d |
608 |
|
|
609 |
/a$/ |
/a$/ |
642 |
Capturing subpattern count = 0 |
Capturing subpattern count = 0 |
643 |
Options: anchored multiline |
Options: anchored multiline |
644 |
No first char |
No first char |
645 |
Need char = 'c' |
No need char |
646 |
|
|
647 |
/^abc/m |
/^abc/m |
648 |
Capturing subpattern count = 0 |
Capturing subpattern count = 0 |
654 |
Capturing subpattern count = 5 |
Capturing subpattern count = 5 |
655 |
Options: anchored |
Options: anchored |
656 |
No first char |
No first char |
657 |
Need char = 'a' |
No need char |
658 |
aaaaabbbbbcccccdef |
aaaaabbbbbcccccdef |
659 |
0: aaaaabbbbbcccccdef |
0: aaaaabbbbbcccccdef |
660 |
1: aaaaabbbbbcccccdef |
1: aaaaabbbbbcccccdef |
668 |
No options |
No options |
669 |
No first char |
No first char |
670 |
No need char |
No need char |
|
Study size = 40 |
|
671 |
Starting character set: a b |
Starting character set: a b |
672 |
|
|
673 |
/(?<!foo)(alpha|omega)/S |
/(?<!foo)(alpha|omega)/S |
675 |
No options |
No options |
676 |
No first char |
No first char |
677 |
Need char = 'a' |
Need char = 'a' |
|
Study size = 40 |
|
678 |
Starting character set: a o |
Starting character set: a o |
679 |
|
|
680 |
/(?!alphabet)[ab]/S |
/(?!alphabet)[ab]/S |
682 |
No options |
No options |
683 |
No first char |
No first char |
684 |
No need char |
No need char |
|
Study size = 40 |
|
685 |
Starting character set: a b |
Starting character set: a b |
686 |
|
|
687 |
/(?<=foo\n)^bar/m |
/(?<=foo\n)^bar/m |
825 |
Max back reference = 1 |
Max back reference = 1 |
826 |
Options: anchored |
Options: anchored |
827 |
No first char |
No first char |
828 |
Need char = 'a' |
No need char |
829 |
aaaaaa |
aaaaaa |
830 |
0: aaaaaa |
0: aaaaaa |
831 |
1: aa |
1: aa |
1015 |
Capturing subpattern count = 3 |
Capturing subpattern count = 3 |
1016 |
Options: anchored |
Options: anchored |
1017 |
No first char |
No first char |
1018 |
Need char = 'f' |
No need char |
1019 |
adef\G1\G2\G3\G4\L |
adef\G1\G2\G3\G4\L |
1020 |
0: adef |
0: adef |
1021 |
1: a |
1: a |
1053 |
Capturing subpattern count = 0 |
Capturing subpattern count = 0 |
1054 |
Options: anchored |
Options: anchored |
1055 |
No first char |
No first char |
1056 |
Need char = 'f' |
No need char |
1057 |
abc\00def\L\C0 |
abc\00def\L\C0 |
1058 |
0: abc\x00def |
0: abc\x00def |
1059 |
0C abc (7) |
0C abc (7) |
1242 |
Capturing subpattern count = 0 |
Capturing subpattern count = 0 |
1243 |
Options: anchored |
Options: anchored |
1244 |
No first char |
No first char |
1245 |
Need char = 's' |
No need char |
1246 |
ississippi |
ississippi |
1247 |
0: iss |
0: iss |
1248 |
0+ issippi |
0+ issippi |
1292 |
Capturing subpattern count = 0 |
Capturing subpattern count = 0 |
1293 |
Options: anchored |
Options: anchored |
1294 |
No first char |
No first char |
1295 |
Need char = 's' |
No need char |
1296 |
Mississippi |
Mississippi |
1297 |
0: Mis |
0: Mis |
1298 |
0+ sissippi |
0+ sissippi |
1301 |
Capturing subpattern count = 0 |
Capturing subpattern count = 0 |
1302 |
Options: anchored |
Options: anchored |
1303 |
No first char |
No first char |
1304 |
Need char = 10 |
No need char |
1305 |
ab\nab\ncd |
ab\nab\ncd |
1306 |
0: ab\x0a |
0: ab\x0a |
1307 |
0+ ab\x0acd |
0+ ab\x0acd |
2408 |
Capturing subpattern count = 2 |
Capturing subpattern count = 2 |
2409 |
Options: anchored |
Options: anchored |
2410 |
No first char |
No first char |
2411 |
Need char = 'a' |
No need char |
2412 |
aba |
aba |
2413 |
0: aba |
0: aba |
2414 |
1: a |
1: a |
2418 |
Capturing subpattern count = 2 |
Capturing subpattern count = 2 |
2419 |
Options: anchored |
Options: anchored |
2420 |
No first char |
No first char |
2421 |
Need char = 'a' |
No need char |
2422 |
aabbaa |
aabbaa |
2423 |
0: aabbaa |
0: aabbaa |
2424 |
1: aa |
1: aa |
2428 |
Capturing subpattern count = 2 |
Capturing subpattern count = 2 |
2429 |
Options: anchored |
Options: anchored |
2430 |
No first char |
No first char |
2431 |
Need char = 'a' |
No need char |
2432 |
aabbaa |
aabbaa |
2433 |
0: aabbaa |
0: aabbaa |
2434 |
1: aa |
1: aa |
2438 |
Capturing subpattern count = 2 |
Capturing subpattern count = 2 |
2439 |
Options: anchored |
Options: anchored |
2440 |
No first char |
No first char |
2441 |
Need char = 'a' |
No need char |
2442 |
aabbaa |
aabbaa |
2443 |
0: aabbaa |
0: aabbaa |
2444 |
1: aa |
1: aa |
2448 |
Capturing subpattern count = 1 |
Capturing subpattern count = 1 |
2449 |
Options: anchored |
Options: anchored |
2450 |
No first char |
No first char |
2451 |
Need char = 'a' |
No need char |
2452 |
aabbaa |
aabbaa |
2453 |
0: aabbaa |
0: aabbaa |
2454 |
1: bb |
1: bb |
2457 |
Capturing subpattern count = 3 |
Capturing subpattern count = 3 |
2458 |
Options: anchored |
Options: anchored |
2459 |
No first char |
No first char |
2460 |
Need char = 'a' |
No need char |
2461 |
aabbaa |
aabbaa |
2462 |
0: aabbaa |
0: aabbaa |
2463 |
1: aa |
1: aa |
2468 |
Capturing subpattern count = 2 |
Capturing subpattern count = 2 |
2469 |
Options: anchored |
Options: anchored |
2470 |
No first char |
No first char |
2471 |
Need char = 'a' |
No need char |
2472 |
aabbaa |
aabbaa |
2473 |
0: aabbaa |
0: aabbaa |
2474 |
1: bb |
1: bb |
2478 |
Capturing subpattern count = 1 |
Capturing subpattern count = 1 |
2479 |
Options: anchored |
Options: anchored |
2480 |
No first char |
No first char |
2481 |
Need char = 'a' |
No need char |
2482 |
aabbaa |
aabbaa |
2483 |
0: aabbaa |
0: aabbaa |
2484 |
1: bb |
1: bb |
2487 |
Capturing subpattern count = 1 |
Capturing subpattern count = 1 |
2488 |
Options: anchored |
Options: anchored |
2489 |
No first char |
No first char |
2490 |
Need char = 'a' |
No need char |
2491 |
aabbbaa |
aabbbaa |
2492 |
0: aabbbaa |
0: aabbbaa |
2493 |
1: bbb |
1: bbb |
2496 |
Capturing subpattern count = 1 |
Capturing subpattern count = 1 |
2497 |
Options: anchored |
Options: anchored |
2498 |
No first char |
No first char |
2499 |
Need char = 'a' |
No need char |
2500 |
aabbbaa |
aabbbaa |
2501 |
0: aabbbaa |
0: aabbbaa |
2502 |
1: bbb |
1: bbb |
2505 |
Capturing subpattern count = 1 |
Capturing subpattern count = 1 |
2506 |
Options: anchored |
Options: anchored |
2507 |
No first char |
No first char |
2508 |
Need char = 'a' |
No need char |
2509 |
aabbaa |
aabbaa |
2510 |
0: aabbaa |
0: aabbaa |
2511 |
1: b |
1: b |
2514 |
Capturing subpattern count = 1 |
Capturing subpattern count = 1 |
2515 |
Options: anchored |
Options: anchored |
2516 |
No first char |
No first char |
2517 |
Need char = 'a' |
No need char |
2518 |
aabbbaa |
aabbbaa |
2519 |
0: aabbbaa |
0: aabbbaa |
2520 |
1: bb |
1: bb |
2523 |
Capturing subpattern count = 3 |
Capturing subpattern count = 3 |
2524 |
Options: anchored |
Options: anchored |
2525 |
No first char |
No first char |
2526 |
Need char = 'a' |
No need char |
2527 |
aabbbaa |
aabbbaa |
2528 |
0: aabbbaa |
0: aabbbaa |
2529 |
1: aa |
1: aa |
2534 |
Capturing subpattern count = 3 |
Capturing subpattern count = 3 |
2535 |
Options: anchored |
Options: anchored |
2536 |
No first char |
No first char |
2537 |
Need char = 'a' |
No need char |
2538 |
aabbbbaa |
aabbbbaa |
2539 |
0: aabbbbaa |
0: aabbbbaa |
2540 |
1: aa |
1: aa |
3035 |
Capturing subpattern count = 5 |
Capturing subpattern count = 5 |
3036 |
Options: anchored |
Options: anchored |
3037 |
No first char |
No first char |
3038 |
Need char = 'a' |
No need char |
3039 |
|
|
3040 |
/^x(?U)a+b/D |
/^x(?U)a+b/D |
3041 |
------------------------------------------------------------------ |
------------------------------------------------------------------ |
3366 |
No options |
No options |
3367 |
No first char |
No first char |
3368 |
No need char |
No need char |
|
Study size = 40 |
|
3369 |
Starting character set: a b |
Starting character set: a b |
3370 |
|
|
3371 |
/[^a]/I |
/[^a]/I |
3385 |
No options |
No options |
3386 |
No first char |
No first char |
3387 |
Need char = '6' |
Need char = '6' |
|
Study size = 40 |
|
3388 |
Starting character set: 0 1 2 3 4 5 6 7 8 9 |
Starting character set: 0 1 2 3 4 5 6 7 8 9 |
3389 |
|
|
3390 |
/a^b/I |
/a^b/I |
3418 |
Options: caseless |
Options: caseless |
3419 |
No first char |
No first char |
3420 |
No need char |
No need char |
|
Study size = 40 |
|
3421 |
Starting character set: A B a b |
Starting character set: A B a b |
3422 |
|
|
3423 |
/[ab](?i)cd/IS |
/[ab](?i)cd/IS |
3426 |
Case state changes |
Case state changes |
3427 |
No first char |
No first char |
3428 |
Need char = 'd' (caseless) |
Need char = 'd' (caseless) |
|
Study size = 40 |
|
3429 |
Starting character set: a b |
Starting character set: a b |
3430 |
|
|
3431 |
/abc(?C)def/ |
/abc(?C)def/ |
3719 |
Capturing subpattern count = 0 |
Capturing subpattern count = 0 |
3720 |
Options: anchored |
Options: anchored |
3721 |
No first char |
No first char |
3722 |
Need char = 'c' |
No need char |
3723 |
|
|
3724 |
/(?C)a|b/S |
/(?C)a|b/S |
3725 |
Capturing subpattern count = 0 |
Capturing subpattern count = 0 |
3726 |
No options |
No options |
3727 |
No first char |
No first char |
3728 |
No need char |
No need char |
|
Study size = 40 |
|
3729 |
Starting character set: a b |
Starting character set: a b |
3730 |
|
|
3731 |
/(?R)/ |
/(?R)/ |
3900 |
Capturing subpattern count = 2 |
Capturing subpattern count = 2 |
3901 |
Options: anchored |
Options: anchored |
3902 |
No first char |
No first char |
3903 |
Need char = 'z' |
No need char |
3904 |
xyz |
xyz |
3905 |
0: xyz |
0: xyz |
3906 |
1: xyz |
1: xyz |
3960 |
Capturing subpattern count = 1 |
Capturing subpattern count = 1 |
3961 |
Options: anchored |
Options: anchored |
3962 |
No first char |
No first char |
3963 |
Need char = 'f' |
No need char |
3964 |
abcdefabc |
abcdefabc |
3965 |
0: abcdefabc |
0: abcdefabc |
3966 |
1: abc |
1: abc |
3969 |
Capturing subpattern count = 1 |
Capturing subpattern count = 1 |
3970 |
Options: anchored |
Options: anchored |
3971 |
No first char |
No first char |
3972 |
Need char = '=' |
No need char |
3973 |
a=a |
a=a |
3974 |
0: a=a |
0: a=a |
3975 |
1: a |
1: a |
3984 |
Capturing subpattern count = 2 |
Capturing subpattern count = 2 |
3985 |
Options: anchored |
Options: anchored |
3986 |
No first char |
No first char |
3987 |
Need char = '=' |
No need char |
3988 |
a=a |
a=a |
3989 |
0: a=a |
0: a=a |
3990 |
1: a |
1: a |
4391 |
2: aa |
2: aa |
4392 |
2C aa (2) |
2C aa (2) |
4393 |
|
|
4394 |
|
/(?P<x>eks)(?P<x>eccs)/ |
4395 |
|
Failed: two named groups have the same name at offset 16 |
4396 |
|
|
4397 |
|
/(?P<abc>abc(?P<def>def)(?P<abc>xyz))/ |
4398 |
|
Failed: two named groups have the same name at offset 31 |
4399 |
|
|
4400 |
/ End of testinput2 / |
/ End of testinput2 / |
4401 |
Capturing subpattern count = 0 |
Capturing subpattern count = 0 |
4402 |
No options |
No options |