/[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 168 by ph10, Tue May 29 15:18:18 2007 UTC revision 227 by ph10, Tue Aug 21 15:00:15 2007 UTC
# Line 78  No match Line 78  No match
78      def\nabc      def\nabc
79  No match  No match
80    
81  /ab\hdef/X  /ab\idef/X
82  Failed: unrecognized character follows \ at offset 3  Failed: unrecognized character follows \ at offset 3
83    
84  /(?X)ab\hdef/X  /(?X)ab\idef/X
85  Failed: unrecognized character follows \ at offset 7  Failed: unrecognized character follows \ at offset 7
86    
87  /x{5,4}/  /x{5,4}/
# 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 599  Need char = 'h' (caseless) Line 601  Need char = 'h' (caseless)
601    
602  /((?i)b)/IDZS  /((?i)b)/IDZS
603  ------------------------------------------------------------------  ------------------------------------------------------------------
604          Bra 0          Bra
605          Bra 1          CBra 1
606       01 Opt       01 Opt
607       NC b       NC b
608          Ket          Ket
# 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'
1116    
1117  /.*X/IDZ  /.*X/IDZ
1118  ------------------------------------------------------------------  ------------------------------------------------------------------
1119          Bra 0          Bra
1120          Any*          Any*
1121          X          X
1122          Ket          Ket
# Line 1125  Need char = 'X' Line 1130  Need char = 'X'
1130    
1131  /.*X/IDZs  /.*X/IDZs
1132  ------------------------------------------------------------------  ------------------------------------------------------------------
1133          Bra 0          Bra
1134          Any*          Any*
1135          X          X
1136          Ket          Ket
# Line 1139  Need char = 'X' Line 1144  Need char = 'X'
1144    
1145  /(.*X|^B)/IDZ  /(.*X|^B)/IDZ
1146  ------------------------------------------------------------------  ------------------------------------------------------------------
1147          Bra 0          Bra
1148          Bra 1          CBra 1
1149          Any*          Any*
1150          X          X
1151          Alt          Alt
# Line 1158  No need char Line 1163  No need char
1163    
1164  /(.*X|^B)/IDZs  /(.*X|^B)/IDZs
1165  ------------------------------------------------------------------  ------------------------------------------------------------------
1166          Bra 0          Bra
1167          Bra 1          CBra 1
1168          Any*          Any*
1169          X          X
1170          Alt          Alt
# Line 1177  No need char Line 1182  No need char
1182    
1183  /(?s)(.*X|^B)/IDZ  /(?s)(.*X|^B)/IDZ
1184  ------------------------------------------------------------------  ------------------------------------------------------------------
1185          Bra 0          Bra
1186          Bra 1          CBra 1
1187          Any*          Any*
1188          X          X
1189          Alt          Alt
# Line 1196  No need char Line 1201  No need char
1201    
1202  /(?s:.*X|^B)/IDZ  /(?s:.*X|^B)/IDZ
1203  ------------------------------------------------------------------  ------------------------------------------------------------------
1204          Bra 0          Bra
1205          Bra 0          Bra
1206       04 Opt       04 Opt
1207          Any*          Any*
1208          X          X
# 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 1885  Need char = ')' Line 1904  Need char = ')'
1904    
1905  /^[[:alnum:]]/DZ  /^[[:alnum:]]/DZ
1906  ------------------------------------------------------------------  ------------------------------------------------------------------
1907          Bra 0          Bra
1908          ^          ^
1909          [0-9A-Za-z]          [0-9A-Za-z]
1910          Ket          Ket
# Line 1898  No need char Line 1917  No need char
1917    
1918  /^[[:^alnum:]]/DZ  /^[[:^alnum:]]/DZ
1919  ------------------------------------------------------------------  ------------------------------------------------------------------
1920          Bra 0          Bra
1921          ^          ^
1922          [\x00-/:-@[-`{-\xff]          [\x00-/:-@[-`{-\xff]
1923          Ket          Ket
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
1931    
1932  /^[[:alpha:]]/DZ  /^[[:alpha:]]/DZ
1933  ------------------------------------------------------------------  ------------------------------------------------------------------
1934          Bra 0          Bra
1935          ^          ^
1936          [A-Za-z]          [A-Za-z]
1937          Ket          Ket
# Line 1924  No need char Line 1944  No need char
1944    
1945  /^[[:^alpha:]]/DZ  /^[[:^alpha:]]/DZ
1946  ------------------------------------------------------------------  ------------------------------------------------------------------
1947          Bra 0          Bra
1948          ^          ^
1949          [\x00-@[-`{-\xff]          [\x00-@[-`{-\xff]
1950          Ket          Ket
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 1945  Starting byte set: A B C D E F G H I J K Line 1966  Starting byte set: A B C D E F G H I J K
1966    
1967  /^[[:ascii:]]/DZ  /^[[:ascii:]]/DZ
1968  ------------------------------------------------------------------  ------------------------------------------------------------------
1969          Bra 0          Bra
1970          ^          ^
1971          [\x00-\x7f]          [\x00-\x7f]
1972          Ket          Ket
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
1980    
1981  /^[[:^ascii:]]/DZ  /^[[:^ascii:]]/DZ
1982  ------------------------------------------------------------------  ------------------------------------------------------------------
1983          Bra 0          Bra
1984          ^          ^
1985          [\x80-\xff]          [\x80-\xff]
1986          Ket          Ket
# Line 1971  No need char Line 1993  No need char
1993    
1994  /^[[:blank:]]/DZ  /^[[:blank:]]/DZ
1995  ------------------------------------------------------------------  ------------------------------------------------------------------
1996          Bra 0          Bra
1997          ^          ^
1998          [\x09 ]          [\x09 ]
1999          Ket          Ket
# Line 1984  No need char Line 2006  No need char
2006    
2007  /^[[:^blank:]]/DZ  /^[[:^blank:]]/DZ
2008  ------------------------------------------------------------------  ------------------------------------------------------------------
2009          Bra 0          Bra
2010          ^          ^
2011          [\x00-\x08\x0a-\x1f!-\xff]          [\x00-\x08\x0a-\x1f!-\xff]
2012          Ket          Ket
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 2004  Starting byte set: \x09 \x0a \x0b \x0c \ Line 2028  Starting byte set: \x09 \x0a \x0b \x0c \
2028    
2029  /^[[:cntrl:]]/DZ  /^[[:cntrl:]]/DZ
2030  ------------------------------------------------------------------  ------------------------------------------------------------------
2031          Bra 0          Bra
2032          ^          ^
2033          [\x00-\x1f\x7f]          [\x00-\x1f\x7f]
2034          Ket          Ket
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
2042    
2043  /^[[:digit:]]/DZ  /^[[:digit:]]/DZ
2044  ------------------------------------------------------------------  ------------------------------------------------------------------
2045          Bra 0          Bra
2046          ^          ^
2047          [0-9]          [0-9]
2048          Ket          Ket
# Line 2030  No need char Line 2055  No need char
2055    
2056  /^[[:graph:]]/DZ  /^[[:graph:]]/DZ
2057  ------------------------------------------------------------------  ------------------------------------------------------------------
2058          Bra 0          Bra
2059          ^          ^
2060          [!-~]          [!-~]
2061          Ket          Ket
# Line 2043  No need char Line 2068  No need char
2068    
2069  /^[[:lower:]]/DZ  /^[[:lower:]]/DZ
2070  ------------------------------------------------------------------  ------------------------------------------------------------------
2071          Bra 0          Bra
2072          ^          ^
2073          [a-z]          [a-z]
2074          Ket          Ket
# Line 2056  No need char Line 2081  No need char
2081    
2082  /^[[:print:]]/DZ  /^[[:print:]]/DZ
2083  ------------------------------------------------------------------  ------------------------------------------------------------------
2084          Bra 0          Bra
2085          ^          ^
2086          [ -~]          [ -~]
2087          Ket          Ket
# Line 2069  No need char Line 2094  No need char
2094    
2095  /^[[:punct:]]/DZ  /^[[:punct:]]/DZ
2096  ------------------------------------------------------------------  ------------------------------------------------------------------
2097          Bra 0          Bra
2098          ^          ^
2099          [!-/:-@[-`{-~]          [!-/:-@[-`{-~]
2100          Ket          Ket
# Line 2082  No need char Line 2107  No need char
2107    
2108  /^[[:space:]]/DZ  /^[[:space:]]/DZ
2109  ------------------------------------------------------------------  ------------------------------------------------------------------
2110          Bra 0          Bra
2111          ^          ^
2112          [\x09-\x0d ]          [\x09-\x0d ]
2113          Ket          Ket
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
2121    
2122  /^[[:upper:]]/DZ  /^[[:upper:]]/DZ
2123  ------------------------------------------------------------------  ------------------------------------------------------------------
2124          Bra 0          Bra
2125          ^          ^
2126          [A-Z]          [A-Z]
2127          Ket          Ket
# Line 2108  No need char Line 2134  No need char
2134    
2135  /^[[:xdigit:]]/DZ  /^[[:xdigit:]]/DZ
2136  ------------------------------------------------------------------  ------------------------------------------------------------------
2137          Bra 0          Bra
2138          ^          ^
2139          [0-9A-Fa-f]          [0-9A-Fa-f]
2140          Ket          Ket
# Line 2121  No need char Line 2147  No need char
2147    
2148  /^[[:word:]]/DZ  /^[[:word:]]/DZ
2149  ------------------------------------------------------------------  ------------------------------------------------------------------
2150          Bra 0          Bra
2151          ^          ^
2152          [0-9A-Z_a-z]          [0-9A-Z_a-z]
2153          Ket          Ket
# Line 2134  No need char Line 2160  No need char
2160    
2161  /^[[:^cntrl:]]/DZ  /^[[:^cntrl:]]/DZ
2162  ------------------------------------------------------------------  ------------------------------------------------------------------
2163          Bra 0          Bra
2164          ^          ^
2165          [ -~\x80-\xff]          [ -~\x80-\xff]
2166          Ket          Ket
# Line 2147  No need char Line 2173  No need char
2173    
2174  /^[12[:^digit:]]/DZ  /^[12[:^digit:]]/DZ
2175  ------------------------------------------------------------------  ------------------------------------------------------------------
2176          Bra 0          Bra
2177          ^          ^
2178          [\x00-/12:-\xff]          [\x00-/12:-\xff]
2179          Ket          Ket
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
2187    
2188  /^[[:^blank:]]/DZ  /^[[:^blank:]]/DZ
2189  ------------------------------------------------------------------  ------------------------------------------------------------------
2190          Bra 0          Bra
2191          ^          ^
2192          [\x00-\x08\x0a-\x1f!-\xff]          [\x00-\x08\x0a-\x1f!-\xff]
2193          Ket          Ket
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
2201    
2202  /[01[:alpha:]%]/DZ  /[01[:alpha:]%]/DZ
2203  ------------------------------------------------------------------  ------------------------------------------------------------------
2204          Bra 0          Bra
2205          [%01A-Za-z]          [%01A-Za-z]
2206          Ket          Ket
2207          End          End
# Line 2694  Need char = '-' Line 2722  Need char = '-'
2722    
2723  /#/IxDZ  /#/IxDZ
2724  ------------------------------------------------------------------  ------------------------------------------------------------------
2725          Bra 0          Bra
2726          Ket          Ket
2727          End          End
2728  ------------------------------------------------------------------  ------------------------------------------------------------------
# Line 2705  No need char Line 2733  No need char
2733    
2734  /a#/IxDZ  /a#/IxDZ
2735  ------------------------------------------------------------------  ------------------------------------------------------------------
2736          Bra 0          Bra
2737          a          a
2738          Ket          Ket
2739          End          End
# Line 2717  No need char Line 2745  No need char
2745    
2746  /[\s]/DZ  /[\s]/DZ
2747  ------------------------------------------------------------------  ------------------------------------------------------------------
2748          Bra 0          Bra
2749          [\x09\x0a\x0c\x0d ]          [\x09\x0a\x0c\x0d ]
2750          Ket          Ket
2751          End          End
# Line 2729  No need char Line 2757  No need char
2757    
2758  /[\S]/DZ  /[\S]/DZ
2759  ------------------------------------------------------------------  ------------------------------------------------------------------
2760          Bra 0          Bra
2761          [\x00-\x08\x0b\x0e-\x1f!-\xff]          [\x00-\x08\x0b\x0e-\x1f!-\xff]
2762          Ket          Ket
2763          End          End
# Line 2741  No need char Line 2769  No need char
2769    
2770  /a(?i)b/DZ  /a(?i)b/DZ
2771  ------------------------------------------------------------------  ------------------------------------------------------------------
2772          Bra 0          Bra
2773          a          a
2774       01 Opt       01 Opt
2775       NC b       NC b
# Line 2763  No match Line 2791  No match
2791    
2792  /(a(?i)b)/DZ  /(a(?i)b)/DZ
2793  ------------------------------------------------------------------  ------------------------------------------------------------------
2794          Bra 0          Bra
2795          Bra 1          CBra 1
2796          a          a
2797       01 Opt       01 Opt
2798       NC b       NC b
# Line 2790  No match Line 2818  No match
2818    
2819  /   (?i)abc/IxDZ  /   (?i)abc/IxDZ
2820  ------------------------------------------------------------------  ------------------------------------------------------------------
2821          Bra 0          Bra
2822       NC abc       NC abc
2823          Ket          Ket
2824          End          End
# Line 2803  Need char = 'c' (caseless) Line 2831  Need char = 'c' (caseless)
2831  /#this is a comment  /#this is a comment
2832    (?i)abc/IxDZ    (?i)abc/IxDZ
2833  ------------------------------------------------------------------  ------------------------------------------------------------------
2834          Bra 0          Bra
2835       NC abc       NC abc
2836          Ket          Ket
2837          End          End
# Line 2815  Need char = 'c' (caseless) Line 2843  Need char = 'c' (caseless)
2843    
2844  /123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890/DZ  /123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890/DZ
2845  ------------------------------------------------------------------  ------------------------------------------------------------------
2846          Bra 0          Bra
2847          123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890          123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
2848          Ket          Ket
2849          End          End
# Line 2827  Need char = '0' Line 2855  Need char = '0'
2855    
2856  /\Q123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890/DZ  /\Q123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890/DZ
2857  ------------------------------------------------------------------  ------------------------------------------------------------------
2858          Bra 0          Bra
2859          123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890          123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
2860          Ket          Ket
2861          End          End
# Line 2839  Need char = '0' Line 2867  Need char = '0'
2867    
2868  /\Q\E/DZ  /\Q\E/DZ
2869  ------------------------------------------------------------------  ------------------------------------------------------------------
2870          Bra 0          Bra
2871          Ket          Ket
2872          End          End
2873  ------------------------------------------------------------------  ------------------------------------------------------------------
# Line 2852  No need char Line 2880  No need char
2880    
2881  /\Q\Ex/DZ  /\Q\Ex/DZ
2882  ------------------------------------------------------------------  ------------------------------------------------------------------
2883          Bra 0          Bra
2884          x          x
2885          Ket          Ket
2886          End          End
# Line 2864  No need char Line 2892  No need char
2892    
2893  / \Q\E/DZ  / \Q\E/DZ
2894  ------------------------------------------------------------------  ------------------------------------------------------------------
2895          Bra 0          Bra
2896    
2897          Ket          Ket
2898          End          End
# Line 2876  No need char Line 2904  No need char
2904    
2905  /a\Q\E/DZ  /a\Q\E/DZ
2906  ------------------------------------------------------------------  ------------------------------------------------------------------
2907          Bra 0          Bra
2908          a          a
2909          Ket          Ket
2910          End          End
# Line 2894  No need char Line 2922  No need char
2922    
2923  /a\Q\Eb/DZ  /a\Q\Eb/DZ
2924  ------------------------------------------------------------------  ------------------------------------------------------------------
2925          Bra 0          Bra
2926          ab          ab
2927          Ket          Ket
2928          End          End
# Line 2908  Need char = 'b' Line 2936  Need char = 'b'
2936    
2937  /\Q\Eabc/DZ  /\Q\Eabc/DZ
2938  ------------------------------------------------------------------  ------------------------------------------------------------------
2939          Bra 0          Bra
2940          abc          abc
2941          Ket          Ket
2942          End          End
# Line 2920  Need char = 'c' Line 2948  Need char = 'c'
2948    
2949  /x*+\w/DZ  /x*+\w/DZ
2950  ------------------------------------------------------------------  ------------------------------------------------------------------
2951          Bra 0          Bra
2952          x*+          x*+
2953          \w          \w
2954          Ket          Ket
# Line 2938  No match Line 2966  No match
2966    
2967  /x?+/DZ  /x?+/DZ
2968  ------------------------------------------------------------------  ------------------------------------------------------------------
2969          Bra 0          Bra
2970          x?+          x?+
2971          Ket          Ket
2972          End          End
# Line 2950  No need char Line 2978  No need char
2978    
2979  /x++/DZ  /x++/DZ
2980  ------------------------------------------------------------------  ------------------------------------------------------------------
2981          Bra 0          Bra
2982          x++          x++
2983          Ket          Ket
2984          End          End
# Line 2963  No need char Line 2991  No need char
2991    
2992  /x{1,3}+/DZ  /x{1,3}+/DZ
2993  ------------------------------------------------------------------  ------------------------------------------------------------------
2994          Bra 0          Bra
2995          Once          Once
2996          x          x
2997          x{0,2}          x{0,2}
# Line 2979  No need char Line 3007  No need char
3007    
3008  /(x)*+/DZ  /(x)*+/DZ
3009  ------------------------------------------------------------------  ------------------------------------------------------------------
3010          Bra 0          Bra
3011          Once          Once
3012          Brazero          Brazero
3013          Bra 1          CBra 1
3014          x          x
3015          KetRmax          KetRmax
3016          Ket          Ket
# 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 3081  No match Line 3111  No match
3111    
3112  /(abc){1,3}+/DZ  /(abc){1,3}+/DZ
3113  ------------------------------------------------------------------  ------------------------------------------------------------------
3114          Bra 0          Bra
3115          Once          Once
3116          Bra 1          CBra 1
3117          abc          abc
3118          Ket          Ket
3119          Brazero          Brazero
3120          Bra 0          Bra
3121          Bra 1          CBra 1
3122          abc          abc
3123          Ket          Ket
3124          Brazero          Brazero
3125          Bra 1          CBra 1
3126          abc          abc
3127          Ket          Ket
3128          Ket          Ket
# Line 3119  Failed: nothing to repeat at offset 7 Line 3149  Failed: nothing to repeat at offset 7
3149    
3150  /x(?U)a++b/DZ  /x(?U)a++b/DZ
3151  ------------------------------------------------------------------  ------------------------------------------------------------------
3152          Bra 0          Bra
3153          x          x
3154          a++          a++
3155          b          b
# Line 3136  Need char = 'b' Line 3166  Need char = 'b'
3166    
3167  /(?U)xa++b/DZ  /(?U)xa++b/DZ
3168  ------------------------------------------------------------------  ------------------------------------------------------------------
3169          Bra 0          Bra
3170          x          x
3171          a++          a++
3172          b          b
# Line 3153  Need char = 'b' Line 3183  Need char = 'b'
3183    
3184  /^((a+)(?U)([ab]+)(?-U)([bc]+)(\w*))/DZ  /^((a+)(?U)([ab]+)(?-U)([bc]+)(\w*))/DZ
3185  ------------------------------------------------------------------  ------------------------------------------------------------------
3186          Bra 0          Bra
3187          ^          ^
3188          Bra 1          CBra 1
3189          Bra 2          CBra 2
3190          a+          a+
3191          Ket          Ket
3192          Bra 3          CBra 3
3193          [ab]+?          [ab]+?
3194          Ket          Ket
3195          Bra 4          CBra 4
3196          [bc]+          [bc]+
3197          Ket          Ket
3198          Bra 5          CBra 5
3199          \w*          \w*
3200          Ket          Ket
3201          Ket          Ket
# Line 3180  No need char Line 3210  No need char
3210    
3211  /^x(?U)a+b/DZ  /^x(?U)a+b/DZ
3212  ------------------------------------------------------------------  ------------------------------------------------------------------
3213          Bra 0          Bra
3214          ^          ^
3215          x          x
3216          a++          a++
# Line 3196  Need char = 'b' Line 3226  Need char = 'b'
3226    
3227  /^x(?U)(a+)b/DZ  /^x(?U)(a+)b/DZ
3228  ------------------------------------------------------------------  ------------------------------------------------------------------
3229          Bra 0          Bra
3230          ^          ^
3231          x          x
3232          Bra 1          CBra 1
3233          a+?          a+?
3234          Ket          Ket
3235          b          b
# Line 3247  Failed: missing terminating ] for charac Line 3277  Failed: missing terminating ] for charac
3277    
3278  /[\s]/IDZ  /[\s]/IDZ
3279  ------------------------------------------------------------------  ------------------------------------------------------------------
3280          Bra 0          Bra
3281          [\x09\x0a\x0c\x0d ]          [\x09\x0a\x0c\x0d ]
3282          Ket          Ket
3283          End          End
# Line 3259  No need char Line 3289  No need char
3289    
3290  /[[:space:]]/IDZ  /[[:space:]]/IDZ
3291  ------------------------------------------------------------------  ------------------------------------------------------------------
3292          Bra 0          Bra
3293          [\x09-\x0d ]          [\x09-\x0d ]
3294          Ket          Ket
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
3302    
3303  /[[:space:]abcde]/IDZ  /[[:space:]abcde]/IDZ
3304  ------------------------------------------------------------------  ------------------------------------------------------------------
3305          Bra 0          Bra
3306          [\x09-\x0d a-e]          [\x09-\x0d a-e]
3307          Ket          Ket
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 3306  No match Line 3339  No match
3339    
3340  |8J\$WE\<\.rX\+ix\[d1b\!H\#\?vV0vrK\:ZH1\=2M\>iV\;\?aPhFB\<\*vW\@QW\@sO9\}cfZA\-i\'w\%hKd6gt1UJP\,15_\#QY\$M\^Mss_U\/\]\&LK9\[5vQub\^w\[KDD\<EjmhUZ\?\.akp2dF\>qmj\;2\}YWFdYx\.Ap\]hjCPTP\(n28k\+3\;o\&WXqs\/gOXdr\$\:r\'do0\;b4c\(f_Gr\=\"\\4\)\[01T7ajQJvL\$W\~mL_sS\/4h\:x\*\[ZN\=KLs\&L5zX\/\/\>it\,o\:aU\(\;Z\>pW\&T7oP\'2K\^E\:x9\'c\[\%z\-\,64JQ5AeH_G\#KijUKghQw\^\\vea3a\?kka_G\$8\#\`\*kynsxzBLru\'\]k_\[7FrVx\}\^\=\$blx\>s\-N\%j\;D\*aZDnsw\:YKZ\%Q\.Kne9\#hP\?\+b3\(SOvL\,\^\;\&u5\@\?5C5Bhb\=m\-vEh_L15Jl\]U\)0RP6\{q\%L\^_z5E\'Dw6X\b|IDZ  |8J\$WE\<\.rX\+ix\[d1b\!H\#\?vV0vrK\:ZH1\=2M\>iV\;\?aPhFB\<\*vW\@QW\@sO9\}cfZA\-i\'w\%hKd6gt1UJP\,15_\#QY\$M\^Mss_U\/\]\&LK9\[5vQub\^w\[KDD\<EjmhUZ\?\.akp2dF\>qmj\;2\}YWFdYx\.Ap\]hjCPTP\(n28k\+3\;o\&WXqs\/gOXdr\$\:r\'do0\;b4c\(f_Gr\=\"\\4\)\[01T7ajQJvL\$W\~mL_sS\/4h\:x\*\[ZN\=KLs\&L5zX\/\/\>it\,o\:aU\(\;Z\>pW\&T7oP\'2K\^E\:x9\'c\[\%z\-\,64JQ5AeH_G\#KijUKghQw\^\\vea3a\?kka_G\$8\#\`\*kynsxzBLru\'\]k_\[7FrVx\}\^\=\$blx\>s\-N\%j\;D\*aZDnsw\:YKZ\%Q\.Kne9\#hP\?\+b3\(SOvL\,\^\;\&u5\@\?5C5Bhb\=m\-vEh_L15Jl\]U\)0RP6\{q\%L\^_z5E\'Dw6X\b|IDZ
3341  ------------------------------------------------------------------  ------------------------------------------------------------------
3342          Bra 0          Bra
3343          8J$WE<.rX+ix[d1b!H#?vV0vrK:ZH1=2M>iV;?aPhFB<*vW@QW@sO9}cfZA-i'w%hKd6gt1UJP,15_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ajQJvL\$W\~mL_sS\/4h\:x\*\[ZN\=KLs\&L5zX\/\/\>it\,o\:aU\(\;Z\>pW\&T7oP\'2K\^E\:x9\'c\[\%z\-\,64JQ5AeH_G\#KijUKghQw\^\\vea3a\?kka_G\$8\#\`\*kynsxzBLru\'\]k_\[7FrVx\}\^\=\$blx\>s\-N\%j\;D\*aZDnsw\:YKZ\%Q\.Kne9\#hP\?\+b3\(SOvL\,\^\;\&u5\@\?5C5Bhb\=m\-vEh_L15Jl\]U\)0RP6\{q\%L\^_z5E\'Dw6X\b|IDZ  |\$\<\.X\+ix\[d1b\!H\#\?vV0vrK\:ZH1\=2M\>iV\;\?aPhFB\<\*vW\@QW\@sO9\}cfZA\-i\'w\%hKd6gt1UJP\,15_\#QY\$M\^Mss_U\/\]\&LK9\[5vQub\^w\[KDD\<EjmhUZ\?\.akp2dF\>qmj\;2\}YWFdYx\.Ap\]hjCPTP\(n28k\+3\;o\&WXqs\/gOXdr\$\:r\'do0\;b4c\(f_Gr\=\"\\4\)\[01T7ajQJvL\$W\~mL_sS\/4h\:x\*\[ZN\=KLs\&L5zX\/\/\>it\,o\:aU\(\;Z\>pW\&T7oP\'2K\^E\:x9\'c\[\%z\-\,64JQ5AeH_G\#KijUKghQw\^\\vea3a\?kka_G\$8\#\`\*kynsxzBLru\'\]k_\[7FrVx\}\^\=\$blx\>s\-N\%j\;D\*aZDnsw\:YKZ\%Q\.Kne9\#hP\?\+b3\(SOvL\,\^\;\&u5\@\?5C5Bhb\=m\-vEh_L15Jl\]U\)0RP6\{q\%L\^_z5E\'Dw6X\b|IDZ
3354  ------------------------------------------------------------------  ------------------------------------------------------------------
3355          Bra 0          Bra
3356          $<.X+ix[d1b!H#?vV0vrK:ZH1=2M>iV;?aPhFB<*vW@QW@sO9}cfZA-i'w%hKd6gt1UJP,15_#QY$M^Mss_U/]&LK9[5vQub^w[KDD<EjmhUZ?.akp2dF>qmj;2}YWFdYx.Ap]hjCPTP(n28k+3;o&WXqs/gOXdr$:r'do0;b4c(f_Gr="\4)[01T7ajQJvL$W~mL_sS/4h:x*[ZN=KLs&L5zX//>it,o:aU(;Z>pW&T7oP'2K^E:x9'c[%z-,64JQ5AeH_G#KijUKghQw^\vea3a?kka_G$8#`*kynsxzBLru']k_[7FrVx}^=$blx>s-N%j;D*aZDnsw:YKZ%Q.Kne9#hP?+b3(SOvL,^;&u5@?5C5Bhb=m-vEh_L15Jl]U)0RP6{q%L^_z5E'Dw6X          $<.X+ix[d1b!H#?vV0vrK:ZH1=2M>iV;?aPhFB<*vW@QW@sO9}cfZA-i'w%hKd6gt1UJP,15_#QY$M^Mss_U/]&LK9[5vQub^w[KDD<EjmhUZ?.akp2dF>qmj;2}YWFdYx.Ap]hjCPTP(n28k+3;o&WXqs/gOXdr$:r'do0;b4c(f_Gr="\4)[01T7ajQJvL$W~mL_sS/4h:x*[ZN=KLs&L5zX//>it,o:aU(;Z>pW&T7oP'2K^E:x9'c[%z-,64JQ5AeH_G#KijUKghQw^\vea3a?kka_G$8#`*kynsxzBLru']k_[7FrVx}^=$blx>s-N%j;D*aZDnsw:YKZ%Q.Kne9#hP?+b3(SOvL,^;&u5@?5C5Bhb=m-vEh_L15Jl]U)0RP6{q%L^_z5E'Dw6X
3357          \b          \b
3358          Ket          Ket
# 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 3991  Need char = '<' Line 4027  Need char = '<'
4027    
4028  /(a(?1)b)/DZ  /(a(?1)b)/DZ
4029  ------------------------------------------------------------------  ------------------------------------------------------------------
4030          Bra 0          Bra
4031          Bra 1          CBra 1
4032          a          a
4033          Once          Once
4034          Recurse          Recurse
# Line 4009  Need char = 'b' Line 4045  Need char = 'b'
4045    
4046  /(a(?1)+b)/DZ  /(a(?1)+b)/DZ
4047  ------------------------------------------------------------------  ------------------------------------------------------------------
4048          Bra 0          Bra
4049          Bra 1          CBra 1
4050          a          a
4051          Once          Once
4052          Recurse          Recurse
# 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 4185  No need char Line 4222  No need char
4222    
4223  /a(?P<name1>b|c)d(?P<longername2>e)/DZ  /a(?P<name1>b|c)d(?P<longername2>e)/DZ
4224  ------------------------------------------------------------------  ------------------------------------------------------------------
4225          Bra 0          Bra
4226          a          a
4227          Bra 1          CBra 1
4228          b          b
4229          Alt          Alt
4230          c          c
4231          Ket          Ket
4232          d          d
4233          Bra 2          CBra 2
4234          e          e
4235          Ket          Ket
4236          Ket          Ket
# Line 4217  Need char = 'e' Line 4254  Need char = 'e'
4254    
4255  /(?:a(?P<c>c(?P<d>d)))(?P<a>a)/DZ  /(?:a(?P<c>c(?P<d>d)))(?P<a>a)/DZ
4256  ------------------------------------------------------------------  ------------------------------------------------------------------
4257          Bra 0          Bra
4258          Bra 0          Bra
4259          a          a
4260          Bra 1          CBra 1
4261          c          c
4262          Bra 2          CBra 2
4263          d          d
4264          Ket          Ket
4265          Ket          Ket
4266          Ket          Ket
4267          Bra 3          CBra 3
4268          a          a
4269          Ket          Ket
4270          Ket          Ket
# Line 4244  Need char = 'a' Line 4281  Need char = 'a'
4281    
4282  /(?P<a>a)...(?P=a)bbb(?P>a)d/DZ  /(?P<a>a)...(?P=a)bbb(?P>a)d/DZ
4283  ------------------------------------------------------------------  ------------------------------------------------------------------
4284          Bra 0          Bra
4285          Bra 1          CBra 1
4286          a          a
4287          Ket          Ket
4288          Any          Any
# Line 4407  No need char Line 4444  No need char
4444    
4445  /(a)(bc)/INDZ  /(a)(bc)/INDZ
4446  ------------------------------------------------------------------  ------------------------------------------------------------------
4447          Bra 0          Bra
4448          Bra 0          Bra
4449          a          a
4450          Ket          Ket
4451          Bra 0          Bra
4452          bc          bc
4453          Ket          Ket
4454          Ket          Ket
# Line 4426  Need char = 'c' Line 4463  Need char = 'c'
4463    
4464  /(?P<one>a)(bc)/INDZ  /(?P<one>a)(bc)/INDZ
4465  ------------------------------------------------------------------  ------------------------------------------------------------------
4466          Bra 0          Bra
4467          Bra 1          CBra 1
4468          a          a
4469          Ket          Ket
4470          Bra 0          Bra
4471          bc          bc
4472          Ket          Ket
4473          Ket          Ket
# Line 4448  Need char = 'c' Line 4485  Need char = 'c'
4485    
4486  /(a)(?P<named>bc)/INDZ  /(a)(?P<named>bc)/INDZ
4487  ------------------------------------------------------------------  ------------------------------------------------------------------
4488          Bra 0          Bra
4489          Bra 0          Bra
4490          a          a
4491          Ket          Ket
4492          Bra 1          CBra 1
4493          bc          bc
4494          Ket          Ket
4495          Ket          Ket
# Line 4541  copy substring three failed -7 Line 4578  copy substring three failed -7
4578    
4579  /(?P<Tes>)(?P<Test>)/DZ  /(?P<Tes>)(?P<Test>)/DZ
4580  ------------------------------------------------------------------  ------------------------------------------------------------------
4581          Bra 0          Bra
4582          Bra 1          CBra 1
4583          Ket          Ket
4584          Bra 2          CBra 2
4585          Ket          Ket
4586          Ket          Ket
4587          End          End
# Line 4559  No need char Line 4596  No need char
4596    
4597  /(?P<Test>)(?P<Tes>)/DZ  /(?P<Test>)(?P<Tes>)/DZ
4598  ------------------------------------------------------------------  ------------------------------------------------------------------
4599          Bra 0          Bra
4600          Bra 1          CBra 1
4601          Ket          Ket
4602          Bra 2          CBra 2
4603          Ket          Ket
4604          Ket          Ket
4605          End          End
# Line 4636  Need char = ']' Line 4673  Need char = ']'
4673    
4674  /(a(b(?2)c))?/DZ  /(a(b(?2)c))?/DZ
4675  ------------------------------------------------------------------  ------------------------------------------------------------------
4676          Bra 0          Bra
4677          Brazero          Brazero
4678          Bra 1          CBra 1
4679          a          a
4680          Bra 2          CBra 2
4681          b          b
4682          Once          Once
4683          Recurse          Recurse
# Line 4658  No need char Line 4695  No need char
4695    
4696  /(a(b(?2)c))*/DZ  /(a(b(?2)c))*/DZ
4697  ------------------------------------------------------------------  ------------------------------------------------------------------
4698          Bra 0          Bra
4699          Brazero          Brazero
4700          Bra 1          CBra 1
4701          a          a
4702          Bra 2          CBra 2
4703          b          b
4704          Once          Once
4705          Recurse          Recurse
# Line 4680  No need char Line 4717  No need char
4717    
4718  /(a(b(?2)c)){0,2}/DZ  /(a(b(?2)c)){0,2}/DZ
4719  ------------------------------------------------------------------  ------------------------------------------------------------------
4720          Bra 0          Bra
4721          Brazero          Brazero
4722          Bra 0          Bra
4723          Bra 1          CBra 1
4724          a          a
4725          Bra 2          CBra 2
4726          b          b
4727          Once          Once
4728          Recurse          Recurse
# Line 4694  No need char Line 4731  No need char
4731          Ket          Ket
4732          Ket          Ket
4733          Brazero          Brazero
4734          Bra 1          CBra 1
4735          a          a
4736          Bra 2          CBra 2
4737          b          b
4738          Once          Once
4739          Recurse          Recurse
# Line 4715  No need char Line 4752  No need char
4752    
4753  /[ab]{1}+/DZ  /[ab]{1}+/DZ
4754  ------------------------------------------------------------------  ------------------------------------------------------------------
4755          Bra 0          Bra
4756          Once          Once
4757          [ab]{1,1}          [ab]{1,1}
4758          Ket          Ket
# Line 4750  Study returned NULL Line 4787  Study returned NULL
4787    
4788  /a*.*b/ISDZ  /a*.*b/ISDZ
4789  ------------------------------------------------------------------  ------------------------------------------------------------------
4790          Bra 0          Bra
4791          a*          a*
4792          Any*          Any*
4793          b          b
# Line 4766  Study returned NULL Line 4803  Study returned NULL
4803    
4804  /(a|b)*.?c/ISDZ  /(a|b)*.?c/ISDZ
4805  ------------------------------------------------------------------  ------------------------------------------------------------------
4806          Bra 0          Bra
4807          Brazero          Brazero
4808          Bra 1          CBra 1
4809          a          a
4810          Alt          Alt
4811          b          b
# Line 4786  Study returned NULL Line 4823  Study returned NULL
4823    
4824  /abc(?C255)de(?C)f/DZ  /abc(?C255)de(?C)f/DZ
4825  ------------------------------------------------------------------  ------------------------------------------------------------------
4826          Bra 0          Bra
4827          abc          abc
4828          Callout 255 10 1          Callout 255 10 1
4829          de          de
# Line 4802  Need char = 'f' Line 4839  Need char = 'f'
4839    
4840  /abcde/ICDZ  /abcde/ICDZ
4841  ------------------------------------------------------------------  ------------------------------------------------------------------
4842          Bra 0          Bra
4843          Callout 255 0 1          Callout 255 0 1
4844          a          a
4845          Callout 255 1 1          Callout 255 1 1
# Line 4841  No match Line 4878  No match
4878    
4879  /a*b/ICDZ  /a*b/ICDZ
4880  ------------------------------------------------------------------  ------------------------------------------------------------------
4881          Bra 0          Bra
4882          Callout 255 0 2          Callout 255 0 2
4883          a*+          a*+
4884          Callout 255 2 1          Callout 255 2 1
# Line 4886  Need char = 'b' Line 4923  Need char = 'b'
4923    
4924  /a+b/ICDZ  /a+b/ICDZ
4925  ------------------------------------------------------------------  ------------------------------------------------------------------
4926          Bra 0          Bra
4927          Callout 255 0 2          Callout 255 0 2
4928          a++          a++
4929          Callout 255 2 1          Callout 255 2 1
# Line 4926  No match Line 4963  No match
4963    
4964  /(abc|def)x/ICDZ  /(abc|def)x/ICDZ
4965  ------------------------------------------------------------------  ------------------------------------------------------------------
4966          Bra 0          Bra
4967          Callout 255 0 9          Callout 255 0 9
4968          Bra 1          CBra 1
4969          Callout 255 1 1          Callout 255 1 1
4970          a          a
4971          Callout 255 2 1          Callout 255 2 1
# Line 5080  No need char Line 5117  No need char
5117    
5118  /([ab]{,4}c|xy)/ICDZ  /([ab]{,4}c|xy)/ICDZ
5119  ------------------------------------------------------------------  ------------------------------------------------------------------
5120          Bra 0          Bra
5121          Callout 255 0 14          Callout 255 0 14
5122          Bra 1          CBra 1
5123          Callout 255 1 4          Callout 255 1 4
5124          [ab]          [ab]
5125          Callout 255 5 1          Callout 255 5 1
# Line 5255  No match Line 5292  No match
5292    
5293  /([ab]{1,4}c|xy){4,5}?123/ICDZ  /([ab]{1,4}c|xy){4,5}?123/ICDZ
5294  ------------------------------------------------------------------  ------------------------------------------------------------------
5295          Bra 0          Bra
5296          Callout 255 0 21          Callout 255 0 21
5297          Bra 1          CBra 1
5298          Callout 255 1 9          Callout 255 1 9
5299          [ab]{1,4}          [ab]{1,4}
5300          Callout 255 10 1          Callout 255 10 1
# Line 5270  No match Line 5307  No match
5307          y          y
5308          Callout 255 14 0          Callout 255 14 0
5309          Ket          Ket
5310          Bra 1          CBra 1
5311          Callout 255 1 9          Callout 255 1 9
5312          [ab]{1,4}          [ab]{1,4}
5313          Callout 255 10 1          Callout 255 10 1
# Line 5283  No match Line 5320  No match
5320          y          y
5321          Callout 255 14 0          Callout 255 14 0
5322          Ket          Ket
5323          Bra 1          CBra 1
5324          Callout 255 1 9          Callout 255 1 9
5325          [ab]{1,4}          [ab]{1,4}
5326          Callout 255 10 1          Callout 255 10 1
# Line 5296  No match Line 5333  No match
5333          y          y
5334          Callout 255 14 0          Callout 255 14 0
5335          Ket          Ket
5336          Bra 1          CBra 1
5337          Callout 255 1 9          Callout 255 1 9
5338          [ab]{1,4}          [ab]{1,4}
5339          Callout 255 10 1          Callout 255 10 1
# Line 5310  No match Line 5347  No match
5347          Callout 255 14 0          Callout 255 14 0
5348          Ket          Ket
5349          Braminzero          Braminzero
5350          Bra 1          CBra 1
5351          Callout 255 1 9          Callout 255 1 9
5352          [ab]{1,4}          [ab]{1,4}
5353          Callout 255 10 1          Callout 255 10 1
# 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 6193  Named capturing subpatterns: Line 6238  Named capturing subpatterns:
6238    B   3    B   3
6239    C   4    C   4
6240  Options: anchored  Options: anchored
6241    Duplicate name status changes
6242  No first char  No first char
6243  No need char  No need char
6244      a bc d\CA\CB\CC      a bc d\CA\CB\CC
# Line 6663  Starting byte set: a b c d Line 6709  Starting byte set: a b c d
6709    
6710  /^a*b\d/DZ  /^a*b\d/DZ
6711  ------------------------------------------------------------------  ------------------------------------------------------------------
6712          Bra 0          Bra
6713          ^          ^
6714          a*+          a*+
6715          b          b
# Line 6679  Need char = 'b' Line 6725  Need char = 'b'
6725    
6726  /^a*+b\d/DZ  /^a*+b\d/DZ
6727  ------------------------------------------------------------------  ------------------------------------------------------------------
6728          Bra 0          Bra
6729          ^          ^
6730          a*+          a*+
6731          b          b
# Line 6695  Need char = 'b' Line 6741  Need char = 'b'
6741    
6742  /^a*?b\d/DZ  /^a*?b\d/DZ
6743  ------------------------------------------------------------------  ------------------------------------------------------------------
6744          Bra 0          Bra
6745          ^          ^
6746          a*+          a*+
6747          b          b
# Line 6711  Need char = 'b' Line 6757  Need char = 'b'
6757    
6758  /^a+A\d/DZ  /^a+A\d/DZ
6759  ------------------------------------------------------------------  ------------------------------------------------------------------
6760          Bra 0          Bra
6761          ^          ^
6762          a++          a++
6763          A          A
# Line 6733  No match Line 6779  No match
6779    
6780  /^a*A\d/IiDZ  /^a*A\d/IiDZ
6781  ------------------------------------------------------------------  ------------------------------------------------------------------
6782          Bra 0          Bra
6783          ^          ^
6784          a*          a*
6785       NC A       NC A
# Line 6815  Matched, but too many substrings Line 6861  Matched, but too many substrings
6861    
6862  /a*\d/BZ  /a*\d/BZ
6863  ------------------------------------------------------------------  ------------------------------------------------------------------
6864          Bra 0          Bra
6865          a*+          a*+
6866          \d          \d
6867          Ket          Ket
# Line 6824  Matched, but too many substrings Line 6870  Matched, but too many substrings
6870    
6871  /a*\D/BZ  /a*\D/BZ
6872  ------------------------------------------------------------------  ------------------------------------------------------------------
6873          Bra 0          Bra
6874          a*          a*
6875          \D          \D
6876          Ket          Ket
# Line 6833  Matched, but too many substrings Line 6879  Matched, but too many substrings
6879    
6880  /0*\d/BZ  /0*\d/BZ
6881  ------------------------------------------------------------------  ------------------------------------------------------------------
6882          Bra 0          Bra
6883          0*          0*
6884          \d          \d
6885          Ket          Ket
# Line 6842  Matched, but too many substrings Line 6888  Matched, but too many substrings
6888    
6889  /0*\D/BZ  /0*\D/BZ
6890  ------------------------------------------------------------------  ------------------------------------------------------------------
6891          Bra 0          Bra
6892          0*+          0*+
6893          \D          \D
6894          Ket          Ket
# Line 6851  Matched, but too many substrings Line 6897  Matched, but too many substrings
6897    
6898  /a*\s/BZ  /a*\s/BZ
6899  ------------------------------------------------------------------  ------------------------------------------------------------------
6900          Bra 0          Bra
6901          a*+          a*+
6902          \s          \s
6903          Ket          Ket
# Line 6860  Matched, but too many substrings Line 6906  Matched, but too many substrings
6906    
6907  /a*\S/BZ  /a*\S/BZ
6908  ------------------------------------------------------------------  ------------------------------------------------------------------
6909          Bra 0          Bra
6910          a*          a*
6911          \S          \S
6912          Ket          Ket
# Line 6869  Matched, but too many substrings Line 6915  Matched, but too many substrings
6915    
6916  / *\s/BZ  / *\s/BZ
6917  ------------------------------------------------------------------  ------------------------------------------------------------------
6918          Bra 0          Bra
6919           *           *
6920          \s          \s
6921          Ket          Ket
# Line 6878  Matched, but too many substrings Line 6924  Matched, but too many substrings
6924    
6925  / *\S/BZ  / *\S/BZ
6926  ------------------------------------------------------------------  ------------------------------------------------------------------
6927          Bra 0          Bra
6928           *+           *+
6929          \S          \S
6930          Ket          Ket
# Line 6887  Matched, but too many substrings Line 6933  Matched, but too many substrings
6933    
6934  /a*\w/BZ  /a*\w/BZ
6935  ------------------------------------------------------------------  ------------------------------------------------------------------
6936          Bra 0          Bra
6937          a*          a*
6938          \w          \w
6939          Ket          Ket
# Line 6896  Matched, but too many substrings Line 6942  Matched, but too many substrings
6942    
6943  /a*\W/BZ  /a*\W/BZ
6944  ------------------------------------------------------------------  ------------------------------------------------------------------
6945          Bra 0          Bra
6946          a*+          a*+
6947          \W          \W
6948          Ket          Ket
# Line 6905  Matched, but too many substrings Line 6951  Matched, but too many substrings
6951    
6952  /=*\w/BZ  /=*\w/BZ
6953  ------------------------------------------------------------------  ------------------------------------------------------------------
6954          Bra 0          Bra
6955          =*+          =*+
6956          \w          \w
6957          Ket          Ket
# Line 6914  Matched, but too many substrings Line 6960  Matched, but too many substrings
6960    
6961  /=*\W/BZ  /=*\W/BZ
6962  ------------------------------------------------------------------  ------------------------------------------------------------------
6963          Bra 0          Bra
6964          =*          =*
6965          \W          \W
6966          Ket          Ket
# Line 6923  Matched, but too many substrings Line 6969  Matched, but too many substrings
6969    
6970  /\d*a/BZ  /\d*a/BZ
6971  ------------------------------------------------------------------  ------------------------------------------------------------------
6972          Bra 0          Bra
6973          \d*+          \d*+
6974          a          a
6975          Ket          Ket
# Line 6932  Matched, but too many substrings Line 6978  Matched, but too many substrings
6978    
6979  /\d*2/BZ  /\d*2/BZ
6980  ------------------------------------------------------------------  ------------------------------------------------------------------
6981          Bra 0          Bra
6982          \d*          \d*
6983          2          2
6984          Ket          Ket
# Line 6941  Matched, but too many substrings Line 6987  Matched, but too many substrings
6987    
6988  /\d*\d/BZ  /\d*\d/BZ
6989  ------------------------------------------------------------------  ------------------------------------------------------------------
6990          Bra 0          Bra
6991          \d*          \d*
6992          \d          \d
6993          Ket          Ket
# Line 6950  Matched, but too many substrings Line 6996  Matched, but too many substrings
6996    
6997  /\d*\D/BZ  /\d*\D/BZ
6998  ------------------------------------------------------------------  ------------------------------------------------------------------
6999          Bra 0          Bra
7000          \d*+          \d*+
7001          \D          \D
7002          Ket          Ket
# Line 6959  Matched, but too many substrings Line 7005  Matched, but too many substrings
7005    
7006  /\d*\s/BZ  /\d*\s/BZ
7007  ------------------------------------------------------------------  ------------------------------------------------------------------
7008          Bra 0          Bra
7009          \d*+          \d*+
7010          \s          \s
7011          Ket          Ket
# Line 6968  Matched, but too many substrings Line 7014  Matched, but too many substrings
7014    
7015  /\d*\S/BZ  /\d*\S/BZ
7016  ------------------------------------------------------------------  ------------------------------------------------------------------
7017          Bra 0          Bra
7018          \d*          \d*
7019          \S          \S
7020          Ket          Ket
# Line 6977  Matched, but too many substrings Line 7023  Matched, but too many substrings
7023    
7024  /\d*\w/BZ  /\d*\w/BZ
7025  ------------------------------------------------------------------  ------------------------------------------------------------------
7026          Bra 0          Bra
7027          \d*          \d*
7028          \w          \w
7029          Ket          Ket
# Line 6986  Matched, but too many substrings Line 7032  Matched, but too many substrings
7032    
7033  /\d*\W/BZ  /\d*\W/BZ
7034  ------------------------------------------------------------------  ------------------------------------------------------------------
7035          Bra 0          Bra
7036          \d*+          \d*+
7037          \W          \W
7038          Ket          Ket
# Line 6995  Matched, but too many substrings Line 7041  Matched, but too many substrings
7041    
7042  /\D*a/BZ  /\D*a/BZ
7043  ------------------------------------------------------------------  ------------------------------------------------------------------
7044          Bra 0          Bra
7045          \D*          \D*
7046          a          a
7047          Ket          Ket
# Line 7004  Matched, but too many substrings Line 7050  Matched, but too many substrings
7050    
7051  /\D*2/BZ  /\D*2/BZ
7052  ------------------------------------------------------------------  ------------------------------------------------------------------
7053          Bra 0          Bra
7054          \D*+          \D*+
7055          2          2
7056          Ket          Ket
# Line 7013  Matched, but too many substrings Line 7059  Matched, but too many substrings
7059    
7060  /\D*\d/BZ  /\D*\d/BZ
7061  ------------------------------------------------------------------  ------------------------------------------------------------------
7062          Bra 0          Bra
7063          \D*+          \D*+
7064          \d          \d
7065          Ket          Ket
# Line 7022  Matched, but too many substrings Line 7068  Matched, but too many substrings
7068    
7069  /\D*\D/BZ  /\D*\D/BZ
7070  ------------------------------------------------------------------  ------------------------------------------------------------------
7071          Bra 0          Bra
7072          \D*          \D*
7073          \D          \D
7074          Ket          Ket
# Line 7031  Matched, but too many substrings Line 7077  Matched, but too many substrings
7077    
7078  /\D*\s/BZ  /\D*\s/BZ
7079  ------------------------------------------------------------------  ------------------------------------------------------------------
7080          Bra 0          Bra
7081          \D*          \D*
7082          \s          \s
7083          Ket          Ket
# Line 7040  Matched, but too many substrings Line 7086  Matched, but too many substrings
7086    
7087  /\D*\S/BZ  /\D*\S/BZ
7088  ------------------------------------------------------------------  ------------------------------------------------------------------
7089          Bra 0          Bra
7090          \D*          \D*
7091          \S          \S
7092          Ket          Ket
# Line 7049  Matched, but too many substrings Line 7095  Matched, but too many substrings
7095    
7096  /\D*\w/BZ  /\D*\w/BZ
7097  ------------------------------------------------------------------  ------------------------------------------------------------------
7098          Bra 0          Bra
7099          \D*          \D*
7100          \w          \w
7101          Ket          Ket
# Line 7058  Matched, but too many substrings Line 7104  Matched, but too many substrings
7104    
7105  /\D*\W/BZ  /\D*\W/BZ
7106  ------------------------------------------------------------------  ------------------------------------------------------------------
7107          Bra 0          Bra
7108          \D*          \D*
7109          \W          \W
7110          Ket          Ket
# Line 7067  Matched, but too many substrings Line 7113  Matched, but too many substrings
7113    
7114  /\s*a/BZ  /\s*a/BZ
7115  ------------------------------------------------------------------  ------------------------------------------------------------------
7116          Bra 0          Bra
7117          \s*+          \s*+
7118          a          a
7119          Ket          Ket
# Line 7076  Matched, but too many substrings Line 7122  Matched, but too many substrings
7122    
7123  /\s*2/BZ  /\s*2/BZ
7124  ------------------------------------------------------------------  ------------------------------------------------------------------
7125          Bra 0          Bra
7126          \s*+          \s*+
7127          2          2
7128          Ket          Ket
# Line 7085  Matched, but too many substrings Line 7131  Matched, but too many substrings
7131    
7132  /\s*\d/BZ  /\s*\d/BZ
7133  ------------------------------------------------------------------  ------------------------------------------------------------------
7134          Bra 0          Bra
7135          \s*+          \s*+
7136          \d          \d
7137          Ket          Ket
# Line 7094  Matched, but too many substrings Line 7140  Matched, but too many substrings
7140    
7141  /\s*\D/BZ  /\s*\D/BZ
7142  ------------------------------------------------------------------  ------------------------------------------------------------------
7143          Bra 0          Bra
7144          \s*          \s*
7145          \D          \D
7146          Ket          Ket
# Line 7103  Matched, but too many substrings Line 7149  Matched, but too many substrings
7149    
7150  /\s*\s/BZ  /\s*\s/BZ
7151  ------------------------------------------------------------------  ------------------------------------------------------------------
7152          Bra 0          Bra
7153          \s*          \s*
7154          \s          \s
7155          Ket          Ket
# Line 7112  Matched, but too many substrings Line 7158  Matched, but too many substrings
7158    
7159  /\s*\S/BZ  /\s*\S/BZ
7160  ------------------------------------------------------------------  ------------------------------------------------------------------
7161          Bra 0          Bra
7162          \s*+          \s*+
7163          \S          \S
7164          Ket          Ket
# Line 7121  Matched, but too many substrings Line 7167  Matched, but too many substrings
7167    
7168  /\s*\w/BZ  /\s*\w/BZ
7169  ------------------------------------------------------------------  ------------------------------------------------------------------
7170          Bra 0          Bra
7171          \s*+          \s*+
7172          \w          \w
7173          Ket          Ket
# Line 7130  Matched, but too many substrings Line 7176  Matched, but too many substrings
7176    
7177  /\s*\W/BZ  /\s*\W/BZ
7178  ------------------------------------------------------------------  ------------------------------------------------------------------
7179          Bra 0          Bra
7180          \s*          \s*
7181          \W          \W
7182          Ket          Ket
# Line 7139  Matched, but too many substrings Line 7185  Matched, but too many substrings
7185    
7186  /\S*a/BZ  /\S*a/BZ
7187  ------------------------------------------------------------------  ------------------------------------------------------------------
7188          Bra 0          Bra
7189          \S*          \S*
7190          a          a
7191          Ket          Ket
# Line 7148  Matched, but too many substrings Line 7194  Matched, but too many substrings
7194    
7195  /\S*2/BZ  /\S*2/BZ
7196  ------------------------------------------------------------------  ------------------------------------------------------------------
7197          Bra 0          Bra
7198          \S*          \S*
7199          2          2
7200          Ket          Ket
# Line 7157  Matched, but too many substrings Line 7203  Matched, but too many substrings
7203    
7204  /\S*\d/BZ  /\S*\d/BZ
7205  ------------------------------------------------------------------  ------------------------------------------------------------------
7206          Bra 0          Bra
7207          \S*          \S*
7208          \d          \d
7209          Ket          Ket
# Line 7166  Matched, but too many substrings Line 7212  Matched, but too many substrings
7212    
7213  /\S*\D/BZ  /\S*\D/BZ
7214  ------------------------------------------------------------------  ------------------------------------------------------------------
7215          Bra 0          Bra
7216          \S*          \S*
7217          \D          \D
7218          Ket          Ket
# Line 7175  Matched, but too many substrings Line 7221  Matched, but too many substrings
7221    
7222  /\S*\s/BZ  /\S*\s/BZ
7223  ------------------------------------------------------------------  ------------------------------------------------------------------
7224          Bra 0          Bra
7225          \S*+          \S*+
7226          \s          \s
7227          Ket          Ket
# Line 7184  Matched, but too many substrings Line 7230  Matched, but too many substrings
7230    
7231  /\S*\S/BZ  /\S*\S/BZ
7232  ------------------------------------------------------------------  ------------------------------------------------------------------
7233          Bra 0          Bra
7234          \S*          \S*
7235          \S          \S
7236          Ket          Ket
# Line 7193  Matched, but too many substrings Line 7239  Matched, but too many substrings
7239    
7240  /\S*\w/BZ  /\S*\w/BZ
7241  ------------------------------------------------------------------  ------------------------------------------------------------------
7242          Bra 0          Bra
7243          \S*          \S*
7244          \w          \w
7245          Ket          Ket
# Line 7202  Matched, but too many substrings Line 7248  Matched, but too many substrings
7248    
7249  /\S*\W/BZ  /\S*\W/BZ
7250  ------------------------------------------------------------------  ------------------------------------------------------------------
7251          Bra 0          Bra
7252          \S*          \S*
7253          \W          \W
7254          Ket          Ket
# Line 7211  Matched, but too many substrings Line 7257  Matched, but too many substrings
7257    
7258  /\w*a/BZ  /\w*a/BZ
7259  ------------------------------------------------------------------  ------------------------------------------------------------------
7260          Bra 0          Bra
7261          \w*          \w*
7262          a          a
7263          Ket          Ket
# Line 7220  Matched, but too many substrings Line 7266  Matched, but too many substrings
7266    
7267  /\w*2/BZ  /\w*2/BZ
7268  ------------------------------------------------------------------  ------------------------------------------------------------------
7269          Bra 0          Bra
7270          \w*          \w*
7271          2          2
7272          Ket          Ket
# Line 7229  Matched, but too many substrings Line 7275  Matched, but too many substrings
7275    
7276  /\w*\d/BZ  /\w*\d/BZ
7277  ------------------------------------------------------------------  ------------------------------------------------------------------
7278          Bra 0          Bra
7279          \w*          \w*
7280          \d          \d
7281          Ket          Ket
# Line 7238  Matched, but too many substrings Line 7284  Matched, but too many substrings
7284    
7285  /\w*\D/BZ  /\w*\D/BZ
7286  ------------------------------------------------------------------  ------------------------------------------------------------------
7287          Bra 0          Bra
7288          \w*          \w*
7289          \D          \D
7290          Ket          Ket
# Line 7247  Matched, but too many substrings Line 7293  Matched, but too many substrings
7293    
7294  /\w*\s/BZ  /\w*\s/BZ
7295  ------------------------------------------------------------------  ------------------------------------------------------------------
7296          Bra 0          Bra
7297          \w*+          \w*+
7298          \s          \s
7299          Ket          Ket
# Line 7256  Matched, but too many substrings Line 7302  Matched, but too many substrings
7302    
7303  /\w*\S/BZ  /\w*\S/BZ
7304  ------------------------------------------------------------------  ------------------------------------------------------------------
7305          Bra 0          Bra
7306          \w*          \w*
7307          \S          \S
7308          Ket          Ket
# Line 7265  Matched, but too many substrings Line 7311  Matched, but too many substrings
7311    
7312  /\w*\w/BZ  /\w*\w/BZ
7313  ------------------------------------------------------------------  ------------------------------------------------------------------
7314          Bra 0          Bra
7315          \w*          \w*
7316          \w          \w
7317          Ket          Ket
# Line 7274  Matched, but too many substrings Line 7320  Matched, but too many substrings
7320    
7321  /\w*\W/BZ  /\w*\W/BZ
7322  ------------------------------------------------------------------  ------------------------------------------------------------------
7323          Bra 0          Bra
7324          \w*+          \w*+
7325          \W          \W
7326          Ket          Ket
# Line 7283  Matched, but too many substrings Line 7329  Matched, but too many substrings
7329    
7330  /\W*a/BZ  /\W*a/BZ
7331  ------------------------------------------------------------------  ------------------------------------------------------------------
7332          Bra 0          Bra
7333          \W*+          \W*+
7334          a          a
7335          Ket          Ket
# Line 7292  Matched, but too many substrings Line 7338  Matched, but too many substrings
7338    
7339  /\W*2/BZ  /\W*2/BZ
7340  ------------------------------------------------------------------  ------------------------------------------------------------------
7341          Bra 0          Bra
7342          \W*+          \W*+
7343          2          2
7344          Ket          Ket
# Line 7301  Matched, but too many substrings Line 7347  Matched, but too many substrings
7347    
7348  /\W*\d/BZ  /\W*\d/BZ
7349  ------------------------------------------------------------------  ------------------------------------------------------------------
7350          Bra 0          Bra
7351          \W*+          \W*+
7352          \d          \d
7353          Ket          Ket
# Line 7310  Matched, but too many substrings Line 7356  Matched, but too many substrings
7356    
7357  /\W*\D/BZ  /\W*\D/BZ
7358  ------------------------------------------------------------------  ------------------------------------------------------------------
7359          Bra 0          Bra
7360          \W*          \W*
7361          \D          \D
7362          Ket          Ket
# Line 7319  Matched, but too many substrings Line 7365  Matched, but too many substrings
7365    
7366  /\W*\s/BZ  /\W*\s/BZ
7367  ------------------------------------------------------------------  ------------------------------------------------------------------
7368          Bra 0          Bra
7369          \W*          \W*
7370          \s          \s
7371          Ket          Ket
# Line 7328  Matched, but too many substrings Line 7374  Matched, but too many substrings
7374    
7375  /\W*\S/BZ  /\W*\S/BZ
7376  ------------------------------------------------------------------  ------------------------------------------------------------------
7377          Bra 0          Bra
7378          \W*          \W*
7379          \S          \S
7380          Ket          Ket
# Line 7337  Matched, but too many substrings Line 7383  Matched, but too many substrings
7383    
7384  /\W*\w/BZ  /\W*\w/BZ
7385  ------------------------------------------------------------------  ------------------------------------------------------------------
7386          Bra 0          Bra
7387          \W*+          \W*+
7388          \w          \w
7389          Ket          Ket
# Line 7346  Matched, but too many substrings Line 7392  Matched, but too many substrings
7392    
7393  /\W*\W/BZ  /\W*\W/BZ
7394  ------------------------------------------------------------------  ------------------------------------------------------------------
7395          Bra 0          Bra
7396          \W*          \W*
7397          \W          \W
7398          Ket          Ket
# Line 7355  Matched, but too many substrings Line 7401  Matched, but too many substrings
7401    
7402  /[^a]+a/BZ  /[^a]+a/BZ
7403  ------------------------------------------------------------------  ------------------------------------------------------------------
7404          Bra 0          Bra
7405          [^a]++          [^a]++
7406          a          a
7407          Ket          Ket
# Line 7364  Matched, but too many substrings Line 7410  Matched, but too many substrings
7410    
7411  /[^a]+a/BZi  /[^a]+a/BZi
7412  ------------------------------------------------------------------  ------------------------------------------------------------------
7413          Bra 0          Bra
7414          [^A]++          [^A]++
7415       NC a       NC a
7416          Ket          Ket
# Line 7373  Matched, but too many substrings Line 7419  Matched, but too many substrings
7419    
7420  /[^a]+A/BZi  /[^a]+A/BZi
7421  ------------------------------------------------------------------  ------------------------------------------------------------------
7422          Bra 0          Bra
7423          [^A]++          [^A]++
7424       NC A       NC A
7425          Ket          Ket
# Line 7382  Matched, but too many substrings Line 7428  Matched, but too many substrings
7428    
7429  /[^a]+b/BZ  /[^a]+b/BZ
7430  ------------------------------------------------------------------  ------------------------------------------------------------------
7431          Bra 0          Bra
7432          [^a]+          [^a]+
7433          b          b
7434          Ket          Ket
# Line 7391  Matched, but too many substrings Line 7437  Matched, but too many substrings
7437    
7438  /[^a]+\d/BZ  /[^a]+\d/BZ
7439  ------------------------------------------------------------------  ------------------------------------------------------------------
7440          Bra 0          Bra
7441          [^a]+          [^a]+
7442          \d          \d
7443          Ket          Ket
# Line 7400  Matched, but too many substrings Line 7446  Matched, but too many substrings
7446    
7447  /a*[^a]/BZ  /a*[^a]/BZ
7448  ------------------------------------------------------------------  ------------------------------------------------------------------
7449          Bra 0          Bra
7450          a*          a*
7451          [^a]          [^a]
7452          Ket          Ket
# Line 7541  No match Line 7587  No match
7587    
7588  /^[\E\Qa\E-\Qz\E]+/BZ  /^[\E\Qa\E-\Qz\E]+/BZ
7589  ------------------------------------------------------------------  ------------------------------------------------------------------
7590          Bra 0          Bra
7591          ^          ^
7592          [a-z]+          [a-z]+
7593          Ket          Ket
# Line 7550  No match Line 7596  No match
7596    
7597  /^[a\Q]bc\E]/BZ  /^[a\Q]bc\E]/BZ
7598  ------------------------------------------------------------------  ------------------------------------------------------------------
7599          Bra 0          Bra
7600          ^          ^
7601          [\]a-c]          [\]a-c]
7602          Ket          Ket
# Line 7559  No match Line 7605  No match
7605    
7606  /^[a-\Q\E]/BZ  /^[a-\Q\E]/BZ
7607  ------------------------------------------------------------------  ------------------------------------------------------------------
7608          Bra 0          Bra
7609          ^          ^
7610          [\-a]          [\-a]
7611          Ket          Ket
# Line 7568  No match Line 7614  No match
7614    
7615  /^(?P>abc)[()](?<abc>)/BZ  /^(?P>abc)[()](?<abc>)/BZ
7616  ------------------------------------------------------------------  ------------------------------------------------------------------
7617          Bra 0          Bra
7618          ^          ^
7619          Once          Once
7620          Recurse          Recurse
7621          Ket          Ket
7622          [()]          [()]
7623          Bra 1          CBra 1
7624          Ket          Ket
7625          Ket          Ket
7626          End          End
# Line 7582  No match Line 7628  No match
7628    
7629  /^((?(abc)y)[()](?P<abc>x))+/BZ  /^((?(abc)y)[()](?P<abc>x))+/BZ
7630  ------------------------------------------------------------------  ------------------------------------------------------------------
7631          Bra 0          Bra
7632          ^          ^
7633          Bra 1          CBra 1
7634          Cond          Cond
7635        2 Cond ref        2 Cond ref
7636          y          y
7637          Ket          Ket
7638          [()]          [()]
7639          Bra 2          CBra 2
7640          x          x
7641          Ket          Ket
7642          KetRmax          KetRmax
# Line 7604  No match Line 7650  No match
7650    
7651  /^(?P>abc)\Q()\E(?<abc>)/BZ  /^(?P>abc)\Q()\E(?<abc>)/BZ
7652  ------------------------------------------------------------------  ------------------------------------------------------------------
7653          Bra 0          Bra
7654          ^          ^
7655          Once          Once
7656          Recurse          Recurse
7657          Ket          Ket
7658          ()          ()
7659          Bra 1          CBra 1
7660          Ket          Ket
7661          Ket          Ket
7662          End          End
# Line 7618  No match Line 7664  No match
7664    
7665  /^(?P>abc)[a\Q(]\E(](?<abc>)/BZ  /^(?P>abc)[a\Q(]\E(](?<abc>)/BZ
7666  ------------------------------------------------------------------  ------------------------------------------------------------------
7667          Bra 0          Bra
7668          ^          ^
7669          Once          Once
7670          Recurse          Recurse
7671          Ket          Ket
7672          [(\]a]          [(\]a]
7673          Bra 1          CBra 1
7674          Ket          Ket
7675          Ket          Ket
7676          End          End
# Line 7633  No match Line 7679  No match
7679  /^(?P>abc) # this is (a comment)  /^(?P>abc) # this is (a comment)
7680    (?<abc>)/BZx    (?<abc>)/BZx
7681  ------------------------------------------------------------------  ------------------------------------------------------------------
7682          Bra 0          Bra
7683          ^          ^
7684          Once          Once
7685          Recurse          Recurse
7686          Ket          Ket
7687          Bra 1          CBra 1
7688          Ket          Ket
7689          Ket          Ket
7690          End          End
# Line 8063  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 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 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 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: \g is not followed by an (optionally braced) non-zero number at offset 4  Failed: reference to non-existent subpattern at offset 9
8125    
8126  /^a.b/<lf>  /^a.b/<lf>
8127      a\rb      a\rb
# Line 8169  No match Line 8215  No match
8215      XABC\B      XABC\B
8216  No match  No match
8217    
8218  /(ab|c)(?-1)/B  /(ab|c)(?-1)/BZ
8219  ------------------------------------------------------------------  ------------------------------------------------------------------
8220    0  29 Bra 0          Bra
8221    3   9 Bra 1          CBra 1
8222    8     ab          ab
8223   12   5 Alt          Alt
8224   15     c          c
8225   17  14 Ket          Ket
8226   20   6 Once          Once
8227   23   3 Recurse          Recurse
8228   26   6 Ket          Ket
8229   29  29 Ket          Ket
8230   32     End          End
8231  ------------------------------------------------------------------  ------------------------------------------------------------------
8232      abc      abc
8233   0: abc   0: abc
8234   1: ab   1: ab
8235    
8236  /xy(?+1)(abc)/B  /xy(?+1)(abc)/BZ
8237  ------------------------------------------------------------------  ------------------------------------------------------------------
8238    0  30 Bra 0          Bra
8239    3     xy          xy
8240    7   6 Once          Once
8241   10  16 Recurse          Recurse
8242   13   6 Ket          Ket
8243   16  11 Bra 1          CBra 1
8244   21     abc          abc
8245   27  11 Ket          Ket
8246   30  30 Ket          Ket
8247   33     End          End
8248  ------------------------------------------------------------------  ------------------------------------------------------------------
8249      xyabcabc      xyabcabc
8250   0: xyabcabc   0: xyabcabc
# Line 8220  Failed: (?+ or (?- or (?(+ or (?(- must Line 8266  Failed: (?+ or (?- or (?(+ or (?(- must
8266  /x(?+1)y/  /x(?+1)y/
8267  Failed: reference to non-existent subpattern at offset 5  Failed: reference to non-existent subpattern at offset 5
8268    
8269  /^(abc)?(?(-1)X|Y)/B  /^(abc)?(?(-1)X|Y)/BZ
8270  ------------------------------------------------------------------  ------------------------------------------------------------------
8271    0  35 Bra 0          Bra
8272    3     ^          ^
8273    4     Brazero          Brazero
8274    5  11 Bra 1          CBra 1
8275   10     abc          abc
8276   16  11 Ket          Ket
8277   19   8 Cond          Cond
8278   22   1 Cond ref        1 Cond ref
8279   25     X          X
8280   27   5 Alt          Alt
8281   30     Y          Y
8282   32  13 Ket          Ket
8283   35  35 Ket          Ket
8284   38     End          End
8285  ------------------------------------------------------------------  ------------------------------------------------------------------
8286      abcX      abcX
8287   0: abcX   0: abcX
# Line 8247  No match Line 8293  No match
8293      abcY      abcY
8294  No match  No match
8295    
8296  /^((?(+1)X|Y)(abc))+/B  /^((?(+1)X|Y)(abc))+/BZ
8297  ------------------------------------------------------------------  ------------------------------------------------------------------
8298    0  42 Bra 0          Bra
8299    3     ^          ^
8300    4  35 Bra 1          CBra 1
8301    9   8 Cond          Cond
8302   12   2 Cond ref        2 Cond ref
8303   15     X          X
8304   17   5 Alt          Alt
8305   20     Y          Y
8306   22  13 Ket          Ket
8307   25  11 Bra 2          CBra 2
8308   30     abc          abc
8309   36  11 Ket          Ket
8310   39  35 KetRmax          KetRmax
8311   42  42 Ket          Ket
8312   45     End          End
8313  ------------------------------------------------------------------  ------------------------------------------------------------------
8314      YabcXabc      YabcXabc
8315   0: YabcXabc   0: YabcXabc
# Line 8278  No match Line 8324  No match
8324      XabcXabc      XabcXabc
8325  No match  No match
8326    
8327  /(?(-1)a)/B  /(?(-1)a)/BZ
8328  Failed: reference to non-existent subpattern at offset 6  Failed: reference to non-existent subpattern at offset 6
8329    
8330  /((?(-1)a))/B  /((?(-1)a))/BZ
8331  ------------------------------------------------------------------  ------------------------------------------------------------------
8332    0  22 Bra 0          Bra
8333    3  16 Bra 1          CBra 1
8334    8   8 Cond          Cond
8335   11   1 Cond ref        1 Cond ref
8336   14     a          a
8337   16   8 Ket          Ket
8338   19  16 Ket          Ket
8339   22  22 Ket          Ket
8340   25     End          End
8341  ------------------------------------------------------------------  ------------------------------------------------------------------
8342    
8343  /((?(-2)a))/B  /((?(-2)a))/BZ
8344  Failed: reference to non-existent subpattern at offset 7  Failed: reference to non-existent subpattern at offset 7
8345    
8346  /^(?(+1)X|Y)/B  /^(?(+1)X|Y)/BZ
8347  ------------------------------------------------------------------  ------------------------------------------------------------------
8348    0  20 Bra 0          Bra
8349    3     ^          ^
8350    4   8 Cond          Cond
8351    7   1 Cond ref        1 Cond ref
8352   10     X          X
8353   12   5 Alt          Alt
8354   15     Y          Y
8355   17  13 Ket          Ket
8356   20  20 Ket          Ket
8357   23     End          End
8358  ------------------------------------------------------------------  ------------------------------------------------------------------
8359      Y      Y
8360   0: Y   0: Y
# Line 8333  Failed: reference to non-existent subpat Line 8379  Failed: reference to non-existent subpat
8379   0: barbaz   0: barbaz
8380   1: foobar   1: foobar
8381    
8382    /(?<A>tom|bon)-\k{A}/
8383        tom-tom
8384     0: tom-tom
8385     1: tom
8386        bon-bon
8387     0: bon-bon
8388     1: bon
8389        ** Failers
8390    No match
8391        tom-bon
8392    No match
8393    
8394    /(?<A>tom|bon)-\g{A}/
8395        tom-tom
8396     0: tom-tom
8397     1: tom
8398        bon-bon
8399     0: bon-bon
8400     1: bon
8401    
8402    /\g{A/
8403    Failed: syntax error in subpattern name (missing terminator) at offset 4
8404    
8405    /(?|(abc)|(xyz))/BZ
8406    ------------------------------------------------------------------
8407            Bra
8408            Bra
8409            CBra 1
8410            abc
8411            Ket
8412            Alt
8413            CBra 1
8414            xyz
8415            Ket
8416            Ket
8417            Ket
8418            End
8419    ------------------------------------------------------------------
8420       >abc<
8421     0: abc
8422     1: abc
8423       >xyz<
8424     0: xyz
8425     1: xyz
8426    
8427    /(x)(?|(abc)|(xyz))(x)/BZ
8428    ------------------------------------------------------------------
8429            Bra
8430            CBra 1
8431            x
8432            Ket
8433            Bra
8434            CBra 2
8435            abc
8436            Ket
8437            Alt
8438            CBra 2
8439            xyz
8440            Ket
8441            Ket
8442            CBra 3
8443            x
8444            Ket
8445            Ket
8446            End
8447    ------------------------------------------------------------------
8448        xabcx
8449     0: xabcx
8450     1: x
8451     2: abc
8452     3: x
8453        xxyzx
8454     0: xxyzx
8455     1: x
8456     2: xyz
8457     3: x
8458    
8459    /(x)(?|(abc)(pqr)|(xyz))(x)/BZ
8460    ------------------------------------------------------------------
8461            Bra
8462            CBra 1
8463            x
8464            Ket
8465            Bra
8466            CBra 2
8467            abc
8468            Ket
8469            CBra 3
8470            pqr
8471            Ket
8472            Alt
8473            CBra 2
8474            xyz
8475            Ket
8476            Ket
8477            CBra 4
8478            x
8479            Ket
8480            Ket
8481            End
8482    ------------------------------------------------------------------
8483        xabcpqrx
8484     0: xabcpqrx
8485     1: x
8486     2: abc
8487     3: pqr
8488     4: x
8489        xxyzx
8490     0: xxyzx
8491     1: x
8492     2: xyz
8493     3: <unset>
8494     4: x
8495    
8496    /(?|(abc)|(xyz))\1/
8497        abcabc
8498     0: abcabc
8499     1: abc
8500        xyzxyz
8501     0: xyzxyz
8502     1: xyz
8503        ** Failers
8504    No match
8505        abcxyz
8506    No match
8507        xyzabc
8508    No match
8509    
8510    /(?|(abc)|(xyz))(?1)/
8511        abcabc
8512     0: abcabc
8513     1: abc
8514        xyzabc
8515     0: xyzabc
8516     1: xyz
8517        ** Failers
8518    No match
8519        xyzxyz
8520    No match
8521    
8522    /\H\h\V\v/
8523        X X\x0a
8524     0: X X\x0a
8525        X\x09X\x0b
8526     0: X\x09X\x0b
8527        ** Failers
8528    No match
8529        \xa0 X\x0a
8530    No match
8531    
8532    /\H*\h+\V?\v{3,4}/
8533        \x09\x20\xa0X\x0a\x0b\x0c\x0d\x0a
8534     0: \x09 \xa0X\x0a\x0b\x0c\x0d
8535        \x09\x20\xa0\x0a\x0b\x0c\x0d\x0a
8536     0: \x09 \xa0\x0a\x0b\x0c\x0d
8537        \x09\x20\xa0\x0a\x0b\x0c
8538     0: \x09 \xa0\x0a\x0b\x0c
8539        ** Failers
8540    No match
8541        \x09\x20\xa0\x0a\x0b
8542    No match
8543    
8544    /\H{3,4}/
8545        XY  ABCDE
8546     0: ABCD
8547        XY  PQR ST
8548     0: PQR
8549    
8550    /.\h{3,4}./
8551        XY  AB    PQRS
8552     0: B    P
8553    
8554    /\h*X\h?\H+Y\H?Z/
8555        >XNNNYZ
8556     0: XNNNYZ
8557        >  X NYQZ
8558     0:   X NYQZ
8559        ** Failers
8560    No match
8561        >XYZ
8562    No match
8563        >  X NY Z
8564    No match
8565    
8566    /\v*X\v?Y\v+Z\V*\x0a\V+\x0b\V{2,3}\x0c/
8567        >XY\x0aZ\x0aA\x0bNN\x0c
8568     0: XY\x0aZ\x0aA\x0bNN\x0c
8569        >\x0a\x0dX\x0aY\x0a\x0bZZZ\x0aAAA\x0bNNN\x0c
8570     0: \x0a\x0dX\x0aY\x0a\x0bZZZ\x0aAAA\x0bNNN\x0c
8571    
8572    /[\h]/BZ
8573    ------------------------------------------------------------------
8574            Bra
8575            [\x09 \xa0]
8576            Ket
8577            End
8578    ------------------------------------------------------------------
8579        >\x09<
8580     0: \x09
8581    
8582    /[\h]+/BZ
8583    ------------------------------------------------------------------
8584            Bra
8585            [\x09 \xa0]+
8586            Ket
8587            End
8588    ------------------------------------------------------------------
8589        >\x09\x20\xa0<
8590     0: \x09 \xa0
8591    
8592    /[\v]/BZ
8593    ------------------------------------------------------------------
8594            Bra
8595            [\x0a-\x0d\x85]
8596            Ket
8597            End
8598    ------------------------------------------------------------------
8599    
8600    /[\H]/BZ
8601    ------------------------------------------------------------------
8602            Bra
8603            [\x00-\x08\x0a-\x1f!-\x9f\xa1-\xff]
8604            Ket
8605            End
8606    ------------------------------------------------------------------
8607    
8608    /[^\h]/BZ
8609    ------------------------------------------------------------------
8610            Bra
8611            [\x00-\x08\x0a-\x1f!-\x9f\xa1-\xff] (neg)
8612            Ket
8613            End
8614    ------------------------------------------------------------------
8615    
8616    /[\V]/BZ
8617    ------------------------------------------------------------------
8618            Bra
8619            [\x00-\x09\x0e-\x84\x86-\xff]
8620            Ket
8621            End
8622    ------------------------------------------------------------------
8623    
8624    /[\x0a\V]/BZ
8625    ------------------------------------------------------------------
8626            Bra
8627            [\x00-\x0a\x0e-\x84\x86-\xff]
8628            Ket
8629            End
8630    ------------------------------------------------------------------
8631    
8632    /\H++X/BZ
8633    ------------------------------------------------------------------
8634            Bra
8635            \H++
8636            X
8637            Ket
8638            End
8639    ------------------------------------------------------------------
8640        ** Failers
8641    No match
8642        XXXX
8643    No match
8644    
8645    /\H+\hY/BZ
8646    ------------------------------------------------------------------
8647            Bra
8648            \H++
8649            \h
8650            Y
8651            Ket
8652            End
8653    ------------------------------------------------------------------
8654        XXXX Y
8655     0: XXXX Y
8656    
8657    /\H+ Y/BZ
8658    ------------------------------------------------------------------
8659            Bra
8660            \H++
8661             Y
8662            Ket
8663            End
8664    ------------------------------------------------------------------
8665    
8666    /\h+A/BZ
8667    ------------------------------------------------------------------
8668            Bra
8669            \h++
8670            A
8671            Ket
8672            End
8673    ------------------------------------------------------------------
8674    
8675    /\v*B/BZ
8676    ------------------------------------------------------------------
8677            Bra
8678            \v*+
8679            B
8680            Ket
8681            End
8682    ------------------------------------------------------------------
8683    
8684    /\V+\x0a/BZ
8685    ------------------------------------------------------------------
8686            Bra
8687            \V++
8688            \x0a
8689            Ket
8690            End
8691    ------------------------------------------------------------------
8692    
8693    /A+\h/BZ
8694    ------------------------------------------------------------------
8695            Bra
8696            A++
8697            \h
8698            Ket
8699            End
8700    ------------------------------------------------------------------
8701    
8702    / *\H/BZ
8703    ------------------------------------------------------------------
8704            Bra
8705             *+
8706            \H
8707            Ket
8708            End
8709    ------------------------------------------------------------------
8710    
8711    /A*\v/BZ
8712    ------------------------------------------------------------------
8713            Bra
8714            A*+
8715            \v
8716            Ket
8717            End
8718    ------------------------------------------------------------------
8719    
8720    /\x0b*\V/BZ
8721    ------------------------------------------------------------------
8722            Bra
8723            \x0b*+
8724            \V
8725            Ket
8726            End
8727    ------------------------------------------------------------------
8728    
8729    /\d+\h/BZ
8730    ------------------------------------------------------------------
8731            Bra
8732            \d++
8733            \h
8734            Ket
8735            End
8736    ------------------------------------------------------------------
8737    
8738    /\d*\v/BZ
8739    ------------------------------------------------------------------
8740            Bra
8741            \d*+
8742            \v
8743            Ket
8744            End
8745    ------------------------------------------------------------------
8746    
8747    /S+\h\S+\v/BZ
8748    ------------------------------------------------------------------
8749            Bra
8750            S++
8751            \h
8752            \S++
8753            \v
8754            Ket
8755            End
8756    ------------------------------------------------------------------
8757    
8758    /\w{3,}\h\w+\v/BZ
8759    ------------------------------------------------------------------
8760            Bra
8761            \w{3}
8762            \w*+
8763            \h
8764            \w++
8765            \v
8766            Ket
8767            End
8768    ------------------------------------------------------------------
8769    
8770    /\h+\d\h+\w\h+\S\h+\H/BZ
8771    ------------------------------------------------------------------
8772            Bra
8773            \h++
8774            \d
8775            \h++
8776            \w
8777            \h++
8778            \S
8779            \h++
8780            \H
8781            Ket
8782            End
8783    ------------------------------------------------------------------
8784    
8785    /\v+\d\v+\w\v+\S\v+\V/BZ
8786    ------------------------------------------------------------------
8787            Bra
8788            \v++
8789            \d
8790            \v++
8791            \w
8792            \v+
8793            \S
8794            \v++
8795            \V
8796            Ket
8797            End
8798    ------------------------------------------------------------------
8799    
8800    /\H+\h\H+\d/BZ
8801    ------------------------------------------------------------------
8802            Bra
8803            \H++
8804            \h
8805            \H+
8806            \d
8807            Ket
8808            End
8809    ------------------------------------------------------------------
8810    
8811    /\V+\v\V+\w/BZ
8812    ------------------------------------------------------------------
8813            Bra
8814            \V++
8815            \v
8816            \V+
8817            \w
8818            Ket
8819            End
8820    ------------------------------------------------------------------
8821    
8822    /\( (?: [^()]* | (?R) )* \)/x
8823    (0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(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)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)0)
8825    
8826    /[\E]AAA/
8827    Failed: missing terminating ] for character class at offset 7
8828    
8829    /[\Q\E]AAA/
8830    Failed: missing terminating ] for character class at offset 9
8831    
8832    /[^\E]AAA/
8833    Failed: missing terminating ] for character class at offset 8
8834    
8835    /[^\Q\E]AAA/
8836    Failed: missing terminating ] for character class at offset 10
8837    
8838    /[\E^]AAA/
8839    Failed: missing terminating ] for character class at offset 8
8840    
8841    /[\Q\E^]AAA/
8842    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.168  
changed lines
  Added in v.227

  ViewVC Help
Powered by ViewVC 1.1.5