/[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 264 by ph10, Tue Nov 13 11:07:16 2007 UTC revision 270 by ph10, Fri Nov 16 19:55:16 2007 UTC
# Line 109  Failed: missing ) at offset 4 Line 109  Failed: missing ) at offset 4
109  Failed: missing ) after comment at offset 7  Failed: missing ) after comment at offset 7
110    
111  /(?z)abc/  /(?z)abc/
112  Failed: unrecognized character after (? at offset 2  Failed: unrecognized character after (? or (?- at offset 2
113    
114  /.*b/I  /.*b/I
115  Capturing subpattern count = 0  Capturing subpattern count = 0
# Line 310  No match Line 310  No match
310  No match  No match
311    
312  /ab(?z)cd/  /ab(?z)cd/
313  Failed: unrecognized character after (? at offset 4  Failed: unrecognized character after (? or (?- at offset 4
314    
315  /^abc|def/I  /^abc|def/I
316  Capturing subpattern count = 0  Capturing subpattern count = 0
# Line 946  Failed: missing ) at offset 4 Line 946  Failed: missing ) at offset 4
946  Failed: unrecognized character after (?< at offset 3  Failed: unrecognized character after (?< at offset 3
947    
948  /a(?{)b/  /a(?{)b/
949  Failed: unrecognized character after (? at offset 3  Failed: unrecognized character after (? or (?- at offset 3
950    
951  /a(?{{})b/  /a(?{{})b/
952  Failed: unrecognized character after (? at offset 3  Failed: unrecognized character after (? or (?- at offset 3
953    
954  /a(?{}})b/  /a(?{}})b/
955  Failed: unrecognized character after (? at offset 3  Failed: unrecognized character after (? or (?- at offset 3
956    
957  /a(?{"{"})b/  /a(?{"{"})b/
958  Failed: unrecognized character after (? at offset 3  Failed: unrecognized character after (? or (?- at offset 3
959    
960  /a(?{"{"}})b/  /a(?{"{"}})b/
961  Failed: unrecognized character after (? at offset 3  Failed: unrecognized character after (? or (?- at offset 3
962    
963  /(?(1?)a|b)/  /(?(1?)a|b)/
964  Failed: malformed number or name after (?( at offset 4  Failed: malformed number or name after (?( at offset 4
965    
 /(?(1)a|b|c)/  
 Failed: conditional group contains more than two branches at offset 10  
   
966  /[a[:xyz:/  /[a[:xyz:/
967  Failed: missing terminating ] for character class at offset 8  Failed: missing terminating ] for character class at offset 8
968    
# Line 1599  No options Line 1596  No options
1596  First char = 'a'  First char = 'a'
1597  Need char = 'b'  Need char = 'b'
1598    
1599  /a(?(1)b)/I  /a(?(1)b)(.)/I
1600  Capturing subpattern count = 0  Capturing subpattern count = 1
1601  No options  No options
1602  First char = 'a'  First char = 'a'
1603  No need char  No need char
1604    
1605  /a(?(1)bag|big)/I  /a(?(1)bag|big)(.)/I
1606  Capturing subpattern count = 0  Capturing subpattern count = 1
1607  No options  No options
1608  First char = 'a'  First char = 'a'
1609  Need char = 'g'  Need char = 'g'
1610    
1611  /a(?(1)bag|big)*/I  /a(?(1)bag|big)*(.)/I
1612  Capturing subpattern count = 0  Capturing subpattern count = 1
1613  No options  No options
1614  First char = 'a'  First char = 'a'
1615  No need char  No need char
1616    
1617  /a(?(1)bag|big)+/I  /a(?(1)bag|big)+(.)/I
1618  Capturing subpattern count = 0  Capturing subpattern count = 1
1619  No options  No options
1620  First char = 'a'  First char = 'a'
1621  Need char = 'g'  Need char = 'g'
1622    
1623  /a(?(1)b..|b..)/I  /a(?(1)b..|b..)(.)/I
1624  Capturing subpattern count = 0  Capturing subpattern count = 1
1625  No options  No options
1626  First char = 'a'  First char = 'a'
1627  Need char = 'b'  Need char = 'b'
# Line 1905  No need char Line 1902  No need char
1902  ------------------------------------------------------------------  ------------------------------------------------------------------
1903          Bra          Bra
1904          ^          ^
1905          [\x00-/:-@[-`{-\xff]          [\x00-/:-@[-`{-\xff] (neg)
1906          Ket          Ket
1907          End          End
1908  ------------------------------------------------------------------  ------------------------------------------------------------------
# Line 1931  No need char Line 1928  No need char
1928  ------------------------------------------------------------------  ------------------------------------------------------------------
1929          Bra          Bra
1930          ^          ^
1931          [\x00-@[-`{-\xff]          [\x00-@[-`{-\xff] (neg)
1932          Ket          Ket
1933          End          End
1934  ------------------------------------------------------------------  ------------------------------------------------------------------
# Line 1965  No need char Line 1962  No need char
1962  ------------------------------------------------------------------  ------------------------------------------------------------------
1963          Bra          Bra
1964          ^          ^
1965          [\x80-\xff]          [\x80-\xff] (neg)
1966          Ket          Ket
1967          End          End
1968  ------------------------------------------------------------------  ------------------------------------------------------------------
# Line 1991  No need char Line 1988  No need char
1988  ------------------------------------------------------------------  ------------------------------------------------------------------
1989          Bra          Bra
1990          ^          ^
1991          [\x00-\x08\x0a-\x1f!-\xff]          [\x00-\x08\x0a-\x1f!-\xff] (neg)
1992          Ket          Ket
1993          End          End
1994  ------------------------------------------------------------------  ------------------------------------------------------------------
# Line 2142  No need char Line 2139  No need char
2139  ------------------------------------------------------------------  ------------------------------------------------------------------
2140          Bra          Bra
2141          ^          ^
2142          [ -~\x80-\xff]          [ -~\x80-\xff] (neg)
2143          Ket          Ket
2144          End          End
2145  ------------------------------------------------------------------  ------------------------------------------------------------------
# Line 2155  No need char Line 2152  No need char
2152  ------------------------------------------------------------------  ------------------------------------------------------------------
2153          Bra          Bra
2154          ^          ^
2155          [\x00-/12:-\xff]          [\x00-/12:-\xff] (neg)
2156          Ket          Ket
2157          End          End
2158  ------------------------------------------------------------------  ------------------------------------------------------------------
# Line 2168  No need char Line 2165  No need char
2165  ------------------------------------------------------------------  ------------------------------------------------------------------
2166          Bra          Bra
2167          ^          ^
2168          [\x00-\x08\x0a-\x1f!-\xff]          [\x00-\x08\x0a-\x1f!-\xff] (neg)
2169          Ket          Ket
2170          End          End
2171  ------------------------------------------------------------------  ------------------------------------------------------------------
# Line 3441  No options Line 3438  No options
3438  No first char  No first char
3439  Need char = 'a'  Need char = 'a'
3440    
3441  /(?(1)ab|ac)/I  /(?(1)ab|ac)(.)/I
3442  Capturing subpattern count = 0  Capturing subpattern count = 1
3443  No options  No options
3444  First char = 'a'  First char = 'a'
3445  No need char  No need char
3446    
3447  /(?(1)abz|acz)/I  /(?(1)abz|acz)(.)/I
3448  Capturing subpattern count = 0  Capturing subpattern count = 1
3449  No options  No options
3450  First char = 'a'  First char = 'a'
3451  Need char = 'z'  Need char = 'z'
3452    
3453  /(?(1)abz)/I  /(?(1)abz)(.)/I
3454  Capturing subpattern count = 0  Capturing subpattern count = 1
3455  No options  No options
3456  No first char  No first char
3457  No need char  No need char
3458    
3459  /(?(1)abz)123/I  /(?(1)abz)(1)23/I
3460  Capturing subpattern count = 0  Capturing subpattern count = 1
3461  No options  No options
3462  No first char  No first char
3463  Need char = '3'  Need char = '3'
# Line 8308  Failed: reference to non-existent subpat Line 8305  Failed: reference to non-existent subpat
8305  /((?(-2)a))/BZ  /((?(-2)a))/BZ
8306  Failed: reference to non-existent subpattern at offset 7  Failed: reference to non-existent subpattern at offset 7
8307    
8308  /^(?(+1)X|Y)/BZ  /^(?(+1)X|Y)(.)/BZ
8309  ------------------------------------------------------------------  ------------------------------------------------------------------
8310          Bra          Bra
8311          ^          ^
# Line 8318  Failed: reference to non-existent subpat Line 8315  Failed: reference to non-existent subpat
8315          Alt          Alt
8316          Y          Y
8317          Ket          Ket
8318            CBra 1
8319            Any
8320            Ket
8321          Ket          Ket
8322          End          End
8323  ------------------------------------------------------------------  ------------------------------------------------------------------
8324      Y      Y!
8325   0: Y   0: Y!
8326     1: !
8327    
8328  /(foo)\Kbar/  /(foo)\Kbar/
8329      foobar      foobar
# Line 9302  Forced newline sequence: CR Line 9303  Forced newline sequence: CR
9303  First char = 'a'  First char = 'a'
9304  Need char = 'b'  Need char = 'b'
9305    
9306    /(?<a>)(?&)/
9307    Failed: subpattern name expected after (?& at offset 9
9308    
9309    /(?<abc>)(?&a)/
9310    Failed: reference to non-existent subpattern at offset 12
9311    
9312    /(?<a>)(?&aaaaaaaaaaaaaaaaaaaaaaa)/
9313    Failed: reference to non-existent subpattern at offset 32
9314    
9315    /(?+-a)/
9316    Failed: digit expected after (?+ at offset 3
9317    
9318    /(?-+a)/
9319    Failed: unrecognized character after (? or (?- at offset 3
9320    
9321  / End of testinput2 /  / End of testinput2 /

Legend:
Removed from v.264  
changed lines
  Added in v.270

  ViewVC Help
Powered by ViewVC 1.1.5