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

Diff of /code/trunk/testdata/testoutput2

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

revision 472 by ph10, Fri Dec 11 16:42:50 2009 UTC revision 488 by ph10, Mon Jan 11 15:29:42 2010 UTC
# Line 857  No match Line 857  No match
857      a      a
858  No match  No match
859    
860  /This one is here because I think Perl 5.005_02 gets the setting of $1 wrong/I  /This one is here because Perl behaves differently; see also the following/I
861  Capturing subpattern count = 0  Capturing subpattern count = 0
862  No options  No options
863  First char = 'T'  First char = 'T'
# Line 869  Max back reference = 1 Line 869  Max back reference = 1
869  Options: anchored  Options: anchored
870  No first char  No first char
871  No need char  No need char
872        aaaa
873    No match
874      aaaaaa      aaaaaa
875   0: aaaaaa  No match
876   1: aa  
877    /Perl does not fail these two for the final subjects. Neither did PCRE until/
878    /release 8.01. The problem is in backtracking into a subpattern that contains/
879    No match
880    /a recursive reference to itself. PCRE has now made these into atomic patterns./
881    No match
882    
883    /^(xa|=?\1a){2}$/
884        xa=xaa
885     0: xa=xaa
886     1: =xaa
887        ** Failers
888    No match
889        xa=xaaa
890    No match
891    
892    /^(xa|=?\1a)+$/
893        xa=xaa
894     0: xa=xaa
895     1: =xaa
896        ** Failers
897    No match
898        xa=xaaa
899    No match
900    
901  /These are syntax tests from Perl 5.005/I  /These are syntax tests from Perl 5.005/I
902  Capturing subpattern count = 0  Capturing subpattern count = 0
# Line 10535  No match Line 10560  No match
10560          End          End
10561  ------------------------------------------------------------------  ------------------------------------------------------------------
10562    
10563    /^(ab(c\1)d|x){2}$/BZ
10564    ------------------------------------------------------------------
10565            Bra
10566            ^
10567            Once
10568            CBra 1
10569            ab
10570            CBra 2
10571            c
10572            \1
10573            Ket
10574            d
10575            Alt
10576            x
10577            Ket
10578            Ket
10579            Once
10580            CBra 1
10581            ab
10582            CBra 2
10583            c
10584            \1
10585            Ket
10586            d
10587            Alt
10588            x
10589            Ket
10590            Ket
10591            $
10592            Ket
10593            End
10594    ------------------------------------------------------------------
10595        xabcxd
10596     0: xabcxd
10597     1: abcxd
10598     2: cx
10599    
10600  /-- End of testinput2 --/  /-- End of testinput2 --/

Legend:
Removed from v.472  
changed lines
  Added in v.488

  ViewVC Help
Powered by ViewVC 1.1.5