/[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 550 by ph10, Sun Oct 10 16:24:11 2010 UTC revision 578 by ph10, Tue Nov 23 15:34:55 2010 UTC
# Line 5  Line 5 
5      either because PCRE can't be compatible, or there is a possible Perl      either because PCRE can't be compatible, or there is a possible Perl
6      bug. --/      bug. --/
7    
8  /-- Originally, the Perl 5.10 and 5.11 things were in here too, but now I have  /-- Originally, the Perl >= 5.10 things were in here too, but now I have
9      separated many (most?) of them out into test 11. However, there may still      separated many (most?) of them out into test 11. However, there may still
10      be some that were overlooked. --/      be some that were overlooked. --/
11    
# Line 8787  No match Line 8787  No match
8787  No match  No match
8788      a\x85b      a\x85b
8789  No match  No match
8790    
8791    /(*ANY).*/g
8792        abc\r\ndef
8793     0: abc
8794     0:
8795     0: def
8796     0:
8797    
8798    /(*ANYCRLF).*/g
8799        abc\r\ndef
8800     0: abc
8801     0:
8802     0: def
8803     0:
8804    
8805    /(*CRLF).*/g
8806        abc\r\ndef
8807     0: abc
8808     0:
8809     0: def
8810     0:
8811    
8812  /a\Rb/I<bsr_anycrlf>  /a\Rb/I<bsr_anycrlf>
8813  Capturing subpattern count = 0  Capturing subpattern count = 0
# Line 9273  No match Line 9294  No match
9294   +0        ^     x   +0        ^     x
9295   +0         ^    x   +0         ^    x
9296  No match  No match
9297    
9298    /(*NO_START_OPT)xyz/C
9299      abcxyz
9300    --->abcxyz
9301    +15 ^          x
9302    +15  ^         x
9303    +15   ^        x
9304    +15    ^       x
9305    +16    ^^      y
9306    +17    ^ ^     z
9307    +18    ^  ^
9308     0: xyz
9309    
9310    /xyz/CY
9311      abcxyz
9312    --->abcxyz
9313     +0 ^          x
9314     +0  ^         x
9315     +0   ^        x
9316     +0    ^       x
9317     +1    ^^      y
9318     +2    ^ ^     z
9319     +3    ^  ^
9320     0: xyz
9321    
9322  /^"((?(?=[a])[^"])|b)*"$/C  /^"((?(?=[a])[^"])|b)*"$/C
9323      "ab"      "ab"
# Line 10459  Partial match: abca Line 10504  Partial match: abca
10504      xxxxabcde\P\P      xxxxabcde\P\P
10505  Partial match: abcde  Partial match: abcde
10506    
10507  /-- This is not in the Perl 5.10 test because Perl seems currently to be broken  /-- This is not in the Perl >= 5.10 test because Perl seems currently to be
10508      and not behaving as specified in that it *does* bumpalong after hitting      broken and not behaving as specified in that it *does* bumpalong after
10509      (*COMMIT). --/      hitting (*COMMIT). --/
10510    
10511  /(?1)(A(*COMMIT)|B)D/  /(?1)(A(*COMMIT)|B)D/
10512      ABD      ABD
# Line 10664  No match Line 10709  No match
10709          End          End
10710  ------------------------------------------------------------------  ------------------------------------------------------------------
10711    
10712  / -- The first four of these are not in the Perl 5.10 test because Perl  / -- The first four of these are not in the Perl >= 5.10 test because Perl
10713       documents that the use of \K in assertions is "not well defined". The       documents that the use of \K in assertions is "not well defined". The
10714       last is here because Perl gives the match as "b" rather than "ab". I       last is here because Perl gives the match as "b" rather than "ab". I
10715       believe this to be a Perl bug. --/       believe this to be a Perl bug. --/
# Line 11138  No match Line 11183  No match
11183      abcxy      abcxy
11184  No match  No match
11185    
11186    /(?<=abc)def/
11187        abc\P\P
11188    Partial match: abc
11189    
11190    /abc$/
11191        abc
11192     0: abc
11193        abc\P
11194     0: abc
11195        abc\P\P
11196    Partial match: abc
11197    
11198    /abc$/m
11199        abc
11200     0: abc
11201        abc\n
11202     0: abc
11203        abc\P\P
11204    Partial match: abc
11205        abc\n\P\P
11206     0: abc
11207        abc\P
11208     0: abc
11209        abc\n\P
11210     0: abc
11211    
11212    /abc\z/
11213        abc
11214     0: abc
11215        abc\P
11216     0: abc
11217        abc\P\P
11218    Partial match: abc
11219    
11220    /abc\Z/
11221        abc
11222     0: abc
11223        abc\P
11224     0: abc
11225        abc\P\P
11226    Partial match: abc
11227    
11228    /abc\b/
11229        abc
11230     0: abc
11231        abc\P
11232     0: abc
11233        abc\P\P
11234    Partial match: abc
11235    
11236    /abc\B/
11237        abc
11238    No match
11239        abc\P
11240    Partial match: abc
11241        abc\P\P
11242    Partial match: abc
11243    
11244    /.+/
11245        abc\>0
11246     0: abc
11247        abc\>1
11248     0: bc
11249        abc\>2
11250     0: c
11251        abc\>3
11252    No match
11253        abc\>4
11254    Error -24
11255        abc\>-4
11256    Error -24
11257    
11258    /^\cģ/
11259    Failed: \c must be followed by an ASCII character at offset 3
11260    
11261    /(?P<abn>(?P=abn)xxx)/BZ
11262    ------------------------------------------------------------------
11263            Bra
11264            Once
11265            CBra 1
11266            \1
11267            xxx
11268            Ket
11269            Ket
11270            Ket
11271            End
11272    ------------------------------------------------------------------
11273    
11274    /(a\1z)/BZ
11275    ------------------------------------------------------------------
11276            Bra
11277            Once
11278            CBra 1
11279            a
11280            \1
11281            z
11282            Ket
11283            Ket
11284            Ket
11285            End
11286    ------------------------------------------------------------------
11287    
11288    /(?P<abn>(?P=abn)(?<badstufxxx)/BZ
11289    Failed: syntax error in subpattern name (missing terminator) at offset 29
11290    
11291    /(?P<abn>(?P=axn)xxx)/BZ
11292    Failed: reference to non-existent subpattern at offset 15
11293    
11294    /(?P<abn>(?P=axn)xxx)(?<axn>yy)/BZ
11295    ------------------------------------------------------------------
11296            Bra
11297            CBra 1
11298            \2
11299            xxx
11300            Ket
11301            CBra 2
11302            yy
11303            Ket
11304            Ket
11305            End
11306    ------------------------------------------------------------------
11307    
11308  /-- End of testinput2 --/  /-- End of testinput2 --/

Legend:
Removed from v.550  
changed lines
  Added in v.578

  ViewVC Help
Powered by ViewVC 1.1.5