/[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 205 by ph10, Fri Aug 3 13:18:33 2007 UTC revision 227 by ph10, Tue Aug 21 15:00:15 2007 UTC
# Line 166  Starting byte set: a b c d Line 166  Starting byte set: a b c d
166    
167  /(a|[^\dZ])/IS  /(a|[^\dZ])/IS
168  Capturing subpattern count = 1  Capturing subpattern count = 1
169    Contains explicit CR or LF match
170  No options  No options
171  No first char  No first char
172  No need char  No need char
# Line 402  Failed: missing terminating ] for charac Line 403  Failed: missing terminating ] for charac
403  /[^aeiou ]{3,}/I  /[^aeiou ]{3,}/I
404  Capturing subpattern count = 0  Capturing subpattern count = 0
405  Partial matching not supported  Partial matching not supported
406    Contains explicit CR or LF match
407  No options  No options
408  No first char  No first char
409  No need char  No need char
# Line 703  Starting byte set: a b Line 705  Starting byte set: a b
705    
706  /(?<=foo\n)^bar/Im  /(?<=foo\n)^bar/Im
707  Capturing subpattern count = 0  Capturing subpattern count = 0
708    Contains explicit CR or LF match
709  Options: multiline  Options: multiline
710  No first char  No first char
711  Need char = 'r'  Need char = 'r'
# Line 719  No match Line 722  No match
722    
723  /^(?<=foo\n)bar/Im  /^(?<=foo\n)bar/Im
724  Capturing subpattern count = 0  Capturing subpattern count = 0
725    Contains explicit CR or LF match
726  Options: multiline  Options: multiline
727  First char at start or follows newline  First char at start or follows newline
728  Need char = 'r'  Need char = 'r'
# Line 1105  No need char Line 1109  No need char
1109  )?)?)?)?)?)?)?)?)?otherword/I  )?)?)?)?)?)?)?)?)?otherword/I
1110  Capturing subpattern count = 8  Capturing subpattern count = 8
1111  Partial matching not supported  Partial matching not supported
1112    Contains explicit CR or LF match
1113  No options  No options
1114  First char = 'w'  First char = 'w'
1115  Need char = 'd'  Need char = 'd'
# Line 1347  No need char Line 1352  No need char
1352    
1353  /^ab\n/Ig+  /^ab\n/Ig+
1354  Capturing subpattern count = 0  Capturing subpattern count = 0
1355    Contains explicit CR or LF match
1356  Options: anchored  Options: anchored
1357  No first char  No first char
1358  No need char  No need char
# Line 1356  No need char Line 1362  No need char
1362    
1363  /^ab\n/Img+  /^ab\n/Img+
1364  Capturing subpattern count = 0  Capturing subpattern count = 0
1365    Contains explicit CR or LF match
1366  Options: multiline  Options: multiline
1367  First char at start or follows newline  First char at start or follows newline
1368  Need char = 10  Need char = 10
# Line 1433  Need char = 'a' Line 1440  Need char = 'a'
1440  /"([^\\"]+|\\.)*"/I  /"([^\\"]+|\\.)*"/I
1441  Capturing subpattern count = 1  Capturing subpattern count = 1
1442  Partial matching not supported  Partial matching not supported
1443    Contains explicit CR or LF match
1444  No options  No options
1445  First char = '"'  First char = '"'
1446  Need char = '"'  Need char = '"'
# Line 1708  Study returned NULL Line 1716  Study returned NULL
1716    /Ix    /Ix
1717  Capturing subpattern count = 0  Capturing subpattern count = 0
1718  Partial matching not supported  Partial matching not supported
1719    Contains explicit CR or LF match
1720  Options: extended  Options: extended
1721  First char = '('  First char = '('
1722  Need char = ')'  Need char = ')'
# Line 1737  No match Line 1746  No match
1746  /\(  ( (?>[^()]+) | (?R) )* \) /Ixg  /\(  ( (?>[^()]+) | (?R) )* \) /Ixg
1747  Capturing subpattern count = 1  Capturing subpattern count = 1
1748  Partial matching not supported  Partial matching not supported
1749    Contains explicit CR or LF match
1750  Options: extended  Options: extended
1751  First char = '('  First char = '('
1752  Need char = ')'  Need char = ')'
# Line 1752  Need char = ')' Line 1762  Need char = ')'
1762  /\(  (?: (?>[^()]+) | (?R) ) \) /Ix  /\(  (?: (?>[^()]+) | (?R) ) \) /Ix
1763  Capturing subpattern count = 0  Capturing subpattern count = 0
1764  Partial matching not supported  Partial matching not supported
1765    Contains explicit CR or LF match
1766  Options: extended  Options: extended
1767  First char = '('  First char = '('
1768  Need char = ')'  Need char = ')'
# Line 1771  No match Line 1782  No match
1782  /\(  (?: (?>[^()]+) | (?R) )? \) /Ix  /\(  (?: (?>[^()]+) | (?R) )? \) /Ix
1783  Capturing subpattern count = 0  Capturing subpattern count = 0
1784  Partial matching not supported  Partial matching not supported
1785    Contains explicit CR or LF match
1786  Options: extended  Options: extended
1787  First char = '('  First char = '('
1788  Need char = ')'  Need char = ')'
# Line 1782  Need char = ')' Line 1794  Need char = ')'
1794  /\(  ( (?>[^()]+) | (?R) )* \) /Ix  /\(  ( (?>[^()]+) | (?R) )* \) /Ix
1795  Capturing subpattern count = 1  Capturing subpattern count = 1
1796  Partial matching not supported  Partial matching not supported
1797    Contains explicit CR or LF match
1798  Options: extended  Options: extended
1799  First char = '('  First char = '('
1800  Need char = ')'  Need char = ')'
# Line 1792  Need char = ')' Line 1805  Need char = ')'
1805  /\( ( ( (?>[^()]+) | (?R) )* ) \) /Ix  /\( ( ( (?>[^()]+) | (?R) )* ) \) /Ix
1806  Capturing subpattern count = 2  Capturing subpattern count = 2
1807  Partial matching not supported  Partial matching not supported
1808    Contains explicit CR or LF match
1809  Options: extended  Options: extended
1810  First char = '('  First char = '('
1811  Need char = ')'  Need char = ')'
# Line 1803  Need char = ')' Line 1817  Need char = ')'
1817  /\( (123)? ( ( (?>[^()]+) | (?R) )* ) \) /Ix  /\( (123)? ( ( (?>[^()]+) | (?R) )* ) \) /Ix
1818  Capturing subpattern count = 3  Capturing subpattern count = 3
1819  Partial matching not supported  Partial matching not supported
1820    Contains explicit CR or LF match
1821  Options: extended  Options: extended
1822  First char = '('  First char = '('
1823  Need char = ')'  Need char = ')'
# Line 1820  Need char = ')' Line 1835  Need char = ')'
1835  /\( ( (123)? ( (?>[^()]+) | (?R) )* ) \) /Ix  /\( ( (123)? ( (?>[^()]+) | (?R) )* ) \) /Ix
1836  Capturing subpattern count = 3  Capturing subpattern count = 3
1837  Partial matching not supported  Partial matching not supported
1838    Contains explicit CR or LF match
1839  Options: extended  Options: extended
1840  First char = '('  First char = '('
1841  Need char = ')'  Need char = ')'
# Line 1837  Need char = ')' Line 1853  Need char = ')'
1853  /\( (((((((((( ( (?>[^()]+) | (?R) )* )))))))))) \) /Ix  /\( (((((((((( ( (?>[^()]+) | (?R) )* )))))))))) \) /Ix
1854  Capturing subpattern count = 11  Capturing subpattern count = 11
1855  Partial matching not supported  Partial matching not supported
1856    Contains explicit CR or LF match
1857  Options: extended  Options: extended
1858  First char = '('  First char = '('
1859  Need char = ')'  Need char = ')'
# Line 1857  Need char = ')' Line 1874  Need char = ')'
1874  /\( ( ( (?>[^()<>]+) | ((?>[^()]+)) | (?R) )* ) \) /Ix  /\( ( ( (?>[^()<>]+) | ((?>[^()]+)) | (?R) )* ) \) /Ix
1875  Capturing subpattern count = 3  Capturing subpattern count = 3
1876  Partial matching not supported  Partial matching not supported
1877    Contains explicit CR or LF match
1878  Options: extended  Options: extended
1879  First char = '('  First char = '('
1880  Need char = ')'  Need char = ')'
# Line 1869  Need char = ')' Line 1887  Need char = ')'
1887  /\( ( ( (?>[^()]+) | ((?R)) )* ) \) /Ix  /\( ( ( (?>[^()]+) | ((?R)) )* ) \) /Ix
1888  Capturing subpattern count = 3  Capturing subpattern count = 3
1889  Partial matching not supported  Partial matching not supported
1890    Contains explicit CR or LF match
1891  Options: extended  Options: extended
1892  First char = '('  First char = '('
1893  Need char = ')'  Need char = ')'
# Line 1905  No need char Line 1924  No need char
1924          End          End
1925  ------------------------------------------------------------------  ------------------------------------------------------------------
1926  Capturing subpattern count = 0  Capturing subpattern count = 0
1927    Contains explicit CR or LF match
1928  Options: anchored  Options: anchored
1929  No first char  No first char
1930  No need char  No need char
# Line 1931  No need char Line 1951  No need char
1951          End          End
1952  ------------------------------------------------------------------  ------------------------------------------------------------------
1953  Capturing subpattern count = 0  Capturing subpattern count = 0
1954    Contains explicit CR or LF match
1955  Options: anchored  Options: anchored
1956  No first char  No first char
1957  No need char  No need char
# Line 1952  Starting byte set: A B C D E F G H I J K Line 1973  Starting byte set: A B C D E F G H I J K
1973          End          End
1974  ------------------------------------------------------------------  ------------------------------------------------------------------
1975  Capturing subpattern count = 0  Capturing subpattern count = 0
1976    Contains explicit CR or LF match
1977  Options: anchored  Options: anchored
1978  No first char  No first char
1979  No need char  No need char
# Line 1991  No need char Line 2013  No need char
2013          End          End
2014  ------------------------------------------------------------------  ------------------------------------------------------------------
2015  Capturing subpattern count = 0  Capturing subpattern count = 0
2016    Contains explicit CR or LF match
2017  Options: anchored  Options: anchored
2018  No first char  No first char
2019  No need char  No need char
2020    
2021  /[\n\x0b\x0c\x0d[:blank:]]/IS  /[\n\x0b\x0c\x0d[:blank:]]/IS
2022  Capturing subpattern count = 0  Capturing subpattern count = 0
2023    Contains explicit CR or LF match
2024  No options  No options
2025  No first char  No first char
2026  No need char  No need char
# Line 2011  Starting byte set: \x09 \x0a \x0b \x0c \ Line 2035  Starting byte set: \x09 \x0a \x0b \x0c \
2035          End          End
2036  ------------------------------------------------------------------  ------------------------------------------------------------------
2037  Capturing subpattern count = 0  Capturing subpattern count = 0
2038    Contains explicit CR or LF match
2039  Options: anchored  Options: anchored
2040  No first char  No first char
2041  No need char  No need char
# Line 2089  No need char Line 2114  No need char
2114          End          End
2115  ------------------------------------------------------------------  ------------------------------------------------------------------
2116  Capturing subpattern count = 0  Capturing subpattern count = 0
2117    Contains explicit CR or LF match
2118  Options: anchored  Options: anchored
2119  No first char  No first char
2120  No need char  No need char
# Line 2154  No need char Line 2180  No need char
2180          End          End
2181  ------------------------------------------------------------------  ------------------------------------------------------------------
2182  Capturing subpattern count = 0  Capturing subpattern count = 0
2183    Contains explicit CR or LF match
2184  Options: anchored  Options: anchored
2185  No first char  No first char
2186  No need char  No need char
# Line 2167  No need char Line 2194  No need char
2194          End          End
2195  ------------------------------------------------------------------  ------------------------------------------------------------------
2196  Capturing subpattern count = 0  Capturing subpattern count = 0
2197    Contains explicit CR or LF match
2198  Options: anchored  Options: anchored
2199  No first char  No first char
2200  No need char  No need char
# Line 3055  Need char = 'b' Line 3083  Need char = 'b'
3083  /([^()]++|\([^()]*\))+/I  /([^()]++|\([^()]*\))+/I
3084  Capturing subpattern count = 1  Capturing subpattern count = 1
3085  Partial matching not supported  Partial matching not supported
3086    Contains explicit CR or LF match
3087  No options  No options
3088  No first char  No first char
3089  No need char  No need char
# Line 3065  No need char Line 3094  No need char
3094  /\(([^()]++|\([^()]+\))+\)/I  /\(([^()]++|\([^()]+\))+\)/I
3095  Capturing subpattern count = 1  Capturing subpattern count = 1
3096  Partial matching not supported  Partial matching not supported
3097    Contains explicit CR or LF match
3098  No options  No options
3099  First char = '('  First char = '('
3100  Need char = ')'  Need char = ')'
# Line 3265  No need char Line 3295  No need char
3295          End          End
3296  ------------------------------------------------------------------  ------------------------------------------------------------------
3297  Capturing subpattern count = 0  Capturing subpattern count = 0
3298    Contains explicit CR or LF match
3299  No options  No options
3300  No first char  No first char
3301  No need char  No need char
# Line 3277  No need char Line 3308  No need char
3308          End          End
3309  ------------------------------------------------------------------  ------------------------------------------------------------------
3310  Capturing subpattern count = 0  Capturing subpattern count = 0
3311    Contains explicit CR or LF match
3312  No options  No options
3313  No first char  No first char
3314  No need char  No need char
# Line 3284  No need char Line 3316  No need char
3316  /< (?: (?(R) \d++  | [^<>]*+) | (?R)) * >/Ix  /< (?: (?(R) \d++  | [^<>]*+) | (?R)) * >/Ix
3317  Capturing subpattern count = 0  Capturing subpattern count = 0
3318  Partial matching not supported  Partial matching not supported
3319    Contains explicit CR or LF match
3320  Options: extended  Options: extended
3321  First char = '<'  First char = '<'
3322  Need char = '>'  Need char = '>'
# Line 3498  Starting byte set: a b Line 3531  Starting byte set: a b
3531    
3532  /[^a]/I  /[^a]/I
3533  Capturing subpattern count = 0  Capturing subpattern count = 0
3534    Contains explicit CR or LF match
3535  No options  No options
3536  No first char  No first char
3537  No need char  No need char
# Line 3957  Failed: recursive call could loop indefi Line 3991  Failed: recursive call could loop indefi
3991    
3992  /^([^()]|\((?1)*\))*$/I  /^([^()]|\((?1)*\))*$/I
3993  Capturing subpattern count = 1  Capturing subpattern count = 1
3994    Contains explicit CR or LF match
3995  Options: anchored  Options: anchored
3996  No first char  No first char
3997  No need char  No need char
# Line 3976  No match Line 4011  No match
4011    
4012  /^>abc>([^()]|\((?1)*\))*<xyz<$/I  /^>abc>([^()]|\((?1)*\))*<xyz<$/I
4013  Capturing subpattern count = 1  Capturing subpattern count = 1
4014    Contains explicit CR or LF match
4015  Options: anchored  Options: anchored
4016  No first char  No first char
4017  Need char = '<'  Need char = '<'
# Line 4103  No match Line 4139  No match
4139  /((< (?: (?(R) \d++  | [^<>]*+) | (?2)) * >))/Ix  /((< (?: (?(R) \d++  | [^<>]*+) | (?2)) * >))/Ix
4140  Capturing subpattern count = 2  Capturing subpattern count = 2
4141  Partial matching not supported  Partial matching not supported
4142    Contains explicit CR or LF match
4143  Options: extended  Options: extended
4144  First char = '<'  First char = '<'
4145  Need char = '>'  Need char = '>'
# Line 5631  No need char Line 5668  No need char
5668    
5669  /line\nbreak/I  /line\nbreak/I
5670  Capturing subpattern count = 0  Capturing subpattern count = 0
5671    Contains explicit CR or LF match
5672  No options  No options
5673  First char = 'l'  First char = 'l'
5674  Need char = 'k'  Need char = 'k'
# Line 5641  Need char = 'k' Line 5679  Need char = 'k'
5679    
5680  /line\nbreak/If  /line\nbreak/If
5681  Capturing subpattern count = 0  Capturing subpattern count = 0
5682    Contains explicit CR or LF match
5683  Options: firstline  Options: firstline
5684  First char = 'l'  First char = 'l'
5685  Need char = 'k'  Need char = 'k'
# Line 5653  No match Line 5692  No match
5692    
5693  /line\nbreak/Imf  /line\nbreak/Imf
5694  Capturing subpattern count = 0  Capturing subpattern count = 0
5695    Contains explicit CR or LF match
5696  Options: multiline firstline  Options: multiline firstline
5697  First char = 'l'  First char = 'l'
5698  Need char = 'k'  Need char = 'k'
# Line 5918  Matched, but too many substrings Line 5958  Matched, but too many substrings
5958  /[^()]*(?:\((?R)\)[^()]*)*/I  /[^()]*(?:\((?R)\)[^()]*)*/I
5959  Capturing subpattern count = 0  Capturing subpattern count = 0
5960  Partial matching not supported  Partial matching not supported
5961    Contains explicit CR or LF match
5962  No options  No options
5963  No first char  No first char
5964  No need char  No need char
# Line 5931  No need char Line 5972  No need char
5972  /[^()]*(?:\((?>(?R))\)[^()]*)*/I  /[^()]*(?:\((?>(?R))\)[^()]*)*/I
5973  Capturing subpattern count = 0  Capturing subpattern count = 0
5974  Partial matching not supported  Partial matching not supported
5975    Contains explicit CR or LF match
5976  No options  No options
5977  No first char  No first char
5978  No need char  No need char
# Line 5942  No need char Line 5984  No need char
5984  /[^()]*(?:\((?R)\))*[^()]*/I  /[^()]*(?:\((?R)\))*[^()]*/I
5985  Capturing subpattern count = 0  Capturing subpattern count = 0
5986  Partial matching not supported  Partial matching not supported
5987    Contains explicit CR or LF match
5988  No options  No options
5989  No first char  No first char
5990  No need char  No need char
# Line 5953  No need char Line 5996  No need char
5996  /(?:\((?R)\))*[^()]*/I  /(?:\((?R)\))*[^()]*/I
5997  Capturing subpattern count = 0  Capturing subpattern count = 0
5998  Partial matching not supported  Partial matching not supported
5999    Contains explicit CR or LF match
6000  No options  No options
6001  No first char  No first char
6002  No need char  No need char
# Line 5966  No need char Line 6010  No need char
6010  /(?:\((?R)\))|[^()]*/I  /(?:\((?R)\))|[^()]*/I
6011  Capturing subpattern count = 0  Capturing subpattern count = 0
6012  Partial matching not supported  Partial matching not supported
6013    Contains explicit CR or LF match
6014  No options  No options
6015  No first char  No first char
6016  No need char  No need char
# Line 8064  No match Line 8109  No match
8109   2: b   2: b
8110    
8111  /^(a)\g-2/  /^(a)\g-2/
8112  Failed: reference to non-existent subpattern at offset 4  Failed: reference to non-existent subpattern at offset 7
8113    
8114  /^(a)\g/  /^(a)\g/
8115  Failed: \g is not followed by a braced name or an optionally braced non-zero number at offset 4  Failed: \g is not followed by a braced name or an optionally braced non-zero number at offset 5
8116    
8117  /^(a)\g{0}/  /^(a)\g{0}/
8118  Failed: \g is not followed by a braced name or an optionally braced non-zero number at offset 4  Failed: \g is not followed by a braced name or an optionally braced non-zero number at offset 7
8119    
8120  /^(a)\g{3/  /^(a)\g{3/
8121  Failed: \g is not followed by a braced name or an optionally braced non-zero number at offset 4  Failed: \g is not followed by a braced name or an optionally braced non-zero number at offset 8
8122    
8123  /^(a)\g{4a}/  /^(a)\g{4a}/
8124  Failed: reference to non-existent subpattern at offset 9  Failed: reference to non-existent subpattern at offset 9
# Line 8796  Failed: missing terminating ] for charac Line 8841  Failed: missing terminating ] for charac
8841  /[\Q\E^]AAA/  /[\Q\E^]AAA/
8842  Failed: missing terminating ] for character class at offset 10  Failed: missing terminating ] for character class at offset 10
8843    
8844    /A(*PRUNE)B(*SKIP)C(*THEN)D(*COMMIT)E(*F)F(*FAIL)G(?!)H(*ACCEPT)I/BZ
8845    ------------------------------------------------------------------
8846            Bra
8847            A
8848            *PRUNE
8849            B
8850            *SKIP
8851            C
8852            *THEN
8853            D
8854            *COMMIT
8855            E
8856            *FAIL
8857            F
8858            *FAIL
8859            G
8860            *FAIL
8861            H
8862            *ACCEPT
8863            I
8864            Ket
8865            End
8866    ------------------------------------------------------------------
8867    
8868    /^a+(*FAIL)/
8869        aaaaaa
8870    No match
8871    
8872    /a+b?c+(*FAIL)/
8873        aaabccc
8874    No match
8875    
8876    /a+b?(*PRUNE)c+(*FAIL)/
8877        aaabccc
8878    No match
8879    
8880    /a+b?(*COMMIT)c+(*FAIL)/
8881        aaabccc
8882    No match
8883    
8884    /a+b?(*SKIP)c+(*FAIL)/
8885        aaabcccaaabccc
8886    No match
8887    
8888    /^(?:aaa(*THEN)\w{6}|bbb(*THEN)\w{5}|ccc(*THEN)\w{4}|\w{3})/
8889        aaaxxxxxx
8890     0: aaaxxxxxx
8891        aaa++++++
8892     0: aaa
8893        bbbxxxxx
8894     0: bbbxxxxx
8895        bbb+++++
8896     0: bbb
8897        cccxxxx
8898     0: cccxxxx
8899        ccc++++
8900     0: ccc
8901        dddddddd
8902     0: ddd
8903    
8904    /^(aaa(*THEN)\w{6}|bbb(*THEN)\w{5}|ccc(*THEN)\w{4}|\w{3})/
8905        aaaxxxxxx
8906     0: aaaxxxxxx
8907     1: aaaxxxxxx
8908        aaa++++++
8909     0: aaa
8910     1: aaa
8911        bbbxxxxx
8912     0: bbbxxxxx
8913     1: bbbxxxxx
8914        bbb+++++
8915     0: bbb
8916     1: bbb
8917        cccxxxx
8918     0: cccxxxx
8919     1: cccxxxx
8920        ccc++++
8921     0: ccc
8922     1: ccc
8923        dddddddd
8924     0: ddd
8925     1: ddd
8926    
8927    /a+b?(*THEN)c+(*FAIL)/
8928        aaabccc
8929    No match
8930    
8931    /(A (A|B(*ACCEPT)|C) D)(E)/x
8932        ABX
8933     0: AB
8934        AADE
8935     0: AADE
8936     1: AAD
8937     2: A
8938     3: E
8939        ACDE
8940     0: ACDE
8941     1: ACD
8942     2: C
8943     3: E
8944        ** Failers
8945    No match
8946        AD
8947    No match
8948    
8949    /^a+(*FAIL)/C
8950        aaaaaa
8951    --->aaaaaa
8952     +0 ^          ^
8953     +1 ^          a+
8954     +3 ^     ^    (*FAIL)
8955     +3 ^    ^     (*FAIL)
8956     +3 ^   ^      (*FAIL)
8957     +3 ^  ^       (*FAIL)
8958     +3 ^ ^        (*FAIL)
8959     +3 ^^         (*FAIL)
8960    No match
8961    
8962    /a+b?c+(*FAIL)/C
8963        aaabccc
8964    --->aaabccc
8965     +0 ^           a+
8966     +2 ^  ^        b?
8967     +4 ^   ^       c+
8968     +6 ^      ^    (*FAIL)
8969     +6 ^     ^     (*FAIL)
8970     +6 ^    ^      (*FAIL)
8971     +4 ^  ^        c+
8972     +2 ^ ^         b?
8973     +4 ^ ^         c+
8974     +2 ^^          b?
8975     +4 ^^          c+
8976     +0  ^          a+
8977     +2  ^ ^        b?
8978     +4  ^  ^       c+
8979     +6  ^     ^    (*FAIL)
8980     +6  ^    ^     (*FAIL)
8981     +6  ^   ^      (*FAIL)
8982     +4  ^ ^        c+
8983     +2  ^^         b?
8984     +4  ^^         c+
8985     +0   ^         a+
8986     +2   ^^        b?
8987     +4   ^ ^       c+
8988     +6   ^    ^    (*FAIL)
8989     +6   ^   ^     (*FAIL)
8990     +6   ^  ^      (*FAIL)
8991     +4   ^^        c+
8992    No match
8993    
8994    /a+b?(*PRUNE)c+(*FAIL)/C
8995        aaabccc
8996    --->aaabccc
8997     +0 ^           a+
8998     +2 ^  ^        b?
8999     +4 ^   ^       (*PRUNE)
9000    +12 ^   ^       c+
9001    +14 ^      ^    (*FAIL)
9002    +14 ^     ^     (*FAIL)
9003    +14 ^    ^      (*FAIL)
9004     +0  ^          a+
9005     +2  ^ ^        b?
9006     +4  ^  ^       (*PRUNE)
9007    +12  ^  ^       c+
9008    +14  ^     ^    (*FAIL)
9009    +14  ^    ^     (*FAIL)
9010    +14  ^   ^      (*FAIL)
9011     +0   ^         a+
9012     +2   ^^        b?
9013     +4   ^ ^       (*PRUNE)
9014    +12   ^ ^       c+
9015    +14   ^    ^    (*FAIL)
9016    +14   ^   ^     (*FAIL)
9017    +14   ^  ^      (*FAIL)
9018    No match
9019    
9020    /a+b?(*COMMIT)c+(*FAIL)/C
9021        aaabccc
9022    --->aaabccc
9023     +0 ^           a+
9024     +2 ^  ^        b?
9025     +4 ^   ^       (*COMMIT)
9026    +13 ^   ^       c+
9027    +15 ^      ^    (*FAIL)
9028    +15 ^     ^     (*FAIL)
9029    +15 ^    ^      (*FAIL)
9030    No match
9031    
9032    /a+b?(*SKIP)c+(*FAIL)/C
9033        aaabcccaaabccc
9034    --->aaabcccaaabccc
9035     +0 ^                  a+
9036     +2 ^  ^               b?
9037     +4 ^   ^              (*SKIP)
9038    +11 ^   ^              c+
9039    +13 ^      ^           (*FAIL)
9040    +13 ^     ^            (*FAIL)
9041    +13 ^    ^             (*FAIL)
9042     +0        ^           a+
9043     +2        ^  ^        b?
9044     +4        ^   ^       (*SKIP)
9045    +11        ^   ^       c+
9046    +13        ^      ^    (*FAIL)
9047    +13        ^     ^     (*FAIL)
9048    +13        ^    ^      (*FAIL)
9049    No match
9050    
9051    /a+b?(*THEN)c+(*FAIL)/C
9052        aaabccc
9053    --->aaabccc
9054     +0 ^           a+
9055     +2 ^  ^        b?
9056     +4 ^   ^       (*THEN)
9057    +11 ^   ^       c+
9058    +13 ^      ^    (*FAIL)
9059    +13 ^     ^     (*FAIL)
9060    +13 ^    ^      (*FAIL)
9061     +0  ^          a+
9062     +2  ^ ^        b?
9063     +4  ^  ^       (*THEN)
9064    +11  ^  ^       c+
9065    +13  ^     ^    (*FAIL)
9066    +13  ^    ^     (*FAIL)
9067    +13  ^   ^      (*FAIL)
9068     +0   ^         a+
9069     +2   ^^        b?
9070     +4   ^ ^       (*THEN)
9071    +11   ^ ^       c+
9072    +13   ^    ^    (*FAIL)
9073    +13   ^   ^     (*FAIL)
9074    +13   ^  ^      (*FAIL)
9075    No match
9076    
9077    /a(*PRUNE:XXX)b/
9078    Failed: (*VERB) with an argument is not supported at offset 8
9079    
9080    /a(*MARK)b/
9081    Failed: (*VERB) not recognized at offset 7
9082    
9083    /(?i:A{1,}\6666666666)/
9084    Failed: number is too big at offset 19
9085    
9086    /\g6666666666/
9087    Failed: number is too big at offset 11
9088    
9089    /[\g6666666666]/
9090    Failed: number is too big at offset 12
9091    
9092    /(?1)\c[/
9093    Failed: reference to non-existent subpattern at offset 3
9094    
9095    /.+A/<crlf>
9096        \r\nA
9097    No match
9098    
9099    /\nA/<crlf>
9100        \r\nA
9101     0: \x0aA
9102    
9103    /[\r\n]A/<crlf>
9104        \r\nA
9105     0: \x0aA
9106    
9107    /(\r|\n)A/<crlf>
9108        \r\nA
9109     0: \x0aA
9110     1: \x0a
9111    
9112    /a(*CR)b/
9113    Failed: (*VERB) not recognized at offset 5
9114    
9115    /(*CR)a.b/
9116        a\nb
9117     0: a\x0ab
9118        ** Failers
9119    No match
9120        a\rb
9121    No match
9122    
9123    /(*CR)a.b/<lf>
9124        a\nb
9125     0: a\x0ab
9126        ** Failers
9127    No match
9128        a\rb
9129    No match
9130    
9131    /(*LF)a.b/<CRLF>
9132        a\rb
9133     0: a\x0db
9134        ** Failers
9135    No match
9136        a\nb
9137    No match
9138    
9139    /(*CRLF)a.b/
9140        a\rb
9141     0: a\x0db
9142        a\nb
9143     0: a\x0ab
9144        ** Failers
9145    No match
9146        a\r\nb
9147    No match
9148    
9149    /(*ANYCRLF)a.b/<CR>
9150        ** Failers
9151    No match
9152        a\rb
9153    No match
9154        a\nb
9155    No match
9156        a\r\nb
9157    No match
9158    
9159    /(*ANY)a.b/<cr>
9160        ** Failers
9161    No match
9162        a\rb
9163    No match
9164        a\nb
9165    No match
9166        a\r\nb
9167    No match
9168        a\x85b
9169    No match
9170    
9171  / End of testinput2 /  / End of testinput2 /

Legend:
Removed from v.205  
changed lines
  Added in v.227

  ViewVC Help
Powered by ViewVC 1.1.5