/[pcre]/code/trunk/testoutput2
ViewVC logotype

Diff of /code/trunk/testoutput2

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

revision 27 by nigel, Sat Feb 24 21:38:49 2007 UTC revision 29 by nigel, Sat Feb 24 21:38:53 2007 UTC
# Line 1  Line 1 
1  PCRE version 2.02 14-Jan-1999  PCRE version 2.03 12-Feb-1999
2    
3  /(a)b|/  /(a)b|/
4  Identifying subpattern count = 1  Identifying subpattern count = 1
# Line 68  No match Line 68  No match
68      def\nabc      def\nabc
69  No match  No match
70    
 /abc\/  
 Failed: \ at end of pattern at offset 4  
   
71  /ab\gdef/X  /ab\gdef/X
72  Failed: unrecognized character follows \ at offset 3  Failed: unrecognized character follows \ at offset 3
73    
# Line 362  No match: POSIX code 17: match failed Line 359  No match: POSIX code 17: match failed
359      abc\n      abc\n
360   0: abc   0: abc
361    
 /abc\/P  
 Failed: POSIX code 9: bad escape sequence at offset 4  
   
362  /(abc)\2/P  /(abc)\2/P
363  Failed: POSIX code 15: bad back reference at offset 7  Failed: POSIX code 15: bad back reference at offset 7
364    
# Line 658  Failed: lookbehind assertion is not fixe Line 652  Failed: lookbehind assertion is not fixe
652  /(?<=ab(c|de)f)g/  /(?<=ab(c|de)f)g/
653  Failed: lookbehind assertion is not fixed length at offset 13  Failed: lookbehind assertion is not fixed length at offset 13
654    
655  /The next two are in testinput2 because they have variable length branches/  /The next three are in testinput2 because they have variable length branches/
656  Identifying subpattern count = 0  Identifying subpattern count = 0
657  No options  No options
658  First char = 'T'  First char = 'T'
# Line 683  Identifying subpattern count = 0 Line 677  Identifying subpattern count = 0
677  No options  No options
678  No first char  No first char
679    
680    /(?>.*)(?<=(abcd)|(xyz))/
681    Identifying subpattern count = 2
682    Options: anchored
683    No first char
684        alphabetabcd
685     0: alphabetabcd
686     1: abcd
687        endingxyz
688     0: endingxyz
689     1: <unset>
690     2: xyz
691    
692  /(?<=ab(?i)x(?-i)y|(?i)z|b)ZZ/  /(?<=ab(?i)x(?-i)y|(?i)z|b)ZZ/
693  Identifying subpattern count = 0  Identifying subpattern count = 0
694  No options  No options
# Line 770  Failed: nothing to repeat at offset 0 Line 776  Failed: nothing to repeat at offset 0
776  /(*)b/  /(*)b/
777  Failed: nothing to repeat at offset 1  Failed: nothing to repeat at offset 1
778    
 /a\/  
 Failed: \ at end of pattern at offset 2  
   
779  /abc)/  /abc)/
780  Failed: unmatched parentheses at offset 3  Failed: unmatched parentheses at offset 3
781    
# Line 809  Failed: nothing to repeat at offset 0 Line 812  Failed: nothing to repeat at offset 0
812  /(*)b/i  /(*)b/i
813  Failed: nothing to repeat at offset 1  Failed: nothing to repeat at offset 1
814    
 /a\/i  
 Failed: \ at end of pattern at offset 2  
   
815  /abc)/i  /abc)/i
816  Failed: unmatched parentheses at offset 3  Failed: unmatched parentheses at offset 3
817    
# Line 860  Failed: lookbehind assertion is not fixe Line 860  Failed: lookbehind assertion is not fixe
860  /a{37,17}/  /a{37,17}/
861  Failed: numbers out of order in {} quantifier at offset 7  Failed: numbers out of order in {} quantifier at offset 7
862    
863    /abc/\
864    Failed: \ at end of pattern at offset 4
865    
866    /abc/\P
867    Failed: POSIX code 9: bad escape sequence at offset 4
868    
869    /abc/\i
870    Failed: \ at end of pattern at offset 4
871    
872    /(a)bc(d)/
873    Identifying subpattern count = 2
874    No options
875    First char = 'a'
876        abcd
877     0: abcd
878     1: a
879     2: d
880        abcd\C2
881     0: abcd
882     1: a
883     2: d
884     2C d (1)
885        abcd\C5
886     0: abcd
887     1: a
888     2: d
889    copy substring 5 failed -7
890    
891    /(.{20})/
892    Identifying subpattern count = 1
893    No options
894    No first char
895        abcdefghijklmnopqrstuvwxyz
896     0: abcdefghijklmnopqrst
897     1: abcdefghijklmnopqrst
898        abcdefghijklmnopqrstuvwxyz\C1
899     0: abcdefghijklmnopqrst
900     1: abcdefghijklmnopqrst
901    copy substring 1 failed -6
902        abcdefghijklmnopqrstuvwxyz\G1
903     0: abcdefghijklmnopqrst
904     1: abcdefghijklmnopqrst
905     1G abcdefghijklmnopqrst (20)
906    
907    /(.{15})/
908    Identifying subpattern count = 1
909    No options
910    No first char
911        abcdefghijklmnopqrstuvwxyz
912     0: abcdefghijklmno
913     1: abcdefghijklmno
914        abcdefghijklmnopqrstuvwxyz\C1\G1
915     0: abcdefghijklmno
916     1: abcdefghijklmno
917     1C abcdefghijklmno (15)
918     1G abcdefghijklmno (15)
919    
920    /(.{16})/
921    Identifying subpattern count = 1
922    No options
923    No first char
924        abcdefghijklmnopqrstuvwxyz
925     0: abcdefghijklmnop
926     1: abcdefghijklmnop
927        abcdefghijklmnopqrstuvwxyz\C1\G1\L
928     0: abcdefghijklmnop
929     1: abcdefghijklmnop
930    copy substring 1 failed -6
931     1G abcdefghijklmnop (16)
932     0L abcdefghijklmnop
933     1L abcdefghijklmnop
934    
935    /^(a|(bc))de(f)/
936    Identifying subpattern count = 3
937    Options: anchored
938    No first char
939        adef\G1\G2\G3\G4\L
940     0: adef
941     1: a
942     2: <unset>
943     3: f
944     1G a (1)
945     2G  (0)
946     3G f (1)
947    get substring 4 failed -7
948     0L adef
949     1L a
950     2L
951     3L f
952        bcdef\G1\G2\G3\G4\L
953     0: bcdef
954     1: bc
955     2: bc
956     3: f
957     1G bc (2)
958     2G bc (2)
959     3G f (1)
960    get substring 4 failed -7
961     0L bcdef
962     1L bc
963     2L bc
964     3L f
965        adefghijk\C0
966     0: adef
967     1: a
968     2: <unset>
969     3: f
970     0C adef (4)
971    
972    /^abc\00def/
973    Identifying subpattern count = 0
974    Options: anchored
975    No first char
976        abc\00def\L\C0
977     0: abc\x00def
978     0C abc (7)
979     0L abc
980    
981  / End of test input /  / End of test input /
982  Identifying subpattern count = 0  Identifying subpattern count = 0
983  No options  No options

Legend:
Removed from v.27  
changed lines
  Added in v.29

  ViewVC Help
Powered by ViewVC 1.1.5