/[pcre]/code/trunk/testdata/testoutput5
ViewVC logotype

Diff of /code/trunk/testdata/testoutput5

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 295 by ph10, Mon Dec 31 17:00:24 2007 UTC revision 569 by ph10, Sun Nov 7 16:14:50 2010 UTC
# Line 1  Line 1 
1    /-- This set of tests checks the API, internals, and non-Perl stuff for UTF-8
2        support, excluding Unicode properties. --/
3    
4  /\x{100}/8DZ  /\x{100}/8DZ
5  ------------------------------------------------------------------  ------------------------------------------------------------------
6          Bra          Bra
# Line 252  Need char = 171 Line 255  Need char = 171
255          End          End
256  ------------------------------------------------------------------  ------------------------------------------------------------------
257  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
258  Options: utf8  Options: utf8
259  No first char  No first char
260  Need char = 'X'  Need char = 'X'
# Line 269  Need char = 'X' Line 271  Need char = 'X'
271          End          End
272  ------------------------------------------------------------------  ------------------------------------------------------------------
273  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
274  Options: utf8  Options: utf8
275  No first char  No first char
276  No need char  No need char
277      \x{212ab}\x{212ab}\x{212ab}\x{861}      \x{212ab}\x{212ab}\x{212ab}\x{861}
278   0: \x{212ab}\x{212ab}\x{212ab}   0: \x{212ab}\x{212ab}\x{212ab}
279    
 /-- These tests are here rather than in testinput4 because Perl 5.6 has some  
 problems with UTF-8 support, in the area of \x{..} where the value is < 255.  
 It grumbles about invalid UTF-8 strings. --/  
   
 /^[a\x{c0}]b/8  
     \x{c0}b  
  0: \x{c0}b  
   
 /^([a\x{c0}]*?)aa/8  
     a\x{c0}aaaa/  
  0: a\x{c0}aa  
  1: a\x{c0}  
   
 /^([a\x{c0}]*?)aa/8  
     a\x{c0}aaaa/  
  0: a\x{c0}aa  
  1: a\x{c0}  
     a\x{c0}a\x{c0}aaa/  
  0: a\x{c0}a\x{c0}aa  
  1: a\x{c0}a\x{c0}  
   
 /^([a\x{c0}]*)aa/8  
     a\x{c0}aaaa/  
  0: a\x{c0}aaaa  
  1: a\x{c0}aa  
     a\x{c0}a\x{c0}aaa/  
  0: a\x{c0}a\x{c0}aaa  
  1: a\x{c0}a\x{c0}a  
   
 /^([a\x{c0}]*)a\x{c0}/8  
     a\x{c0}aaaa/  
  0: a\x{c0}  
  1:  
     a\x{c0}a\x{c0}aaa/  
  0: a\x{c0}a\x{c0}  
  1: a\x{c0}  
   
 /-- --/  
   
