| 1 |
PCRE version 2.04 19-Feb-1999 |
PCRE version 2.05 21-Apr-1999 |
| 2 |
|
|
| 3 |
/(a)b|/ |
/(a)b|/ |
| 4 |
Identifying subpattern count = 1 |
Identifying subpattern count = 1 |
| 106 |
|
|
| 107 |
/.*b/ |
/.*b/ |
| 108 |
Identifying subpattern count = 0 |
Identifying subpattern count = 0 |
| 109 |
Options: anchored |
No options |
| 110 |
No first char |
First char at start or follows \n |
| 111 |
|
|
| 112 |
/.*?b/ |
/.*?b/ |
| 113 |
Identifying subpattern count = 0 |
Identifying subpattern count = 0 |
| 114 |
Options: anchored |
No options |
| 115 |
No first char |
First char at start or follows \n |
| 116 |
|
|
| 117 |
/cat|dog|elephant/ |
/cat|dog|elephant/ |
| 118 |
Identifying subpattern count = 0 |
Identifying subpattern count = 0 |
| 299 |
|
|
| 300 |
/.*((abc)$|(def))/ |
/.*((abc)$|(def))/ |
| 301 |
Identifying subpattern count = 3 |
Identifying subpattern count = 3 |
| 302 |
Options: anchored |
No options |
| 303 |
No first char |
First char at start or follows \n |
| 304 |
defabc |
defabc |
| 305 |
0: defabc |
0: defabc |
| 306 |
1: abc |
1: abc |
| 679 |
|
|
| 680 |
/(?>.*)(?<=(abcd)|(xyz))/ |
/(?>.*)(?<=(abcd)|(xyz))/ |
| 681 |
Identifying subpattern count = 2 |
Identifying subpattern count = 2 |
| 682 |
Options: anchored |
No options |
| 683 |
No first char |
First char at start or follows \n |
| 684 |
alphabetabcd |
alphabetabcd |
| 685 |
0: alphabetabcd |
0: alphabetabcd |
| 686 |
1: abcd |
1: abcd |
| 986 |
No options |
No options |
| 987 |
First char = 'w' |
First char = 'w' |
| 988 |
|
|
| 989 |
|
/.*X/D |
| 990 |
|
------------------------------------------------------------------ |
| 991 |
|
0 8 Bra 0 |
| 992 |
|
3 Any* |
| 993 |
|
5 1 X |
| 994 |
|
8 8 Ket |
| 995 |
|
11 End |
| 996 |
|
------------------------------------------------------------------ |
| 997 |
|
Identifying subpattern count = 0 |
| 998 |
|
No options |
| 999 |
|
First char at start or follows \n |
| 1000 |
|
|
| 1001 |
|
/.*X/Ds |
| 1002 |
|
------------------------------------------------------------------ |
| 1003 |
|
0 8 Bra 0 |
| 1004 |
|
3 Any* |
| 1005 |
|
5 1 X |
| 1006 |
|
8 8 Ket |
| 1007 |
|
11 End |
| 1008 |
|
------------------------------------------------------------------ |
| 1009 |
|
Identifying subpattern count = 0 |
| 1010 |
|
Options: anchored dotall |
| 1011 |
|
No first char |
| 1012 |
|
|
| 1013 |
|
/(.*X|^B)/D |
| 1014 |
|
------------------------------------------------------------------ |
| 1015 |
|
0 21 Bra 0 |
| 1016 |
|
3 8 Bra 1 |
| 1017 |
|
6 Any* |
| 1018 |
|
8 1 X |
| 1019 |
|
11 7 Alt |
| 1020 |
|
14 ^ |
| 1021 |
|
15 1 B |
| 1022 |
|
18 15 Ket |
| 1023 |
|
21 21 Ket |
| 1024 |
|
24 End |
| 1025 |
|
------------------------------------------------------------------ |
| 1026 |
|
Identifying subpattern count = 1 |
| 1027 |
|
No options |
| 1028 |
|
First char at start or follows \n |
| 1029 |
|
|
| 1030 |
|
/(.*X|^B)/Ds |
| 1031 |
|
------------------------------------------------------------------ |
| 1032 |
|
0 21 Bra 0 |
| 1033 |
|
3 8 Bra 1 |
| 1034 |
|
6 Any* |
| 1035 |
|
8 1 X |
| 1036 |
|
11 7 Alt |
| 1037 |
|
14 ^ |
| 1038 |
|
15 1 B |
| 1039 |
|
18 15 Ket |
| 1040 |
|
21 21 Ket |
| 1041 |
|
24 End |
| 1042 |
|
------------------------------------------------------------------ |
| 1043 |
|
Identifying subpattern count = 1 |
| 1044 |
|
Options: anchored dotall |
| 1045 |
|
No first char |
| 1046 |
|
|
| 1047 |
|
/(?s)(.*X|^B)/D |
| 1048 |
|
------------------------------------------------------------------ |
| 1049 |
|
0 21 Bra 0 |
| 1050 |
|
3 8 Bra 1 |
| 1051 |
|
6 Any* |
| 1052 |
|
8 1 X |
| 1053 |
|
11 7 Alt |
| 1054 |
|
14 ^ |
| 1055 |
|
15 1 B |
| 1056 |
|
18 15 Ket |
| 1057 |
|
21 21 Ket |
| 1058 |
|
24 End |
| 1059 |
|
------------------------------------------------------------------ |
| 1060 |
|
Identifying subpattern count = 1 |
| 1061 |
|
Options: anchored dotall |
| 1062 |
|
No first char |
| 1063 |
|
|
| 1064 |
|
/(?s:.*X|^B)/D |
| 1065 |
|
------------------------------------------------------------------ |
| 1066 |
|
0 27 Bra 0 |
| 1067 |
|
3 10 Bra 0 |
| 1068 |
|
6 04 Opt |
| 1069 |
|
8 Any* |
| 1070 |
|
10 1 X |
| 1071 |
|
13 9 Alt |
| 1072 |
|
16 04 Opt |
| 1073 |
|
18 ^ |
| 1074 |
|
19 1 B |
| 1075 |
|
22 19 Ket |
| 1076 |
|
25 00 Opt |
| 1077 |
|
27 27 Ket |
| 1078 |
|
30 End |
| 1079 |
|
------------------------------------------------------------------ |
| 1080 |
|
Identifying subpattern count = 0 |
| 1081 |
|
No options |
| 1082 |
|
First char at start or follows \n |
| 1083 |
|
|
| 1084 |
/ End of test input / |
/ End of test input / |
| 1085 |
Identifying subpattern count = 0 |
Identifying subpattern count = 0 |
| 1086 |
No options |
No options |