/[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 342 by ph10, Sun Apr 20 17:10:13 2008 UTC revision 411 by ph10, Fri Apr 10 15:40:21 2009 UTC
# Line 7851  No match Line 7851  No match
7851  No match  No match
7852    
7853  /^abc./mgx<any>  /^abc./mgx<any>
7854      abc1 \x0aabc2 \x0babc3xx \x0cabc4 \x0dabc5xx \x0d\x0aabc6 \x85abc7 \x{2028}abc8 \x{2029}abc9 JUNK      abc1 \x0aabc2 \x0babc3xx \x0cabc4 \x0dabc5xx \x0d\x0aabc6 \x85abc7 JUNK
7855   0: abc1   0: abc1
7856   0: abc2   0: abc2
7857   0: abc3   0: abc3
# Line 7861  No match Line 7861  No match
7861   0: abc7   0: abc7
7862    
7863  /abc.$/mgx<any>  /abc.$/mgx<any>
7864      abc1\x0a abc2\x0b abc3\x0c abc4\x0d abc5\x0d\x0a abc6\x85 abc7\x{2028} abc8\x{2029} abc9      abc1\x0a abc2\x0b abc3\x0c abc4\x0d abc5\x0d\x0a abc6\x85 abc7 abc9
7865   0: abc1   0: abc1
7866   0: abc2   0: abc2
7867   0: abc3   0: abc3
# Line 8163  No match Line 8163  No match
8163   0+   0+
8164    
8165  /abc.$/mgx<anycrlf>  /abc.$/mgx<anycrlf>
8166      abc1\x0a abc2\x0b abc3\x0c abc4\x0d abc5\x0d\x0a abc6\x85 abc7\x{2028} abc8\x{2029} abc9      abc1\x0a abc2\x0b abc3\x0c abc4\x0d abc5\x0d\x0a abc6\x85 abc9
8167   0: abc1   0: abc1
8168   0: abc4   0: abc4
8169   0: abc5   0: abc5
# Line 9631  Failed: nothing to repeat at offset 5 Line 9631  Failed: nothing to repeat at offset 5
9631  /a(*FAIL)+b/  /a(*FAIL)+b/
9632  Failed: nothing to repeat at offset 8  Failed: nothing to repeat at offset 8
9633    
9634    /(abc|pqr|123){0}[xyz]/SI
9635    Capturing subpattern count = 1
9636    No options
9637    No first char
9638    No need char
9639    Starting byte set: x y z
9640    
9641    /(?(?=.*b)b|^)/CI
9642    Capturing subpattern count = 0
9643    Partial matching not supported
9644    Options:
9645    No first char
9646    No need char
9647       adc
9648    --->adc
9649     +0 ^       (?(?=.*b)b|^)
9650     +2 ^       (?=.*b)
9651     +5 ^       .*
9652     +7 ^  ^    b
9653     +7 ^ ^     b
9654     +7 ^^      b
9655     +7 ^       b
9656    +12 ^       )
9657    +13 ^
9658     0:
9659       abc
9660    --->abc
9661     +0 ^       (?(?=.*b)b|^)
9662     +2 ^       (?=.*b)
9663     +5 ^       .*
9664     +7 ^  ^    b
9665     +7 ^ ^     b
9666     +7 ^^      b
9667     +8 ^ ^     )
9668     +9 ^       b
9669     +0  ^      (?(?=.*b)b|^)
9670     +2  ^      (?=.*b)
9671     +5  ^      .*
9672     +7  ^ ^    b
9673     +7  ^^     b
9674     +7  ^      b
9675     +8  ^^     )
9676     +9  ^      b
9677    +10  ^^     |
9678    +13  ^^
9679     0: b
9680    
9681    /(?(?=b).*b|^d)/I
9682    Capturing subpattern count = 0
9683    Partial matching not supported
9684    No options
9685    No first char
9686    No need char
9687    
9688    /(?(?=.*b).*b|^d)/I
9689    Capturing subpattern count = 0
9690    Partial matching not supported
9691    No options
9692    First char at start or follows newline
9693    No need char
9694    
9695    /a?|b?/P
9696        abc
9697     0: a
9698        ** Failers
9699     0:
9700        ddd\N
9701    No match: POSIX code 17: match failed
9702    
9703    /xyz/C
9704      xyz
9705    --->xyz
9706     +0 ^       x
9707     +1 ^^      y
9708     +2 ^ ^     z
9709     +3 ^  ^
9710     0: xyz
9711      abcxyz
9712    --->abcxyz
9713     +0    ^       x
9714     +1    ^^      y
9715     +2    ^ ^     z
9716     +3    ^  ^
9717     0: xyz
9718      abcxyz\Y
9719    --->abcxyz
9720     +0 ^          x
9721     +0  ^         x
9722     +0   ^        x
9723     +0    ^       x
9724     +1    ^^      y
9725     +2    ^ ^     z
9726     +3    ^  ^
9727     0: xyz
9728      ** Failers
9729    No match
9730      abc
9731    No match
9732      abc\Y
9733    --->abc
9734     +0 ^       x
9735     +0  ^      x
9736     +0   ^     x
9737     +0    ^    x
9738    No match
9739      abcxypqr
9740    No match
9741      abcxypqr\Y
9742    --->abcxypqr
9743     +0 ^            x
9744     +0  ^           x
9745     +0   ^          x
9746     +0    ^         x
9747     +1    ^^        y
9748     +2    ^ ^       z
9749     +0     ^        x
9750     +0      ^       x
9751     +0       ^      x
9752     +0        ^     x
9753     +0         ^    x
9754    No match
9755    
9756    /^"((?(?=[a])[^"])|b)*"$/C
9757        "ab"
9758    --->"ab"
9759     +0 ^        ^
9760     +1 ^        "
9761     +2 ^^       ((?(?=[a])[^"])|b)*
9762     +3 ^^       (?(?=[a])[^"])
9763     +5 ^^       (?=[a])
9764     +8 ^^       [a]
9765    +11 ^ ^      )
9766    +12 ^^       [^"]
9767    +16 ^ ^      )
9768    +17 ^ ^      |
9769     +3 ^ ^      (?(?=[a])[^"])
9770     +5 ^ ^      (?=[a])
9771     +8 ^ ^      [a]
9772    +21 ^ ^      "
9773    +18 ^ ^      b
9774    +19 ^  ^     )
9775     +3 ^  ^     (?(?=[a])[^"])
9776     +5 ^  ^     (?=[a])
9777     +8 ^  ^     [a]
9778    +21 ^  ^     "
9779    +22 ^   ^    $
9780    +23 ^   ^
9781     0: "ab"
9782     1:
9783    
9784    /^"((?(?=[a])[^"])|b)*"$/
9785        "ab"
9786     0: "ab"
9787     1:
9788    
9789    /^X(?5)(a)(?|(b)|(q))(c)(d)(Y)/
9790        XYabcdY
9791     0: XYabcdY
9792     1: a
9793     2: b
9794     3: c
9795     4: d
9796     5: Y
9797    
9798    /^X(?5)(a)(?|(b)|(q))(c)(d)Y/
9799    Failed: reference to non-existent subpattern at offset 5
9800    
9801    /^X(?&N)(a)(?|(b)|(q))(c)(d)(?<N>Y)/
9802        XYabcdY
9803     0: XYabcdY
9804     1: a
9805     2: b
9806     3: c
9807     4: d
9808     5: Y
9809    
9810    /^X(?7)(a)(?|(b)|(q)(r)(s))(c)(d)(Y)/
9811        XYabcdY
9812     0: XYabcdY
9813     1: a
9814     2: b
9815     3: <unset>
9816     4: <unset>
9817     5: c
9818     6: d
9819     7: Y
9820    
9821    /^X(?7)(a)(?|(b|(r)(s))|(q))(c)(d)(Y)/
9822        XYabcdY
9823     0: XYabcdY
9824     1: a
9825     2: b
9826     3: <unset>
9827     4: <unset>
9828     5: c
9829     6: d
9830     7: Y
9831    
9832    /^X(?7)(a)(?|(b|(?|(r)|(t))(s))|(q))(c)(d)(Y)/
9833        XYabcdY
9834     0: XYabcdY
9835     1: a
9836     2: b
9837     3: <unset>
9838     4: <unset>
9839     5: c
9840     6: d
9841     7: Y
9842    
9843  / End of testinput2 /  / End of testinput2 /

Legend:
Removed from v.342  
changed lines
  Added in v.411

  ViewVC Help
Powered by ViewVC 1.1.5