280  /(?<=\C)X/8  /(?<=\C)X/8
281  Failed: \C not allowed in lookbehind assertion at offset 6  Failed: \C not allowed in lookbehind assertion at offset 6
282    
# Line 331  can't tell the difference.) --/ Line 293  can't tell the difference.) --/
293   0: X\x{0a}abc   0: X\x{0a}abc
294   1: \x{0a}   1: \x{0a}
295   2: abc   2: abc
296    
297    /-- This one is here because Perl gives out a grumbly error message (quite
298    correctly, but that messes up comparisons). --/
299    
300    /a\Cb/8
301        *** Failers
302    No match
303        a\x{100}b
304    No match
305    
306  /^[ab]/8DZ  /^[ab]/8DZ
307  ------------------------------------------------------------------  ------------------------------------------------------------------
# Line 389  Capturing subpattern count = 0 Line 360  Capturing subpattern count = 0
360  Options: utf8  Options: utf8
361  No first char  No first char
362  No need char  No need char
363    Subject length lower bound = 1
364  Starting byte set: \x00 \x01 \x02 \x03 \x04 \x05 \x06 \x07 \x08 \x09 \x0a  Starting byte set: \x00 \x01 \x02 \x03 \x04 \x05 \x06 \x07 \x08 \x09 \x0a
365    \x0b \x0c \x0d \x0e \x0f \x10 \x11 \x12 \x13 \x14 \x15 \x16 \x17 \x18 \x19    \x0b \x0c \x0d \x0e \x0f \x10 \x11 \x12 \x13 \x14 \x15 \x16 \x17 \x18 \x19
366    \x1a \x1b \x1c \x1d \x1e \x1f \x20 ! " # $ % & ' ( ) * + , - . / 0 1 2 3 4    \x1a \x1b \x1c \x1d \x1e \x1f \x20 ! " # $ % & ' ( ) * + , - . / 0 1 2 3 4
# Line 423  No match Line 395  No match
395          End          End
396  ------------------------------------------------------------------  ------------------------------------------------------------------
397  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
398  Options: utf8  Options: utf8
399  First char = 196  First char = 196
400  Need char = 128  Need char = 128
401  Study returned NULL  Subject length lower bound = 3
402    No set of starting bytes
403    \x{100}\x{100}\x{100}\x{100\x{100}    \x{100}\x{100}\x{100}\x{100\x{100}
404   0: \x{100}\x{100}\x{100}   0: \x{100}\x{100}\x{100}
405    
# Line 443  Study returned NULL Line 415  Study returned NULL
415          End          End
416  ------------------------------------------------------------------  ------------------------------------------------------------------
417  Capturing subpattern count = 1  Capturing subpattern count = 1
 Partial matching not supported  
418  Options: utf8  Options: utf8
419  No first char  No first char
420  No need char  No need char
421    Subject length lower bound = 1
422  Starting byte set: x \xc4  Starting byte set: x \xc4
423    
424  /(\x{100}*a|x)/8SDZ  /(\x{100}*a|x)/8SDZ
# Line 462  Starting byte set: x \xc4 Line 434  Starting byte set: x \xc4
434          End          End
435  ------------------------------------------------------------------  ------------------------------------------------------------------
436  Capturing subpattern count = 1  Capturing subpattern count = 1
 Partial matching not supported  
437  Options: utf8  Options: utf8
438  No first char  No first char
439  No need char  No need char
440    Subject length lower bound = 1
441  Starting byte set: a x \xc4  Starting byte set: a x \xc4
442    
443  /(\x{100}{0,2}a|x)/8SDZ  /(\x{100}{0,2}a|x)/8SDZ
# Line 481  Starting byte set: a x \xc4 Line 453  Starting byte set: a x \xc4
453          End          End
454  ------------------------------------------------------------------  ------------------------------------------------------------------
455  Capturing subpattern count = 1  Capturing subpattern count = 1
 Partial matching not supported  
456  Options: utf8  Options: utf8
457  No first char  No first char
458  No need char  No need char
459    Subject length lower bound = 1
460  Starting byte set: a x \xc4  Starting byte set: a x \xc4
461    
462  /(\x{100}{1,2}a|x)/8SDZ  /(\x{100}{1,2}a|x)/8SDZ
# Line 501  Starting byte set: a x \xc4 Line 473  Starting byte set: a x \xc4
473          End          End
474  ------------------------------------------------------------------  ------------------------------------------------------------------
475  Capturing subpattern count = 1  Capturing subpattern count = 1
 Partial matching not supported  
476  Options: utf8  Options: utf8
477  No first char  No first char
478  No need char  No need char
479    Subject length lower bound = 1
480  Starting byte set: x \xc4  Starting byte set: x \xc4
481    
482  /\x{100}*(\d+|"(?1)")/8  /\x{100}*(\d+|"(?1)")/8
# Line 551  Need char = 128 Line 523  Need char = 128
523          End          End
524  ------------------------------------------------------------------  ------------------------------------------------------------------
525  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
526  Options: utf8  Options: utf8
527  No first char  No first char
528  No need char  No need char
# Line 565  No need char Line 536  No need char
536          End          End
537  ------------------------------------------------------------------  ------------------------------------------------------------------
538  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
539  Options: utf8  Options: utf8
540  First char = 'a'  First char = 'a'
541  No need char  No need char
# Line 579  No need char Line 549  No need char
549          End          End
550  ------------------------------------------------------------------  ------------------------------------------------------------------
551  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
552  Options: utf8  Options: utf8
553  First char = 'a'  First char = 'a'
554  Need char = 'b'  Need char = 'b'
# Line 593  Need char = 'b' Line 562  Need char = 'b'
562          End          End
563  ------------------------------------------------------------------  ------------------------------------------------------------------
564  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
565  Options: utf8  Options: utf8
566  First char = 'a'  First char = 'a'
567  Need char = 128  Need char = 128
# Line 607  Need char = 128 Line 575  Need char = 128
575          End          End
576  ------------------------------------------------------------------  ------------------------------------------------------------------
577  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
578  Options: utf8  Options: utf8
579  First char = 'a'  First char = 'a'
580  Need char = 129  Need char = 129
# Line 621  Need char = 129 Line 588  Need char = 129
588          End          End
589  ------------------------------------------------------------------  ------------------------------------------------------------------
590  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
591  Options: utf8  Options: utf8
592  No first char  No first char
593  Need char = 'A'  Need char = 'A'
# Line 640  Need char = 'A' Line 606  Need char = 'A'
606          End          End
607  ------------------------------------------------------------------  ------------------------------------------------------------------
608  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
609  Options: utf8  Options: utf8
610  No first char  No first char
611  No need char  No need char
# Line 832  No need char Line 797  No need char
797  Failed: invalid UTF-8 string at offset 2  Failed: invalid UTF-8 string at offset 2
798    
799  //8  //8
800  Failed: invalid UTF-8 string at offset 0  Failed: invalid UTF-8 string at offset 1
801    
802  /xxx/8  /xxx/8
803  Failed: invalid UTF-8 string at offset 1  Failed: invalid UTF-8 string at offset 1
# Line 858  Error -10 Line 823  Error -10
823  Error -10  Error -10
824      \?      \?
825  No match  No match
826        \xe1\x88
827    Error -10
828        \P\xe1\x88
829    Error -10
830        \P\P\xe1\x88
831    Error -25
832    
833  /anything/8  /anything/8
834      \xc0\x80      \xc0\x80
# Line 1122  Need char = 191 Line 1093  Need char = 191
1093          End          End
1094  ------------------------------------------------------------------  ------------------------------------------------------------------
1095  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
1096  Options: utf8  Options: utf8
1097  No first char  No first char
1098  No need char  No need char
# Line 1136  No need char Line 1106  No need char
1106          End          End
1107  ------------------------------------------------------------------  ------------------------------------------------------------------
1108  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
1109  Options: utf8  Options: utf8
1110  No first char  No first char
1111  No need char  No need char
# Line 1150  No need char Line 1119  No need char
1119          End          End
1120  ------------------------------------------------------------------  ------------------------------------------------------------------
1121  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
1122  Options: utf8  Options: utf8
1123  No first char  No first char
1124  No need char  No need char
# Line 1164  No need char Line 1132  No need char
1132          End          End
1133  ------------------------------------------------------------------  ------------------------------------------------------------------
1134  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
1135  Options: utf8  Options: utf8
1136  No first char  No first char
1137  No need char  No need char
# Line 1178  No need char Line 1145  No need char
1145          End          End
1146  ------------------------------------------------------------------  ------------------------------------------------------------------
1147  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
1148  Options: utf8  Options: utf8
1149  No first char  No first char
1150  No need char  No need char
# Line 1192  No need char Line 1158  No need char
1158          End          End
1159  ------------------------------------------------------------------  ------------------------------------------------------------------
1160  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
1161  Options: utf8  Options: utf8
1162  No first char  No first char
1163  No need char  No need char
# Line 1206  No need char Line 1171  No need char
1171          End          End
1172  ------------------------------------------------------------------  ------------------------------------------------------------------
1173  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
1174  Options: utf8  Options: utf8
1175  First char = 196  First char = 196
1176  Need char = 128  Need char = 128
# Line 1220  Need char = 128 Line 1184  Need char = 128
1184          End          End
1185  ------------------------------------------------------------------  ------------------------------------------------------------------
1186  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
1187  Options: utf8  Options: utf8
1188  First char = 196  First char = 196
1189  Need char = 'X'  Need char = 'X'
# Line 1234  Need char = 'X' Line 1197  Need char = 'X'
1197          End          End
1198  ------------------------------------------------------------------  ------------------------------------------------------------------
1199  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
1200  Options: utf8  Options: utf8
1201  First char = 'X'  First char = 'X'
1202  Need char = 128  Need char = 128
# Line 1608  No match Line 1570  No match
1570  /[[:a\x{100}b:]]/8  /[[:a\x{100}b:]]/8
1571  Failed: unknown POSIX class name at offset 3  Failed: unknown POSIX class name at offset 3
1572    
1573  / End of testinput5 /  /a[^]b/<JS>8
1574        a\x{1234}b
1575     0: a\x{1234}b
1576        a\nb
1577     0: a\x{0a}b
1578        ** Failers
1579    No match
1580        ab
1581    No match
1582    
1583    /a[^]+b/<JS>8
1584        aXb
1585     0: aXb
1586        a\nX\nX\x{1234}b
1587     0: a\x{0a}X\x{0a}X\x{1234}b
1588        ** Failers
1589    No match
1590        ab
1591    No match
1592    
1593    /(\x{de})\1/
1594        \x{de}\x{de}
1595     0: \xde\xde
1596     1: \xde
1597        \x{123}
1598    ** Character \x{123} is greater than 255 and UTF-8 mode is not enabled.
1599    ** Truncation will probably give the wrong result.
1600    No match
1601    
1602    /X/8f<any>
1603        A\x{1ec5}ABCXYZ
1604     0: X
1605    
1606    /(*UTF8)\x{1234}/
1607      abcd\x{1234}pqr
1608     0: \x{1234}
1609    
1610    /(*CRLF)(*UTF8)(*BSR_UNICODE)a\Rb/I
1611    Capturing subpattern count = 0
1612    Options: bsr_unicode utf8
1613    Forced newline sequence: CRLF
1614    First char = 'a'
1615    Need char = 'b'
1616    
1617    /Xa{2,4}b/8
1618        X\P
1619    Partial match: X
1620        Xa\P
1621    Partial match: Xa
1622        Xaa\P
1623    Partial match: Xaa
1624        Xaaa\P
1625    Partial match: Xaaa
1626        Xaaaa\P
1627    Partial match: Xaaaa
1628    
1629    /Xa{2,4}?b/8
1630        X\P
1631    Partial match: X
1632        Xa\P
1633    Partial match: Xa
1634        Xaa\P
1635    Partial match: Xaa
1636        Xaaa\P
1637    Partial match: Xaaa
1638        Xaaaa\P
1639    Partial match: Xaaaa
1640    
1641    /Xa{2,4}+b/8
1642        X\P
1643    Partial match: X
1644        Xa\P
1645    Partial match: Xa
1646        Xaa\P
1647    Partial match: Xaa
1648        Xaaa\P
1649    Partial match: Xaaa
1650        Xaaaa\P
1651    Partial match: Xaaaa
1652    
1653    /X\x{123}{2,4}b/8
1654        X\P
1655    Partial match: X
1656        X\x{123}\P
1657    Partial match: X\x{123}
1658        X\x{123}\x{123}\P
1659    Partial match: X\x{123}\x{123}
1660        X\x{123}\x{123}\x{123}\P
1661    Partial match: X\x{123}\x{123}\x{123}
1662        X\x{123}\x{123}\x{123}\x{123}\P
1663    Partial match: X\x{123}\x{123}\x{123}\x{123}
1664    
1665    /X\x{123}{2,4}?b/8
1666        X\P
1667    Partial match: X
1668        X\x{123}\P
1669    Partial match: X\x{123}
1670        X\x{123}\x{123}\P
1671    Partial match: X\x{123}\x{123}
1672        X\x{123}\x{123}\x{123}\P
1673    Partial match: X\x{123}\x{123}\x{123}
1674        X\x{123}\x{123}\x{123}\x{123}\P
1675    Partial match: X\x{123}\x{123}\x{123}\x{123}
1676    
1677    /X\x{123}{2,4}+b/8
1678        X\P
1679    Partial match: X
1680        X\x{123}\P
1681    Partial match: X\x{123}
1682        X\x{123}\x{123}\P
1683    Partial match: X\x{123}\x{123}
1684        X\x{123}\x{123}\x{123}\P
1685    Partial match: X\x{123}\x{123}\x{123}
1686        X\x{123}\x{123}\x{123}\x{123}\P
1687    Partial match: X\x{123}\x{123}\x{123}\x{123}
1688    
1689    /X\x{123}{2,4}b/8
1690        Xx\P
1691    No match
1692        X\x{123}x\P
1693    No match
1694        X\x{123}\x{123}x\P
1695    No match
1696        X\x{123}\x{123}\x{123}x\P
1697    No match
1698        X\x{123}\x{123}\x{123}\x{123}x\P
1699    No match
1700    
1701    /X\x{123}{2,4}?b/8
1702        Xx\P
1703    No match
1704        X\x{123}x\P
1705    No match
1706        X\x{123}\x{123}x\P
1707    No match
1708        X\x{123}\x{123}\x{123}x\P
1709    No match
1710        X\x{123}\x{123}\x{123}\x{123}x\P
1711    No match
1712    
1713    /X\x{123}{2,4}+b/8
1714        Xx\P
1715    No match
1716        X\x{123}x\P
1717    No match
1718        X\x{123}\x{123}x\P
1719    No match
1720        X\x{123}\x{123}\x{123}x\P
1721    No match
1722        X\x{123}\x{123}\x{123}\x{123}x\P
1723    No match
1724    
1725    /X\d{2,4}b/8
1726        X\P
1727    Partial match: X
1728        X3\P
1729    Partial match: X3
1730        X33\P
1731    Partial match: X33
1732        X333\P
1733    Partial match: X333
1734        X3333\P
1735    Partial match: X3333
1736    
1737    /X\d{2,4}?b/8
1738        X\P
1739    Partial match: X
1740        X3\P
1741    Partial match: X3
1742        X33\P
1743    Partial match: X33
1744        X333\P
1745    Partial match: X333
1746        X3333\P
1747    Partial match: X3333
1748    
1749    /X\d{2,4}+b/8
1750        X\P
1751    Partial match: X
1752        X3\P
1753    Partial match: X3
1754        X33\P
1755    Partial match: X33
1756        X333\P
1757    Partial match: X333
1758        X3333\P
1759    Partial match: X3333
1760    
1761    /X\D{2,4}b/8
1762        X\P
1763    Partial match: X
1764        Xa\P
1765    Partial match: Xa
1766        Xaa\P
1767    Partial match: Xaa
1768        Xaaa\P
1769    Partial match: Xaaa
1770        Xaaaa\P
1771    Partial match: Xaaaa
1772    
1773    /X\D{2,4}?b/8
1774        X\P
1775    Partial match: X
1776        Xa\P
1777    Partial match: Xa
1778        Xaa\P
1779    Partial match: Xaa
1780        Xaaa\P
1781    Partial match: Xaaa
1782        Xaaaa\P
1783    Partial match: Xaaaa
1784    
1785    /X\D{2,4}+b/8
1786        X\P
1787    Partial match: X
1788        Xa\P
1789    Partial match: Xa
1790        Xaa\P
1791    Partial match: Xaa
1792        Xaaa\P
1793    Partial match: Xaaa
1794        Xaaaa\P
1795    Partial match: Xaaaa
1796    
1797    /X\D{2,4}b/8
1798        X\P
1799    Partial match: X
1800        X\x{123}\P
1801    Partial match: X\x{123}
1802        X\x{123}\x{123}\P
1803    Partial match: X\x{123}\x{123}
1804        X\x{123}\x{123}\x{123}\P
1805    Partial match: X\x{123}\x{123}\x{123}
1806        X\x{123}\x{123}\x{123}\x{123}\P
1807    Partial match: X\x{123}\x{123}\x{123}\x{123}
1808    
1809    /X\D{2,4}?b/8
1810        X\P
1811    Partial match: X
1812        X\x{123}\P
1813    Partial match: X\x{123}
1814        X\x{123}\x{123}\P
1815    Partial match: X\x{123}\x{123}
1816        X\x{123}\x{123}\x{123}\P
1817    Partial match: X\x{123}\x{123}\x{123}
1818        X\x{123}\x{123}\x{123}\x{123}\P
1819    Partial match: X\x{123}\x{123}\x{123}\x{123}
1820    
1821    /X\D{2,4}+b/8
1822        X\P
1823    Partial match: X
1824        X\x{123}\P
1825    Partial match: X\x{123}
1826        X\x{123}\x{123}\P
1827    Partial match: X\x{123}\x{123}
1828        X\x{123}\x{123}\x{123}\P
1829    Partial match: X\x{123}\x{123}\x{123}
1830        X\x{123}\x{123}\x{123}\x{123}\P
1831    Partial match: X\x{123}\x{123}\x{123}\x{123}
1832    
1833    /X[abc]{2,4}b/8
1834        X\P
1835    Partial match: X
1836        Xa\P
1837    Partial match: Xa
1838        Xaa\P
1839    Partial match: Xaa
1840        Xaaa\P
1841    Partial match: Xaaa
1842        Xaaaa\P
1843    Partial match: Xaaaa
1844    
1845    /X[abc]{2,4}?b/8
1846        X\P
1847    Partial match: X
1848        Xa\P
1849    Partial match: Xa
1850        Xaa\P
1851    Partial match: Xaa
1852        Xaaa\P
1853    Partial match: Xaaa
1854        Xaaaa\P
1855    Partial match: Xaaaa
1856    
1857    /X[abc]{2,4}+b/8
1858        X\P
1859    Partial match: X
1860        Xa\P
1861    Partial match: Xa
1862        Xaa\P
1863    Partial match: Xaa
1864        Xaaa\P
1865    Partial match: Xaaa
1866        Xaaaa\P
1867    Partial match: Xaaaa
1868    
1869    /X[abc\x{123}]{2,4}b/8
1870        X\P
1871    Partial match: X
1872        X\x{123}\P
1873    Partial match: X\x{123}
1874        X\x{123}\x{123}\P
1875    Partial match: X\x{123}\x{123}
1876        X\x{123}\x{123}\x{123}\P
1877    Partial match: X\x{123}\x{123}\x{123}
1878        X\x{123}\x{123}\x{123}\x{123}\P
1879    Partial match: X\x{123}\x{123}\x{123}\x{123}
1880    
1881    /X[abc\x{123}]{2,4}?b/8
1882        X\P
1883    Partial match: X
1884        X\x{123}\P
1885    Partial match: X\x{123}
1886        X\x{123}\x{123}\P
1887    Partial match: X\x{123}\x{123}
1888        X\x{123}\x{123}\x{123}\P
1889    Partial match: X\x{123}\x{123}\x{123}
1890        X\x{123}\x{123}\x{123}\x{123}\P
1891    Partial match: X\x{123}\x{123}\x{123}\x{123}
1892    
1893    /X[abc\x{123}]{2,4}+b/8
1894        X\P
1895    Partial match: X
1896        X\x{123}\P
1897    Partial match: X\x{123}
1898        X\x{123}\x{123}\P
1899    Partial match: X\x{123}\x{123}
1900        X\x{123}\x{123}\x{123}\P
1901    Partial match: X\x{123}\x{123}\x{123}
1902        X\x{123}\x{123}\x{123}\x{123}\P
1903    Partial match: X\x{123}\x{123}\x{123}\x{123}
1904    
1905    /X[^a]{2,4}b/8
1906        X\P
1907    Partial match: X
1908        Xz\P
1909    Partial match: Xz
1910        Xzz\P
1911    Partial match: Xzz
1912        Xzzz\P
1913    Partial match: Xzzz
1914        Xzzzz\P
1915    Partial match: Xzzzz
1916    
1917    /X[^a]{2,4}?b/8
1918        X\P
1919    Partial match: X
1920        Xz\P
1921    Partial match: Xz
1922        Xzz\P
1923    Partial match: Xzz
1924        Xzzz\P
1925    Partial match: Xzzz
1926        Xzzzz\P
1927    Partial match: Xzzzz
1928    
1929    /X[^a]{2,4}+b/8
1930        X\P
1931    Partial match: X
1932        Xz\P
1933    Partial match: Xz
1934        Xzz\P
1935    Partial match: Xzz
1936        Xzzz\P
1937    Partial match: Xzzz
1938        Xzzzz\P
1939    Partial match: Xzzzz
1940    
1941    /X[^a]{2,4}b/8
1942        X\P
1943    Partial match: X
1944        X\x{123}\P
1945    Partial match: X\x{123}
1946        X\x{123}\x{123}\P
1947    Partial match: X\x{123}\x{123}
1948        X\x{123}\x{123}\x{123}\P
1949    Partial match: X\x{123}\x{123}\x{123}
1950        X\x{123}\x{123}\x{123}\x{123}\P
1951    Partial match: X\x{123}\x{123}\x{123}\x{123}
1952    
1953    /X[^a]{2,4}?b/8
1954        X\P
1955    Partial match: X
1956        X\x{123}\P
1957    Partial match: X\x{123}
1958        X\x{123}\x{123}\P
1959    Partial match: X\x{123}\x{123}
1960        X\x{123}\x{123}\x{123}\P
1961    Partial match: X\x{123}\x{123}\x{123}
1962        X\x{123}\x{123}\x{123}\x{123}\P
1963    Partial match: X\x{123}\x{123}\x{123}\x{123}
1964    
1965    /X[^a]{2,4}+b/8
1966        X\P
1967    Partial match: X
1968        X\x{123}\P
1969    Partial match: X\x{123}
1970        X\x{123}\x{123}\P
1971    Partial match: X\x{123}\x{123}
1972        X\x{123}\x{123}\x{123}\P
1973    Partial match: X\x{123}\x{123}\x{123}
1974        X\x{123}\x{123}\x{123}\x{123}\P
1975    Partial match: X\x{123}\x{123}\x{123}\x{123}
1976    
1977    /(Y)X\1{2,4}b/8
1978        YX\P
1979    Partial match: YX
1980        YXY\P
1981    Partial match: YXY
1982        YXYY\P
1983    Partial match: YXYY
1984        YXYYY\P
1985    Partial match: YXYYY
1986        YXYYYY\P
1987    Partial match: YXYYYY
1988    
1989    /(Y)X\1{2,4}?b/8
1990        YX\P
1991    Partial match: YX
1992        YXY\P
1993    Partial match: YXY
1994        YXYY\P
1995    Partial match: YXYY
1996        YXYYY\P
1997    Partial match: YXYYY
1998        YXYYYY\P
1999    Partial match: YXYYYY
2000    
2001    /(Y)X\1{2,4}+b/8
2002        YX\P
2003    Partial match: YX
2004        YXY\P
2005    Partial match: YXY
2006        YXYY\P
2007    Partial match: YXYY
2008        YXYYY\P
2009    Partial match: YXYYY
2010        YXYYYY\P
2011    Partial match: YXYYYY
2012    
2013    /(\x{123})X\1{2,4}b/8
2014        \x{123}X\P
2015    Partial match: \x{123}X
2016        \x{123}X\x{123}\P
2017    Partial match: \x{123}X\x{123}
2018        \x{123}X\x{123}\x{123}\P
2019    Partial match: \x{123}X\x{123}\x{123}
2020        \x{123}X\x{123}\x{123}\x{123}\P
2021    Partial match: \x{123}X\x{123}\x{123}\x{123}
2022        \x{123}X\x{123}\x{123}\x{123}\x{123}\P
2023    Partial match: \x{123}X\x{123}\x{123}\x{123}\x{123}
2024    
2025    /(\x{123})X\1{2,4}?b/8
2026        \x{123}X\P
2027    Partial match: \x{123}X
2028        \x{123}X\x{123}\P
2029    Partial match: \x{123}X\x{123}
2030        \x{123}X\x{123}\x{123}\P
2031    Partial match: \x{123}X\x{123}\x{123}
2032        \x{123}X\x{123}\x{123}\x{123}\P
2033    Partial match: \x{123}X\x{123}\x{123}\x{123}
2034        \x{123}X\x{123}\x{123}\x{123}\x{123}\P
2035    Partial match: \x{123}X\x{123}\x{123}\x{123}\x{123}
2036    
2037    /(\x{123})X\1{2,4}+b/8
2038        \x{123}X\P
2039    Partial match: \x{123}X
2040        \x{123}X\x{123}\P
2041    Partial match: \x{123}X\x{123}
2042        \x{123}X\x{123}\x{123}\P
2043    Partial match: \x{123}X\x{123}\x{123}
2044        \x{123}X\x{123}\x{123}\x{123}\P
2045    Partial match: \x{123}X\x{123}\x{123}\x{123}
2046        \x{123}X\x{123}\x{123}\x{123}\x{123}\P
2047    Partial match: \x{123}X\x{123}\x{123}\x{123}\x{123}
2048    
2049    /\bthe cat\b/8
2050        the cat\P
2051     0: the cat
2052        the cat\P\P
2053    Partial match: the cat
2054    
2055    /abcd*/8
2056        xxxxabcd\P
2057     0: abcd
2058        xxxxabcd\P\P
2059    Partial match: abcd
2060    
2061    /abcd*/i8
2062        xxxxabcd\P
2063     0: abcd
2064        xxxxabcd\P\P
2065    Partial match: abcd
2066        XXXXABCD\P
2067     0: ABCD
2068        XXXXABCD\P\P
2069    Partial match: ABCD
2070    
2071    /abc\d*/8
2072        xxxxabc1\P
2073     0: abc1
2074        xxxxabc1\P\P
2075    Partial match: abc1
2076    
2077    /(a)bc\1*/8
2078        xxxxabca\P
2079     0: abca
2080     1: a
2081        xxxxabca\P\P
2082    Partial match: abca
2083    
2084    /abc[de]*/8
2085        xxxxabcde\P
2086     0: abcde
2087        xxxxabcde\P\P
2088    Partial match: abcde
2089    
2090    /X\W{3}X/8
2091        \PX
2092    Partial match: X
2093    
2094    /\h/SI
2095    Capturing subpattern count = 0
2096    No options
2097    No first char
2098    No need char
2099    Subject length lower bound = 1
2100    Starting byte set: \x09 \x20 \xa0
2101    
2102    /\h/SI8
2103    Capturing subpattern count = 0
2104    Options: utf8
2105    No first char
2106    No need char
2107    Subject length lower bound = 1
2108    Starting byte set: \x09 \x20 \xc2 \xe1 \xe2 \xe3
2109        ABC\x{09}
2110     0: \x{09}
2111        ABC\x{20}
2112     0:
2113        ABC\x{a0}
2114     0: \x{a0}
2115        ABC\x{1680}
2116     0: \x{1680}
2117        ABC\x{180e}
2118     0: \x{180e}
2119        ABC\x{2000}
2120     0: \x{2000}
2121        ABC\x{202f}
2122     0: \x{202f}
2123        ABC\x{205f}
2124     0: \x{205f}
2125        ABC\x{3000}
2126     0: \x{3000}
2127    
2128    /\v/SI
2129    Capturing subpattern count = 0
2130    No options
2131    No first char
2132    No need char
2133    Subject length lower bound = 1
2134    Starting byte set: \x0a \x0b \x0c \x0d \x85
2135    
2136    /\v/SI8
2137    Capturing subpattern count = 0
2138    Options: utf8
2139    No first char
2140    No need char
2141    Subject length lower bound = 1
2142    Starting byte set: \x0a \x0b \x0c \x0d \xc2 \xe2
2143        ABC\x{0a}
2144     0: \x{0a}
2145        ABC\x{0b}
2146     0: \x{0b}
2147        ABC\x{0c}
2148     0: \x{0c}
2149        ABC\x{0d}
2150     0: \x{0d}
2151        ABC\x{85}
2152     0: \x{85}
2153        ABC\x{2028}
2154     0: \x{2028}
2155    
2156    /\R/SI
2157    Capturing subpattern count = 0
2158    No options
2159    No first char
2160    No need char
2161    Subject length lower bound = 2
2162    Starting byte set: \x0a \x0b \x0c \x0d \x85
2163    
2164    /\R/SI8
2165    Capturing subpattern count = 0
2166    Options: utf8
2167    No first char
2168    No need char
2169    Subject length lower bound = 2
2170    Starting byte set: \x0a \x0b \x0c \x0d \xc2 \xe2
2171    
2172    /\h*A/SI8
2173    Capturing subpattern count = 0
2174    Options: utf8
2175    No first char
2176    Need char = 'A'
2177    Subject length lower bound = 1
2178    Starting byte set: \x09 \x20 A \xc2 \xe1 \xe2 \xe3
2179        CDBABC
2180     0: A
2181    
2182    /\v+A/SI8
2183    Capturing subpattern count = 0
2184    Options: utf8
2185    No first char
2186    Need char = 'A'
2187    Subject length lower bound = 2
2188    Starting byte set: \x0a \x0b \x0c \x0d \xc2 \xe2
2189    
2190    /\s?xxx\s/8SI
2191    Capturing subpattern count = 0
2192    Options: utf8
2193    No first char
2194    Need char = 'x'
2195    Subject length lower bound = 4
2196    Starting byte set: \x09 \x0a \x0c \x0d \x20 x
2197    
2198    /\sxxx\s/8T1
2199        AB\x{85}xxx\x{a0}XYZ
2200     0: \x{85}xxx\x{a0}
2201        AB\x{a0}xxx\x{85}XYZ
2202     0: \x{a0}xxx\x{85}
2203    
2204    /\sxxx\s/I8ST1
2205    Capturing subpattern count = 0
2206    Options: utf8
2207    No first char
2208    Need char = 'x'
2209    Subject length lower bound = 5
2210    Starting byte set: \x09 \x0a \x0c \x0d \x20 \xc2
2211        AB\x{85}xxx\x{a0}XYZ
2212     0: \x{85}xxx\x{a0}
2213        AB\x{a0}xxx\x{85}XYZ
2214     0: \x{a0}xxx\x{85}
2215    
2216    /\S \S/8T1
2217        \x{a2} \x{84}
2218     0: \x{a2} \x{84}
2219    
2220    /\S \S/I8ST1
2221    Capturing subpattern count = 0
2222    Options: utf8
2223    No first char
2224    Need char = ' '
2225    Subject length lower bound = 3
2226    Starting byte set: \x00 \x01 \x02 \x03 \x04 \x05 \x06 \x07 \x08 \x0b \x0e
2227      \x0f \x10 \x11 \x12 \x13 \x14 \x15 \x16 \x17 \x18 \x19 \x1a \x1b \x1c \x1d
2228      \x1e \x1f ! " # $ % & ' ( ) * + , - . / 0 1 2 3 4 5 6 7 8 9 : ; < = > ? @
2229      A B C D E F G H I J K L M N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e
2230      f g h i j k l m n o p q r s t u v w x y z { | } ~ \x7f \xc0 \xc1 \xc2 \xc3
2231      \xc4 \xc5 \xc6 \xc7 \xc8 \xc9 \xca \xcb \xcc \xcd \xce \xcf \xd0 \xd1 \xd2
2232      \xd3 \xd4 \xd5 \xd6 \xd7 \xd8 \xd9 \xda \xdb \xdc \xdd \xde \xdf \xe0 \xe1
2233      \xe2 \xe3 \xe4 \xe5 \xe6 \xe7 \xe8 \xe9 \xea \xeb \xec \xed \xee \xef \xf0
2234      \xf1 \xf2 \xf3 \xf4 \xf5 \xf6 \xf7 \xf8 \xf9 \xfa \xfb \xfc \xfd \xfe \xff
2235        \x{a2} \x{84}
2236     0: \x{a2} \x{84}
2237        A Z
2238     0: A Z
2239    
2240    'A#хц'8x<any>BZ
2241    ------------------------------------------------------------------
2242            Bra
2243            A
2244            Ket
2245            End
2246    ------------------------------------------------------------------
2247    
2248    'A#хц
2249      PQ'8x<any>BZ
2250    ------------------------------------------------------------------
2251            Bra
2252            APQ
2253            Ket
2254            End
2255    ------------------------------------------------------------------
2256    
2257    /a+#хaa
2258      z#XX?/8x<any>BZ
2259    ------------------------------------------------------------------
2260            Bra
2261            a++
2262            z
2263            Ket
2264            End
2265    ------------------------------------------------------------------
2266    
2267    /a+#хaa
2268      z#х?/8x<any>BZ
2269    ------------------------------------------------------------------
2270            Bra
2271            a++
2272            z
2273            Ket
2274            End
2275    ------------------------------------------------------------------
2276    
2277    /\g{A}xxx#bXX(?'A'123) (?'A'456)/8x<any>BZ
2278    ------------------------------------------------------------------
2279            Bra
2280            \1
2281            xxx
2282            CBra 1
2283            456
2284            Ket
2285            Ket
2286            End
2287    ------------------------------------------------------------------
2288    
2289    /\g{A}xxx#bх(?'A'123) (?'A'456)/8x<any>BZ
2290    ------------------------------------------------------------------
2291            Bra
2292            \1
2293            xxx
2294            CBra 1
2295            456
2296            Ket
2297            Ket
2298            End
2299    ------------------------------------------------------------------
2300    
2301    /a+/8
2302        a\x{123}aa\>1
2303     0: aa
2304        a\x{123}aa\>2
2305    Error -11
2306        a\x{123}aa\>3
2307     0: aa
2308        a\x{123}aa\>4
2309     0: a
2310        a\x{123}aa\>5
2311    No match
2312        a\x{123}aa\>6
2313    Error -24
2314    
2315    /-- End of testinput5 --/

Legend:
Removed from v.295  
changed lines
  Added in v.569

  ViewVC Help
Powered by ViewVC 1.1.5