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

Diff of /code/trunk/testdata/testoutput1

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

revision 472 by ph10, Fri Dec 11 16:42:50 2009 UTC revision 602 by ph10, Wed May 25 08:29:03 2011 UTC
# Line 3752  No match Line 3752  No match
3752      foobarbaz      foobarbaz
3753  No match  No match
3754    
3755  /The case of aaaaaa is missed out below because I think Perl 5.005_02 gets/  /The cases of aaaa and aaaaaa are missed out below because Perl does things/
3756  /it wrong; it sets $1 to aaa rather than aa. Compare the following test,/  /differently. We know that odd, and maybe incorrect, things happen with/
3757  No match  No match
3758  /where it does set $1 to aa when matching aaaaaa./  /recursive references in Perl, as far as 5.11.3 - see some stuff in test #2./
3759  No match  No match
3760    
3761  /^(a\1?){4}$/  /^(a\1?){4}$/
# Line 3765  No match Line 3765  No match
3765  No match  No match
3766      aaa      aaa
3767  No match  No match
     aaaa  
  0: aaaa  
  1: a  
3768      aaaaa      aaaaa
3769   0: aaaaa   0: aaaaa
3770   1: a   1: a
# Line 6661  No match Line 6658  No match
6658      XABX      XABX
6659  No match  No match
6660    
6661    /[\x00-\xff\s]+/
6662        \x0a\x0b\x0c\x0d
6663     0: \x0a\x0b\x0c\x0d
6664    
6665    /^\c/
6666        ?
6667     0: ?
6668    
6669    /(abc)\1/i
6670       abc
6671    No match
6672    
6673    /(abc)\1/
6674       abc
6675    No match
6676    
6677    /[^a]*/i
6678        12abc
6679     0: 12
6680        12ABC
6681     0: 12
6682    
6683    /[^a]*+/i
6684        12abc
6685     0: 12
6686        12ABC
6687     0: 12
6688    
6689    /[^a]*?X/i
6690        ** Failers
6691    No match
6692        12abc
6693    No match
6694        12ABC
6695    No match
6696    
6697    /[^a]+?X/i
6698        ** Failers
6699    No match
6700        12abc
6701    No match
6702        12ABC
6703    No match
6704    
6705    /[^a]?X/i
6706        12aXbcX
6707     0: X
6708        12AXBCX
6709     0: X
6710        BCX
6711     0: CX
6712    
6713    /[^a]??X/i
6714        12aXbcX
6715     0: X
6716        12AXBCX
6717     0: X
6718        BCX
6719     0: CX
6720    
6721    /[^a]?+X/i
6722        12aXbcX
6723     0: cX
6724        12AXBCX
6725     0: CX
6726        BCX
6727     0: CX
6728    
6729    /[^a]{2,3}/i
6730        abcdef
6731     0: bcd
6732        ABCDEF
6733     0: BCD
6734    
6735    /[^a]{2,3}?/i
6736        abcdef
6737     0: bc
6738        ABCDEF
6739     0: BC
6740    
6741    /[^a]{2,3}+/i
6742        abcdef
6743     0: bcd
6744        ABCDEF
6745     0: BCD
6746    
6747  /-- End of testinput1 --/  /-- End of testinput1 --/

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

  ViewVC Help
Powered by ViewVC 1.1.5