/[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 215 by ph10, Wed Aug 15 14:20:05 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 9047  Failed: number is too big at offset 12 Line 9092  Failed: number is too big at offset 12
9092  /(?1)\c[/  /(?1)\c[/
9093  Failed: reference to non-existent subpattern at offset 3  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.215  
changed lines
  Added in v.227

  ViewVC Help
Powered by ViewVC 1.1.5