/[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 67 by nigel, Sat Feb 24 21:40:13 2007 UTC revision 73 by nigel, Sat Feb 24 21:40:30 2007 UTC
# Line 1  Line 1 
1  PCRE version 4.2 14-Apr-2003  PCRE version 4.5 01-December-2003
2    
3  /\x{100}/8DM  /\x{100}/8DM
4  Memory allocation (code space): 11  Memory allocation (code space): 11
# Line 402  Capturing subpattern count = 0 Line 402  Capturing subpattern count = 0
402  Options: utf8  Options: utf8
403  No first char  No first char
404  No need char  No need char
 Study size = 40  
405  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
406    \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
407    \x1a \x1b \x1c \x1d \x1e \x1f \x20 ! " # $ % & ' ( ) * + , - . / 0 1 2 3 4    \x1a \x1b \x1c \x1d \x1e \x1f \x20 ! " # $ % & ' ( ) * + , - . / 0 1 2 3 4
408    5 6 7 8 9 : ; < = > ? @ A B C D E F G H I J K L M N O P Q R S T U V W X Y    5 6 7 8 9 : ; < = > ? @ A B C D E F G H I J K L M N O P Q R S T U V W X Y
409    Z [ \ ] ^ _ ` c d e f g h i j k l m n o p q r s t u v w x y z { | } ~ \x7f    Z [ \ ] ^ _ ` c d e f g h i j k l m n o p q r s t u v w x y z { | } ~ \x7f
410    \x80 \x81 \x82 \x83 \x84 \x85 \x86 \x87 \x88 \x89 \x8a \x8b \x8c \x8d \x8e    \xc2 \xc3 \xc4 \xc5 \xc6 \xc7 \xc8 \xc9 \xca \xcb \xcc \xcd \xce \xcf \xd0
411    \x8f \x90 \x91 \x92 \x93 \x94 \x95 \x96 \x97 \x98 \x99 \x9a \x9b \x9c \x9d    \xd1 \xd2 \xd3 \xd4 \xd5 \xd6 \xd7 \xd8 \xd9 \xda \xdb \xdc \xdd \xde \xdf
412    \x9e \x9f \xa0 \xa1 \xa2 \xa3 \xa4 \xa5 \xa6 \xa7 \xa8 \xa9 \xaa \xab \xac    \xe0 \xe1 \xe2 \xe3 \xe4 \xe5 \xe6 \xe7 \xe8 \xe9 \xea \xeb \xec \xed \xee
413    \xad \xae \xaf \xb0 \xb1 \xb2 \xb3 \xb4 \xb5 \xb6 \xb7 \xb8 \xb9 \xba \xbb    \xef \xf0 \xf1 \xf2 \xf3 \xf4 \xf5 \xf6 \xf7 \xf8 \xf9 \xfa \xfb \xfc \xfd
414    \xbc \xbd \xbe \xbf \xc0 \xc1 \xc2 \xc3 \xc4 \xc5 \xc6 \xc7 \xc8 \xc9 \xca    \xfe \xff
   \xcb \xcc \xcd \xce \xcf \xd0 \xd1 \xd2 \xd3 \xd4 \xd5 \xd6 \xd7 \xd8 \xd9  
   \xda \xdb \xdc \xdd \xde \xdf \xe0 \xe1 \xe2 \xe3 \xe4 \xe5 \xe6 \xe7 \xe8  
   \xe9 \xea \xeb \xec \xed \xee \xef \xf0 \xf1 \xf2 \xf3 \xf4 \xf5 \xf6 \xf7  
   \xf8 \xf9 \xfa \xfb \xfc \xfd \xfe \xff  
415      \x{f1}      \x{f1}
416   0: \x{f1}   0: \x{f1}
417      \x{bf}      \x{bf}
# Line 463  Capturing subpattern count = 1 Line 458  Capturing subpattern count = 1
458  Options: utf8  Options: utf8
459  No first char  No first char
460  No need char  No need char
 Study size = 40  
461  Starting character set: x \xc4  Starting character set: x \xc4
462    
463  /(\x{100}*a|x)/8SD  /(\x{100}*a|x)/8SD
# Line 482  Capturing subpattern count = 1 Line 476  Capturing subpattern count = 1
476  Options: utf8  Options: utf8
477  No first char  No first char
478  No need char  No need char
 Study size = 40  
479  Starting character set: a x \xc4  Starting character set: a x \xc4
480    
481  /(\x{100}{0,2}a|x)/8SD  /(\x{100}{0,2}a|x)/8SD
# Line 501  Capturing subpattern count = 1 Line 494  Capturing subpattern count = 1
494  Options: utf8  Options: utf8
495  No first char  No first char
496  No need char  No need char
 Study size = 40  
497  Starting character set: a x \xc4  Starting character set: a x \xc4
498    
499  /(\x{100}{1,2}a|x)/8SD  /(\x{100}{1,2}a|x)/8SD
# Line 521  Capturing subpattern count = 1 Line 513  Capturing subpattern count = 1
513  Options: utf8  Options: utf8
514  No first char  No first char
515  No need char  No need char
 Study size = 40  
516  Starting character set: x \xc4  Starting character set: x \xc4
517    
518  /\x{100}*(\d+|"(?1)")/8  /\x{100}*(\d+|"(?1)")/8
# Line 826  Options: utf8 Line 817  Options: utf8
817  No first char  No first char
818  No need char  No need char
819    
820  / End of testinput5 /  /[Ä-Ü]/8
821        Ö # Matches without Study
822     0: \x{d6}
823        \x{d6}
824     0: \x{d6}
825    
826    /[Ä-Ü]/8S
827        Ö <-- Same with Study
828     0: \x{d6}
829        \x{d6}
830     0: \x{d6}
831    
832    /[\x{c4}-\x{dc}]/8
833        Ö # Matches without Study
834     0: \x{d6}
835        \x{d6}
836     0: \x{d6}
837    
838    /[\x{c4}-\x{dc}]/8S
839        Ö <-- Same with Study
840     0: \x{d6}
841        \x{d6}
842     0: \x{d6}
843    
844    /[]/8
845    Failed: invalid UTF-8 string at offset 2
846    
847    //8
848    Failed: invalid UTF-8 string at offset 0
849    
850    /xxx/8
851    Failed: invalid UTF-8 string at offset 1
852    
853    /xxx/8?D
854    ------------------------------------------------------------------
855      0  11 Bra 0
856      3   6 \x{c3}\x{f8}xx
857     11  11 Ket
858     14     End
859    ------------------------------------------------------------------
860    Capturing subpattern count = 0
861    Options: utf8 no_utf8_check
862    First char = 195
863    Need char = 'x'
864    
865    /abc/8
866        ]
867    Error -10
868        
869    Error -10
870        
871    Error -10
872        \?
873    No match
874    
875    /anything/8
876        \xc0\x80
877    Error -10
878        \xc1\x8f
879    Error -10
880        \xe0\x9f\x80
881    Error -10
882        \xf0\x8f\x80\x80
883    Error -10
884        \xf8\x87\x80\x80\x80
885    Error -10
886        \xfc\x83\x80\x80\x80\x80
887    Error -10
888        \xfe\x80\x80\x80\x80\x80
889    Error -10
890        \xff\x80\x80\x80\x80\x80
891    Error -10
892        \xc3\x8f
893    No match
894        \xe0\xaf\x80
895    No match
896        \xe1\x80\x80
897    No match
898        \xf0\x9f\x80\x80
899    No match
900        \xf1\x8f\x80\x80
901    No match
902        \xf8\x88\x80\x80\x80
903    No match
904        \xf9\x87\x80\x80\x80
905    No match
906        \xfc\x84\x80\x80\x80\x80
907    No match
908        \xfd\x83\x80\x80\x80\x80
909    No match
910    
911    /\x{100}abc(xyz(?1))/8D
912    ------------------------------------------------------------------
913      0  24 Bra 0
914      3   5 \x{100}abc
915     10  11 Bra 1
916     13   3 xyz
917     18  10 Recurse
918     21  11 Ket
919     24  24 Ket
920     27     End
921    ------------------------------------------------------------------
922    Capturing subpattern count = 1
923    Options: utf8
924    First char = 196
925    Need char = 'z'
926    
927    /[^\x{100}]abc(xyz(?1))/8D
928    ------------------------------------------------------------------
929      0  30 Bra 0
930      3     [^\x{100}]
931     11   3 abc
932     16  11 Bra 1
933     19   3 xyz
934     24  16 Recurse
935     27  11 Ket
936     30  30 Ket
937     33     End
938    ------------------------------------------------------------------
939    Capturing subpattern count = 1
940    Options: utf8
941    No first char
942    Need char = 'z'
943    
944    /[ab\x{100}]abc(xyz(?1))/8D
945    ------------------------------------------------------------------
946      0  62 Bra 0
947      3     [a-b\x{100}]
948     43   3 abc
949     48  11 Bra 1
950     51   3 xyz
951     56  48 Recurse
952     59  11 Ket
953     62  62 Ket
954     65     End
955    ------------------------------------------------------------------
956    Capturing subpattern count = 1
957    Options: utf8
958    No first char
959    Need char = 'z'
960    
961    /(\x{100}(b(?2)c))?/D8
962    ------------------------------------------------------------------
963      0  29 Bra 0
964      3     Brazero
965      4  22 Bra 1
966      7   2 \x{100}
967     11  12 Bra 2
968     14   1 b
969     17  11 Recurse
970     20   1 c
971     23  12 Ket
972     26  22 Ket
973     29  29 Ket
974     32     End
975    ------------------------------------------------------------------
976    Capturing subpattern count = 2
977    Options: utf8
978    No first char
979    No need char
980    
981    /(\x{100}(b(?2)c)){0,2}/D8
982    ------------------------------------------------------------------
983      0  61 Bra 0
984      3     Brazero
985      4  54 Bra 0
986      7  22 Bra 1
987     10   2 \x{100}
988     14  12 Bra 2
989     17   1 b
990     20  14 Recurse
991     23   1 c
992     26  12 Ket
993     29  22 Ket
994     32     Brazero
995     33  22 Bra 1
996     36   2 \x{100}
997     40  12 Bra 2
998     43   1 b
999     46  14 Recurse
1000     49   1 c
1001     52  12 Ket
1002     55  22 Ket
1003     58  54 Ket
1004     61  61 Ket
1005     64     End
1006    ------------------------------------------------------------------
1007    Capturing subpattern count = 2
1008    Options: utf8
1009    No first char
1010    No need char
1011    
1012    /(\x{100}(b(?1)c))?/D8
1013    ------------------------------------------------------------------
1014      0  29 Bra 0
1015      3     Brazero
1016      4  22 Bra 1
1017      7   2 \x{100}
1018     11  12 Bra 2
1019     14   1 b
1020     17   4 Recurse
1021     20   1 c
1022     23  12 Ket
1023     26  22 Ket
1024     29  29 Ket
1025     32     End
1026    ------------------------------------------------------------------
1027    Capturing subpattern count = 2
1028    Options: utf8
1029    No first char
1030    No need char
1031    
1032    /(\x{100}(b(?1)c)){0,2}/D8
1033    ------------------------------------------------------------------
1034      0  61 Bra 0
1035      3     Brazero
1036      4  54 Bra 0
1037      7  22 Bra 1
1038     10   2 \x{100}
1039     14  12 Bra 2
1040     17   1 b
1041     20   7 Recurse
1042     23   1 c
1043     26  12 Ket
1044     29  22 Ket
1045     32     Brazero
1046     33  22 Bra 1
1047     36   2 \x{100}
1048     40  12 Bra 2
1049     43   1 b
1050     46   7 Recurse
1051     49   1 c
1052     52  12 Ket
1053     55  22 Ket
1054     58  54 Ket
1055     61  61 Ket
1056     64     End
1057    ------------------------------------------------------------------
1058    Capturing subpattern count = 2
1059    Options: utf8
1060    No first char
1061    No need char
1062    
1063    / End of testinput5 /

Legend:
Removed from v.67  
changed lines
  Added in v.73

  ViewVC Help
Powered by ViewVC 1.1.5