/[pcre]/code/trunk/testdata/testoutput5
ViewVC logotype

Diff of /code/trunk/testdata/testoutput5

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 92 by nigel, Sat Feb 24 21:41:34 2007 UTC revision 93 by nigel, Sat Feb 24 21:41:42 2007 UTC
# Line 103  First char = 195 Line 103  First char = 195
103  Need char = 191  Need char = 191
104    
105  /[\x{100}]/8DM  /[\x{100}]/8DM
106  Memory allocation (code space): 47  Memory allocation (code space): 15
107  ------------------------------------------------------------------  ------------------------------------------------------------------
108    0  11 Bra 0    0  11 Bra 0
109    3     [\x{100}]    3     [\x{100}]
# Line 429  No match Line 429  No match
429    
430  /Ā{3,4}/8SD  /Ā{3,4}/8SD
431  ------------------------------------------------------------------  ------------------------------------------------------------------
432    0  13 Bra 0    0  11 Bra 0
433    3     \x{100}{3}    3     \x{100}{3}
434    8     \x{100}{,1}    8     \x{100}?
435   13  13 Ket   11  11 Ket
436   16     End   14     End
437  ------------------------------------------------------------------  ------------------------------------------------------------------
438  Capturing subpattern count = 0  Capturing subpattern count = 0
439  Partial matching not supported  Partial matching not supported
# Line 446  Study returned NULL Line 446  Study returned NULL
446    
447  /(\x{100}+|x)/8SD  /(\x{100}+|x)/8SD
448  ------------------------------------------------------------------  ------------------------------------------------------------------
   0  17 Bra 0  
   3   6 Bra 1  
   6     \x{100}+  
   9   5 Alt  
  12     x  
  14  11 Ket  
  17  17 Ket  
  20     End  
 ------------------------------------------------------------------  
 Capturing subpattern count = 1  
 Partial matching not supported  
 Options: utf8  
 No first char  
 No need char  
 Starting byte set: x \xc4  
   
 /(\x{100}*a|x)/8SD  
 ------------------------------------------------------------------  
449    0  19 Bra 0    0  19 Bra 0
450    3   8 Bra 1    3   8 Bra 1
451    6     \x{100}*    8     \x{100}+
   9     a  
452   11   5 Alt   11   5 Alt
453   14     x   14     x
454   16  13 Ket   16  13 Ket
# Line 479  Partial matching not supported Line 460  Partial matching not supported
460  Options: utf8  Options: utf8
461  No first char  No first char
462  No need char  No need char
463  Starting byte set: a x \xc4  Starting byte set: x \xc4
464    
465  /(\x{100}{0,2}a|x)/8SD  /(\x{100}*a|x)/8SD
466  ------------------------------------------------------------------  ------------------------------------------------------------------
467    0  21 Bra 0    0  21 Bra 0
468    3  10 Bra 1    3  10 Bra 1
469    6     \x{100}{,2}    8     \x{100}*+
470   11     a   11     a
471   13   5 Alt   13   5 Alt
472   16     x   16     x
# Line 500  No first char Line 481  No first char
481  No need char  No need char
482  Starting byte set: a x \xc4  Starting byte set: a x \xc4
483    
484    /(\x{100}{0,2}a|x)/8SD
485    ------------------------------------------------------------------
486      0  23 Bra 0
487      3  12 Bra 1
488      8     \x{100}{0,2}
489     13     a
490     15   5 Alt
491     18     x
492     20  17 Ket
493     23  23 Ket
494     26     End
495    ------------------------------------------------------------------
496    Capturing subpattern count = 1
497    Partial matching not supported
498    Options: utf8
499    No first char
500    No need char
501    Starting byte set: a x \xc4
502    
503  /(\x{100}{1,2}a|x)/8SD  /(\x{100}{1,2}a|x)/8SD
504  ------------------------------------------------------------------  ------------------------------------------------------------------
505    0  24 Bra 0    0  26 Bra 0
506    3  13 Bra 1    3  15 Bra 1
507    6     \x{100}    8     \x{100}
508    9     \x{100}{,1}   11     \x{100}{0,1}
509   14     a   16     a
510   16   5 Alt   18   5 Alt
511   19     x   21     x
512   21  18 Ket   23  20 Ket
513   24  24 Ket   26  26 Ket
514   27     End   29     End
515  ------------------------------------------------------------------  ------------------------------------------------------------------
516  Capturing subpattern count = 1  Capturing subpattern count = 1
517  Partial matching not supported  Partial matching not supported
# Line 628  Need char = 129 Line 628  Need char = 129
628  /\x{100}*A/8D  /\x{100}*A/8D
629  ------------------------------------------------------------------  ------------------------------------------------------------------
630    0   8 Bra 0    0   8 Bra 0
631    3     \x{100}*    3     \x{100}*+
632    6     A    6     A
633    8   8 Ket    8   8 Ket
634   11     End   11     End
# Line 644  Need char = 'A' Line 644  Need char = 'A'
644  /\x{100}*\d(?R)/8D  /\x{100}*\d(?R)/8D
645  ------------------------------------------------------------------  ------------------------------------------------------------------
646    0  16 Bra 0    0  16 Bra 0
647    3     \x{100}*    3     \x{100}*+
648    6     \d    6     \d
649    7   6 Once    7   6 Once
650   10   0 Recurse   10   0 Recurse
# Line 683  No first char Line 683  No first char
683  No need char  No need char
684    
685  /[\x{100}]/8DM  /[\x{100}]/8DM
686  Memory allocation (code space): 47  Memory allocation (code space): 15
687  ------------------------------------------------------------------  ------------------------------------------------------------------
688    0  11 Bra 0    0  11 Bra 0
689    3     [\x{100}]    3     [\x{100}]
# Line 912  No match Line 912  No match
912    
913  /\x{100}abc(xyz(?1))/8D  /\x{100}abc(xyz(?1))/8D
914  ------------------------------------------------------------------  ------------------------------------------------------------------
915    0  33 Bra 0    0  35 Bra 0
916    3     \x{100}abc    3     \x{100}abc
917   12  18 Bra 1   12  20 Bra 1
918   15     xyz   17     xyz
919   21   6 Once   23   6 Once
920   24  12 Recurse   26  12 Recurse
921   27   6 Ket   29   6 Ket
922   30  18 Ket   32  20 Ket
923   33  33 Ket   35  35 Ket
924   36     End   38     End
925  ------------------------------------------------------------------  ------------------------------------------------------------------
926  Capturing subpattern count = 1  Capturing subpattern count = 1
927  Options: utf8  Options: utf8
# Line 930  Need char = 'z' Line 930  Need char = 'z'
930    
931  /[^\x{100}]abc(xyz(?1))/8D  /[^\x{100}]abc(xyz(?1))/8D
932  ------------------------------------------------------------------  ------------------------------------------------------------------
933    0  38 Bra 0    0  40 Bra 0
934    3     [^\x{100}]    3     [^\x{100}]
935   11     abc   11     abc
936   17  18 Bra 1   17  20 Bra 1
937   20     xyz   22     xyz
938   26   6 Once   28   6 Once
939   29  17 Recurse   31  17 Recurse
940   32   6 Ket   34   6 Ket
941   35  18 Ket   37  20 Ket
942   38  38 Ket   40  40 Ket
943   41     End   43     End
944  ------------------------------------------------------------------  ------------------------------------------------------------------
945  Capturing subpattern count = 1  Capturing subpattern count = 1
946  Options: utf8  Options: utf8
# Line 949  Need char = 'z' Line 949  Need char = 'z'
949    
950  /[ab\x{100}]abc(xyz(?1))/8D  /[ab\x{100}]abc(xyz(?1))/8D
951  ------------------------------------------------------------------  ------------------------------------------------------------------
952    0  70 Bra 0    0  72 Bra 0
953    3     [ab\x{100}]    3     [ab\x{100}]
954   43     abc   43     abc
955   49  18 Bra 1   49  20 Bra 1
956   52     xyz   54     xyz
957   58   6 Once   60   6 Once
958   61  49 Recurse   63  49 Recurse
959   64   6 Ket   66   6 Ket
960   67  18 Ket   69  20 Ket
961   70  70 Ket   72  72 Ket
962   73     End   75     End
963  ------------------------------------------------------------------  ------------------------------------------------------------------
964  Capturing subpattern count = 1  Capturing subpattern count = 1
965  Options: utf8  Options: utf8
# Line 968  Need char = 'z' Line 968  Need char = 'z'
968    
969  /(\x{100}(b(?2)c))?/D8  /(\x{100}(b(?2)c))?/D8
970  ------------------------------------------------------------------  ------------------------------------------------------------------
971    0  32 Bra 0    0  36 Bra 0
972    3     Brazero    3     Brazero
973    4  25 Bra 1    4  29 Bra 1
974    7     \x{100}    9     \x{100}
975   10  16 Bra 2   12  18 Bra 2
976   13     b   17     b
977   15   6 Once   19   6 Once
978   18  10 Recurse   22  12 Recurse
979   21   6 Ket   25   6 Ket
980   24     c   28     c
981   26  16 Ket   30  18 Ket
982   29  25 Ket   33  29 Ket
983   32  32 Ket   36  36 Ket
984   35     End   39     End
985  ------------------------------------------------------------------  ------------------------------------------------------------------
986  Capturing subpattern count = 2  Capturing subpattern count = 2
987  Options: utf8  Options: utf8
# Line 990  No need char Line 990  No need char
990    
991  /(\x{100}(b(?2)c)){0,2}/D8  /(\x{100}(b(?2)c)){0,2}/D8
992  ------------------------------------------------------------------  ------------------------------------------------------------------
993    0  67 Bra 0    0  75 Bra 0
994    3     Brazero    3     Brazero
995    4  60 Bra 0    4  68 Bra 0
996    7  25 Bra 1    7  29 Bra 1
997   10     \x{100}   12     \x{100}
998   13  16 Bra 2   15  18 Bra 2
999   16     b   20     b
1000   18   6 Once   22   6 Once
1001   21  13 Recurse   25  15 Recurse
1002   24   6 Ket   28   6 Ket
1003   27     c   31     c
1004   29  16 Ket   33  18 Ket
1005   32  25 Ket   36  29 Ket
1006   35     Brazero   39     Brazero
1007   36  25 Bra 1   40  29 Bra 1
1008   39     \x{100}   45     \x{100}
1009   42  16 Bra 2   48  18 Bra 2
1010   45     b   53     b
1011   47   6 Once   55   6 Once
1012   50  13 Recurse   58  15 Recurse
1013   53   6 Ket   61   6 Ket
1014   56     c   64     c
1015   58  16 Ket   66  18 Ket
1016   61  25 Ket   69  29 Ket
1017   64  60 Ket   72  68 Ket
1018   67  67 Ket   75  75 Ket
1019   70     End   78     End
1020  ------------------------------------------------------------------  ------------------------------------------------------------------
1021  Capturing subpattern count = 2  Capturing subpattern count = 2
1022  Options: utf8  Options: utf8
# Line 1025  No need char Line 1025  No need char
1025    
1026  /(\x{100}(b(?1)c))?/D8  /(\x{100}(b(?1)c))?/D8
1027  ------------------------------------------------------------------  ------------------------------------------------------------------
1028    0  32 Bra 0    0  36 Bra 0
1029    3     Brazero    3     Brazero
1030    4  25 Bra 1    4  29 Bra 1
1031    7     \x{100}    9     \x{100}
1032   10  16 Bra 2   12  18 Bra 2
1033   13     b   17     b
1034   15   6 Once   19   6 Once
1035   18   4 Recurse   22   4 Recurse
1036   21   6 Ket   25   6 Ket
1037   24     c   28     c
1038   26  16 Ket   30  18 Ket
1039   29  25 Ket   33  29 Ket
1040   32  32 Ket   36  36 Ket
1041   35     End   39     End
1042  ------------------------------------------------------------------  ------------------------------------------------------------------
1043  Capturing subpattern count = 2  Capturing subpattern count = 2
1044  Options: utf8  Options: utf8
# Line 1047  No need char Line 1047  No need char
1047    
1048  /(\x{100}(b(?1)c)){0,2}/D8  /(\x{100}(b(?1)c)){0,2}/D8
1049  ------------------------------------------------------------------  ------------------------------------------------------------------
1050    0  67 Bra 0    0  75 Bra 0
1051    3     Brazero    3     Brazero
1052    4  60 Bra 0    4  68 Bra 0
1053    7  25 Bra 1    7  29 Bra 1
1054   10     \x{100}   12     \x{100}
1055   13  16 Bra 2   15  18 Bra 2
1056   16     b   20     b
1057   18   6 Once   22   6 Once
1058   21   7 Recurse   25   7 Recurse
1059   24   6 Ket   28   6 Ket
1060   27     c   31     c
1061   29  16 Ket   33  18 Ket
1062   32  25 Ket   36  29 Ket
1063   35     Brazero   39     Brazero
1064   36  25 Bra 1   40  29 Bra 1
1065   39     \x{100}   45     \x{100}
1066   42  16 Bra 2   48  18 Bra 2
1067   45     b   53     b
1068   47   6 Once   55   6 Once
1069   50   7 Recurse   58   7 Recurse
1070   53   6 Ket   61   6 Ket
1071   56     c   64     c
1072   58  16 Ket   66  18 Ket
1073   61  25 Ket   69  29 Ket
1074   64  60 Ket   72  68 Ket
1075   67  67 Ket   75  75 Ket
1076   70     End   78     End
1077  ------------------------------------------------------------------  ------------------------------------------------------------------
1078  Capturing subpattern count = 2  Capturing subpattern count = 2
1079  Options: utf8  Options: utf8
# Line 1119  Need char = 191 Line 1119  Need char = 191
1119   0: \x{1ff}   0: \x{1ff}
1120    \777    \777
1121   0: \x{1ff}   0: \x{1ff}
1122    
1123    /\x{100}*\d/8D
1124    ------------------------------------------------------------------
1125      0   7 Bra 0
1126      3     \x{100}*+
1127      6     \d
1128      7   7 Ket
1129     10     End
1130    ------------------------------------------------------------------
1131    Capturing subpattern count = 0
1132    Partial matching not supported
1133    Options: utf8
1134    No first char
1135    No need char
1136    
1137    /\x{100}*\s/8D
1138    ------------------------------------------------------------------
1139      0   7 Bra 0
1140      3     \x{100}*+
1141      6     \s
1142      7   7 Ket
1143     10     End
1144    ------------------------------------------------------------------
1145    Capturing subpattern count = 0
1146    Partial matching not supported
1147    Options: utf8
1148    No first char
1149    No need char
1150    
1151    /\x{100}*\w/8D
1152    ------------------------------------------------------------------
1153      0   7 Bra 0
1154      3     \x{100}*+
1155      6     \w
1156      7   7 Ket
1157     10     End
1158    ------------------------------------------------------------------
1159    Capturing subpattern count = 0
1160    Partial matching not supported
1161    Options: utf8
1162    No first char
1163    No need char
1164    
1165    /\x{100}*\D/8D
1166    ------------------------------------------------------------------
1167      0   7 Bra 0
1168      3     \x{100}*
1169      6     \D
1170      7   7 Ket
1171     10     End
1172    ------------------------------------------------------------------
1173    Capturing subpattern count = 0
1174    Partial matching not supported
1175    Options: utf8
1176    No first char
1177    No need char
1178    
1179    /\x{100}*\S/8D
1180    ------------------------------------------------------------------
1181      0   7 Bra 0
1182      3     \x{100}*
1183      6     \S
1184      7   7 Ket
1185     10     End
1186    ------------------------------------------------------------------
1187    Capturing subpattern count = 0
1188    Partial matching not supported
1189    Options: utf8
1190    No first char
1191    No need char
1192    
1193    /\x{100}*\W/8D
1194    ------------------------------------------------------------------
1195      0   7 Bra 0
1196      3     \x{100}*
1197      6     \W
1198      7   7 Ket
1199     10     End
1200    ------------------------------------------------------------------
1201    Capturing subpattern count = 0
1202    Partial matching not supported
1203    Options: utf8
1204    No first char
1205    No need char
1206    
1207    /\x{100}+\x{200}/8D
1208    ------------------------------------------------------------------
1209      0   9 Bra 0
1210      3     \x{100}++
1211      6     \x{200}
1212      9   9 Ket
1213     12     End
1214    ------------------------------------------------------------------
1215    Capturing subpattern count = 0
1216    Partial matching not supported
1217    Options: utf8
1218    First char = 196
1219    Need char = 128
1220    
1221    /\x{100}+X/8D
1222    ------------------------------------------------------------------
1223      0   8 Bra 0
1224      3     \x{100}++
1225      6     X
1226      8   8 Ket
1227     11     End
1228    ------------------------------------------------------------------
1229    Capturing subpattern count = 0
1230    Partial matching not supported
1231    Options: utf8
1232    First char = 196
1233    Need char = 'X'
1234    
1235    /X+\x{200}/8D
1236    ------------------------------------------------------------------
1237      0   8 Bra 0
1238      3     X++
1239      5     \x{200}
1240      8   8 Ket
1241     11     End
1242    ------------------------------------------------------------------
1243    Capturing subpattern count = 0
1244    Partial matching not supported
1245    Options: utf8
1246    First char = 'X'
1247    Need char = 128
1248    
1249    /()()()()()()()()()()
1250     ()()()()()()()()()()
1251     ()()()()()()()()()()
1252     ()()()()()()()()()()
1253     A (x) (?41) B/8x
1254        AxxB
1255    Matched, but too many substrings
1256     0: AxxB
1257     1:
1258     2:
1259     3:
1260     4:
1261     5:
1262     6:
1263     7:
1264     8:
1265     9:
1266    10:
1267    11:
1268    12:
1269    13:
1270    14:
1271    
1272    /^[\x{100}\E-\Q\E\x{150}]/B8
1273    ------------------------------------------------------------------
1274      0  14 Bra 0
1275      3     ^
1276      4     [\x{100}-\x{150}]
1277     14  14 Ket
1278     17     End
1279    ------------------------------------------------------------------
1280    
1281    /^[\QĀ\E-\QŐ\E]/B8
1282    ------------------------------------------------------------------
1283      0  14 Bra 0
1284      3     ^
1285      4     [\x{100}-\x{150}]
1286     14  14 Ket
1287     17     End
1288    ------------------------------------------------------------------
1289    
1290    /^[\QĀ\E-\QŐ\E/B8
1291    Failed: missing terminating ] for character class at offset 15
1292    
1293    /^abc./mgx8<any>
1294        abc1 \x0aabc2 \x0babc3xx \x0cabc4 \x0dabc5xx \x0d\x0aabc6 \x{0085}abc7 \x{2028}abc8 \x{2029}abc9 JUNK
1295     0: abc1
1296     0: abc2
1297     0: abc3
1298     0: abc4
1299     0: abc5
1300     0: abc6
1301     0: abc7
1302     0: abc8
1303     0: abc9
1304    
1305    /abc.$/mgx8<any>
1306        abc1\x0a abc2\x0b abc3\x0c abc4\x0d abc5\x0d\x0a abc6\x{0085} abc7\x{2028} abc8\x{2029} abc9
1307     0: abc1
1308     0: abc2
1309     0: abc3
1310     0: abc4
1311     0: abc5
1312     0: abc6
1313     0: abc7
1314     0: abc8
1315     0: abc9
1316    
1317    /^a\Rb/8
1318        a\nb
1319     0: a\x{0a}b
1320        a\rb
1321     0: a\x{0d}b
1322        a\r\nb
1323     0: a\x{0d}\x{0a}b
1324        a\x0bb
1325     0: a\x{0b}b
1326        a\x0cb
1327     0: a\x{0c}b
1328        a\x{85}b
1329     0: a\x{85}b
1330        a\x{2028}b
1331     0: a\x{2028}b
1332        a\x{2029}b
1333     0: a\x{2029}b
1334        ** Failers
1335    No match
1336        a\n\rb
1337    No match
1338    
1339    /^a\R*b/8
1340        ab
1341     0: ab
1342        a\nb
1343     0: a\x{0a}b
1344        a\rb
1345     0: a\x{0d}b
1346        a\r\nb
1347     0: a\x{0d}\x{0a}b
1348        a\x0bb
1349     0: a\x{0b}b
1350        a\x0c\x{2028}\x{2029}b
1351     0: a\x{0c}\x{2028}\x{2029}b
1352        a\x{85}b
1353     0: a\x{85}b
1354        a\n\rb
1355     0: a\x{0a}\x{0d}b
1356        a\n\r\x{85}\x0cb
1357     0: a\x{0a}\x{0d}\x{85}\x{0c}b
1358    
1359    /^a\R+b/8
1360        a\nb
1361     0: a\x{0a}b
1362        a\rb
1363     0: a\x{0d}b
1364        a\r\nb
1365     0: a\x{0d}\x{0a}b
1366        a\x0bb
1367     0: a\x{0b}b
1368        a\x0c\x{2028}\x{2029}b
1369     0: a\x{0c}\x{2028}\x{2029}b
1370        a\x{85}b
1371     0: a\x{85}b
1372        a\n\rb
1373     0: a\x{0a}\x{0d}b
1374        a\n\r\x{85}\x0cb
1375     0: a\x{0a}\x{0d}\x{85}\x{0c}b
1376        ** Failers
1377    No match
1378        ab
1379    No match
1380    
1381    /^a\R{1,3}b/8
1382        a\nb
1383     0: a\x{0a}b
1384        a\n\rb
1385     0: a\x{0a}\x{0d}b
1386        a\n\r\x{85}b
1387     0: a\x{0a}\x{0d}\x{85}b
1388        a\r\n\r\nb
1389     0: a\x{0d}\x{0a}\x{0d}\x{0a}b
1390        a\r\n\r\n\r\nb
1391     0: a\x{0d}\x{0a}\x{0d}\x{0a}\x{0d}\x{0a}b
1392        a\n\r\n\rb
1393     0: a\x{0a}\x{0d}\x{0a}\x{0d}b
1394        a\n\n\r\nb
1395     0: a\x{0a}\x{0a}\x{0d}\x{0a}b
1396        ** Failers
1397    No match
1398        a\n\n\n\rb
1399    No match
1400        a\r
1401    No match
1402    
1403  / End of testinput5 /  / End of testinput5 /

Legend:
Removed from v.92  
changed lines
  Added in v.93

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12