/[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 560 by ph10, Wed Oct 27 09:59:43 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 1122  Need char = 191 Line 1087  Need char = 191
1087          End          End
1088  ------------------------------------------------------------------  ------------------------------------------------------------------
1089  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
1090  Options: utf8  Options: utf8
1091  No first char  No first char
1092  No need char  No need char
# Line 1136  No need char Line 1100  No need char
1100          End          End
1101  ------------------------------------------------------------------  ------------------------------------------------------------------
1102  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
1103  Options: utf8  Options: utf8
1104  No first char  No first char
1105  No need char  No need char
# Line 1150  No need char Line 1113  No need char
1113          End          End
1114  ------------------------------------------------------------------  ------------------------------------------------------------------
1115  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
1116  Options: utf8  Options: utf8
1117  No first char  No first char
1118  No need char  No need char
# Line 1164  No need char Line 1126  No need char
1126          End          End
1127  ------------------------------------------------------------------  ------------------------------------------------------------------
1128  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
1129  Options: utf8  Options: utf8
1130  No first char  No first char
1131  No need char  No need char
# Line 1178  No need char Line 1139  No need char
1139          End          End
1140  ------------------------------------------------------------------  ------------------------------------------------------------------
1141  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
1142  Options: utf8  Options: utf8
1143  No first char  No first char
1144  No need char  No need char
# Line 1192  No need char Line 1152  No need char
1152          End          End
1153  ------------------------------------------------------------------  ------------------------------------------------------------------
1154  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
1155  Options: utf8  Options: utf8
1156  No first char  No first char
1157  No need char  No need char
# Line 1206  No need char Line 1165  No need char
1165          End          End
1166  ------------------------------------------------------------------  ------------------------------------------------------------------
1167  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
1168  Options: utf8  Options: utf8
1169  First char = 196  First char = 196
1170  Need char = 128  Need char = 128
# Line 1220  Need char = 128 Line 1178  Need char = 128
1178          End          End
1179  ------------------------------------------------------------------  ------------------------------------------------------------------
1180  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
1181  Options: utf8  Options: utf8
1182  First char = 196  First char = 196
1183  Need char = 'X'  Need char = 'X'
# Line 1234  Need char = 'X' Line 1191  Need char = 'X'
1191          End          End
1192  ------------------------------------------------------------------  ------------------------------------------------------------------
1193  Capturing subpattern count = 0  Capturing subpattern count = 0
 Partial matching not supported  
1194  Options: utf8  Options: utf8
1195  First char = 'X'  First char = 'X'
1196  Need char = 128  Need char = 128
# Line 1608  No match Line 1564  No match
1564  /[[:a\x{100}b:]]/8  /[[:a\x{100}b:]]/8
1565  Failed: unknown POSIX class name at offset 3  Failed: unknown POSIX class name at offset 3
1566    
1567  / End of testinput5 /  /a[^]b/<JS>8
1568        a\x{1234}b
1569     0: a\x{1234}b
1570        a\nb
1571     0: a\x{0a}b
1572        ** Failers
1573    No match
1574        ab
1575    No match
1576    
1577    /a[^]+b/<JS>8
1578        aXb
1579     0: aXb
1580        a\nX\nX\x{1234}b
1581     0: a\x{0a}X\x{0a}X\x{1234}b
1582        ** Failers
1583    No match
1584        ab
1585    No match
1586    
1587    /(\x{de})\1/
1588        \x{de}\x{de}
1589     0: \xde\xde
1590     1: \xde
1591        \x{123}
1592    ** Character \x{123} is greater than 255 and UTF-8 mode is not enabled.
1593    ** Truncation will probably give the wrong result.
1594    No match
1595    
1596    /X/8f<any>
1597        A\x{1ec5}ABCXYZ
1598     0: X
1599    
1600    /(*UTF8)\x{1234}/
1601      abcd\x{1234}pqr
1602     0: \x{1234}
1603    
1604    /(*CRLF)(*UTF8)(*BSR_UNICODE)a\Rb/I
1605    Capturing subpattern count = 0
1606    Options: bsr_unicode utf8
1607    Forced newline sequence: CRLF
1608    First char = 'a'
1609    Need char = 'b'
1610    
1611    /Xa{2,4}b/8
1612        X\P
1613    Partial match: X
1614        Xa\P
1615    Partial match: Xa
1616        Xaa\P
1617    Partial match: Xaa
1618        Xaaa\P
1619    Partial match: Xaaa
1620        Xaaaa\P
1621    Partial match: Xaaaa
1622    
1623    /Xa{2,4}?b/8
1624        X\P
1625    Partial match: X
1626        Xa\P
1627    Partial match: Xa
1628        Xaa\P
1629    Partial match: Xaa
1630        Xaaa\P
1631    Partial match: Xaaa
1632        Xaaaa\P
1633    Partial match: Xaaaa
1634    
1635    /Xa{2,4}+b/8
1636        X\P
1637    Partial match: X
1638        Xa\P
1639    Partial match: Xa
1640        Xaa\P
1641    Partial match: Xaa
1642        Xaaa\P
1643    Partial match: Xaaa
1644        Xaaaa\P
1645    Partial match: Xaaaa
1646    
1647    /X\x{123}{2,4}b/8
1648        X\P
1649    Partial match: X
1650        X\x{123}\P
1651    Partial match: X\x{123}
1652        X\x{123}\x{123}\P
1653    Partial match: X\x{123}\x{123}
1654        X\x{123}\x{123}\x{123}\P
1655    Partial match: X\x{123}\x{123}\x{123}
1656        X\x{123}\x{123}\x{123}\x{123}\P
1657    Partial match: X\x{123}\x{123}\x{123}\x{123}
1658    
1659    /X\x{123}{2,4}?b/8
1660        X\P
1661    Partial match: X
1662        X\x{123}\P
1663    Partial match: X\x{123}
1664        X\x{123}\x{123}\P
1665    Partial match: X\x{123}\x{123}
1666        X\x{123}\x{123}\x{123}\P
1667    Partial match: X\x{123}\x{123}\x{123}
1668        X\x{123}\x{123}\x{123}\x{123}\P
1669    Partial match: X\x{123}\x{123}\x{123}\x{123}
1670    
1671    /X\x{123}{2,4}+b/8
1672        X\P
1673    Partial match: X
1674        X\x{123}\P
1675    Partial match: X\x{123}
1676        X\x{123}\x{123}\P
1677    Partial match: X\x{123}\x{123}
1678        X\x{123}\x{123}\x{123}\P
1679    Partial match: X\x{123}\x{123}\x{123}
1680        X\x{123}\x{123}\x{123}\x{123}\P
1681    Partial match: X\x{123}\x{123}\x{123}\x{123}
1682    
1683    /X\x{123}{2,4}b/8
1684        Xx\P
1685    No match
1686        X\x{123}x\P
1687    No match
1688        X\x{123}\x{123}x\P
1689    No match
1690        X\x{123}\x{123}\x{123}x\P
1691    No match
1692        X\x{123}\x{123}\x{123}\x{123}x\P
1693    No match
1694    
1695    /X\x{123}{2,4}?b/8
1696        Xx\P
1697    No match
1698        X\x{123}x\P
1699    No match
1700        X\x{123}\x{123}x\P
1701    No match
1702        X\x{123}\x{123}\x{123}x\P
1703    No match
1704        X\x{123}\x{123}\x{123}\x{123}x\P
1705    No match
1706    
1707    /X\x{123}{2,4}+b/8
1708        Xx\P
1709    No match
1710        X\x{123}x\P
1711    No match
1712        X\x{123}\x{123}x\P
1713    No match
1714        X\x{123}\x{123}\x{123}x\P
1715    No match
1716        X\x{123}\x{123}\x{123}\x{123}x\P
1717    No match
1718    
1719    /X\d{2,4}b/8
1720        X\P
1721    Partial match: X
1722        X3\P
1723    Partial match: X3
1724        X33\P
1725    Partial match: X33
1726        X333\P
1727    Partial match: X333
1728        X3333\P
1729    Partial match: X3333
1730    
1731    /X\d{2,4}?b/8
1732        X\P
1733    Partial match: X
1734        X3\P
1735    Partial match: X3
1736        X33\P
1737    Partial match: X33
1738        X333\P
1739    Partial match: X333
1740        X3333\P
1741    Partial match: X3333
1742    
1743    /X\d{2,4}+b/8
1744        X\P
1745    Partial match: X
1746        X3\P
1747    Partial match: X3
1748        X33\P
1749    Partial match: X33
1750        X333\P
1751    Partial match: X333
1752        X3333\P
1753    Partial match: X3333
1754    
1755    /X\D{2,4}b/8
1756        X\P
1757    Partial match: X
1758        Xa\P
1759    Partial match: Xa
1760        Xaa\P
1761    Partial match: Xaa
1762        Xaaa\P
1763    Partial match: Xaaa
1764        Xaaaa\P
1765    Partial match: Xaaaa
1766    
1767    /X\D{2,4}?b/8
1768        X\P
1769    Partial match: X
1770        Xa\P
1771    Partial match: Xa
1772        Xaa\P
1773    Partial match: Xaa
1774        Xaaa\P
1775    Partial match: Xaaa
1776        Xaaaa\P
1777    Partial match: Xaaaa
1778    
1779    /X\D{2,4}+b/8
1780        X\P
1781    Partial match: X
1782        Xa\P
1783    Partial match: Xa
1784        Xaa\P
1785    Partial match: Xaa
1786        Xaaa\P
1787    Partial match: Xaaa
1788        Xaaaa\P
1789    Partial match: Xaaaa
1790    
1791    /X\D{2,4}b/8
1792        X\P
1793    Partial match: X
1794        X\x{123}\P
1795    Partial match: X\x{123}
1796        X\x{123}\x{123}\P
1797    Partial match: X\x{123}\x{123}
1798        X\x{123}\x{123}\x{123}\P
1799    Partial match: X\x{123}\x{123}\x{123}
1800        X\x{123}\x{123}\x{123}\x{123}\P
1801    Partial match: X\x{123}\x{123}\x{123}\x{123}
1802    
1803    /X\D{2,4}?b/8
1804        X\P
1805    Partial match: X
1806        X\x{123}\P
1807    Partial match: X\x{123}
1808        X\x{123}\x{123}\P
1809    Partial match: X\x{123}\x{123}
1810        X\x{123}\x{123}\x{123}\P
1811    Partial match: X\x{123}\x{123}\x{123}
1812        X\x{123}\x{123}\x{123}\x{123}\P
1813    Partial match: X\x{123}\x{123}\x{123}\x{123}
1814    
1815    /X\D{2,4}+b/8
1816        X\P
1817    Partial match: X
1818        X\x{123}\P
1819    Partial match: X\x{123}
1820        X\x{123}\x{123}\P
1821    Partial match: X\x{123}\x{123}
1822        X\x{123}\x{123}\x{123}\P
1823    Partial match: X\x{123}\x{123}\x{123}
1824        X\x{123}\x{123}\x{123}\x{123}\P
1825    Partial match: X\x{123}\x{123}\x{123}\x{123}
1826    
1827    /X[abc]{2,4}b/8
1828        X\P
1829    Partial match: X
1830        Xa\P
1831    Partial match: Xa
1832        Xaa\P
1833    Partial match: Xaa
1834        Xaaa\P
1835    Partial match: Xaaa
1836        Xaaaa\P
1837    Partial match: Xaaaa
1838    
1839    /X[abc]{2,4}?b/8
1840        X\P
1841    Partial match: X
1842        Xa\P
1843    Partial match: Xa
1844        Xaa\P
1845    Partial match: Xaa
1846        Xaaa\P
1847    Partial match: Xaaa
1848        Xaaaa\P
1849    Partial match: Xaaaa
1850    
1851    /X[abc]{2,4}+b/8
1852        X\P
1853    Partial match: X
1854        Xa\P
1855    Partial match: Xa
1856        Xaa\P
1857    Partial match: Xaa
1858        Xaaa\P
1859    Partial match: Xaaa
1860        Xaaaa\P
1861    Partial match: Xaaaa
1862    
1863    /X[abc\x{123}]{2,4}b/8
1864        X\P
1865    Partial match: X
1866        X\x{123}\P
1867    Partial match: X\x{123}
1868        X\x{123}\x{123}\P
1869    Partial match: X\x{123}\x{123}
1870        X\x{123}\x{123}\x{123}\P
1871    Partial match: X\x{123}\x{123}\x{123}
1872        X\x{123}\x{123}\x{123}\x{123}\P
1873    Partial match: X\x{123}\x{123}\x{123}\x{123}
1874    
1875    /X[abc\x{123}]{2,4}?b/8
1876        X\P
1877    Partial match: X
1878        X\x{123}\P
1879    Partial match: X\x{123}
1880        X\x{123}\x{123}\P
1881    Partial match: X\x{123}\x{123}
1882        X\x{123}\x{123}\x{123}\P
1883    Partial match: X\x{123}\x{123}\x{123}
1884        X\x{123}\x{123}\x{123}\x{123}\P
1885    Partial match: X\x{123}\x{123}\x{123}\x{123}
1886    
1887    /X[abc\x{123}]{2,4}+b/8
1888        X\P
1889    Partial match: X
1890        X\x{123}\P
1891    Partial match: X\x{123}
1892        X\x{123}\x{123}\P
1893    Partial match: X\x{123}\x{123}
1894        X\x{123}\x{123}\x{123}\P
1895    Partial match: X\x{123}\x{123}\x{123}
1896        X\x{123}\x{123}\x{123}\x{123}\P
1897    Partial match: X\x{123}\x{123}\x{123}\x{123}
1898    
1899    /X[^a]{2,4}b/8
1900        X\P
1901    Partial match: X
1902        Xz\P
1903    Partial match: Xz
1904        Xzz\P
1905    Partial match: Xzz
1906        Xzzz\P
1907    Partial match: Xzzz
1908        Xzzzz\P
1909    Partial match: Xzzzz
1910    
1911    /X[^a]{2,4}?b/8
1912        X\P
1913    Partial match: X
1914        Xz\P
1915    Partial match: Xz
1916        Xzz\P
1917    Partial match: Xzz
1918        Xzzz\P
1919    Partial match: Xzzz
1920        Xzzzz\P
1921    Partial match: Xzzzz
1922    
1923    /X[^a]{2,4}+b/8
1924        X\P
1925    Partial match: X
1926        Xz\P
1927    Partial match: Xz
1928        Xzz\P
1929    Partial match: Xzz
1930        Xzzz\P
1931    Partial match: Xzzz
1932        Xzzzz\P
1933    Partial match: Xzzzz
1934    
1935    /X[^a]{2,4}b/8
1936        X\P
1937    Partial match: X
1938        X\x{123}\P
1939    Partial match: X\x{123}
1940        X\x{123}\x{123}\P
1941    Partial match: X\x{123}\x{123}
1942        X\x{123}\x{123}\x{123}\P
1943    Partial match: X\x{123}\x{123}\x{123}
1944        X\x{123}\x{123}\x{123}\x{123}\P
1945    Partial match: X\x{123}\x{123}\x{123}\x{123}
1946    
1947    /X[^a]{2,4}?b/8
1948        X\P
1949    Partial match: X
1950        X\x{123}\P
1951    Partial match: X\x{123}
1952        X\x{123}\x{123}\P
1953    Partial match: X\x{123}\x{123}
1954        X\x{123}\x{123}\x{123}\P
1955    Partial match: X\x{123}\x{123}\x{123}
1956        X\x{123}\x{123}\x{123}\x{123}\P
1957    Partial match: X\x{123}\x{123}\x{123}\x{123}
1958    
1959    /X[^a]{2,4}+b/8
1960        X\P
1961    Partial match: X
1962        X\x{123}\P
1963    Partial match: X\x{123}
1964        X\x{123}\x{123}\P
1965    Partial match: X\x{123}\x{123}
1966        X\x{123}\x{123}\x{123}\P
1967    Partial match: X\x{123}\x{123}\x{123}
1968        X\x{123}\x{123}\x{123}\x{123}\P
1969    Partial match: X\x{123}\x{123}\x{123}\x{123}
1970    
1971    /(Y)X\1{2,4}b/8
1972        YX\P
1973    Partial match: YX
1974        YXY\P
1975    Partial match: YXY
1976        YXYY\P
1977    Partial match: YXYY
1978        YXYYY\P
1979    Partial match: YXYYY
1980        YXYYYY\P
1981    Partial match: YXYYYY
1982    
1983    /(Y)X\1{2,4}?b/8
1984        YX\P
1985    Partial match: YX
1986        YXY\P
1987    Partial match: YXY
1988        YXYY\P
1989    Partial match: YXYY
1990        YXYYY\P
1991    Partial match: YXYYY
1992        YXYYYY\P
1993    Partial match: YXYYYY
1994    
1995    /(Y)X\1{2,4}+b/8
1996        YX\P
1997    Partial match: YX
1998        YXY\P
1999    Partial match: YXY
2000        YXYY\P
2001    Partial match: YXYY
2002        YXYYY\P
2003    Partial match: YXYYY
2004        YXYYYY\P
2005    Partial match: YXYYYY
2006    
2007    /(\x{123})X\1{2,4}b/8
2008        \x{123}X\P
2009    Partial match: \x{123}X
2010        \x{123}X\x{123}\P
2011    Partial match: \x{123}X\x{123}
2012        \x{123}X\x{123}\x{123}\P
2013    Partial match: \x{123}X\x{123}\x{123}
2014        \x{123}X\x{123}\x{123}\x{123}\P
2015    Partial match: \x{123}X\x{123}\x{123}\x{123}
2016        \x{123}X\x{123}\x{123}\x{123}\x{123}\P
2017    Partial match: \x{123}X\x{123}\x{123}\x{123}\x{123}
2018    
2019    /(\x{123})X\1{2,4}?b/8
2020        \x{123}X\P
2021    Partial match: \x{123}X
2022        \x{123}X\x{123}\P
2023    Partial match: \x{123}X\x{123}
2024        \x{123}X\x{123}\x{123}\P
2025    Partial match: \x{123}X\x{123}\x{123}
2026        \x{123}X\x{123}\x{123}\x{123}\P
2027    Partial match: \x{123}X\x{123}\x{123}\x{123}
2028        \x{123}X\x{123}\x{123}\x{123}\x{123}\P
2029    Partial match: \x{123}X\x{123}\x{123}\x{123}\x{123}
2030    
2031    /(\x{123})X\1{2,4}+b/8
2032        \x{123}X\P
2033    Partial match: \x{123}X
2034        \x{123}X\x{123}\P
2035    Partial match: \x{123}X\x{123}
2036        \x{123}X\x{123}\x{123}\P
2037    Partial match: \x{123}X\x{123}\x{123}
2038        \x{123}X\x{123}\x{123}\x{123}\P
2039    Partial match: \x{123}X\x{123}\x{123}\x{123}
2040        \x{123}X\x{123}\x{123}\x{123}\x{123}\P
2041    Partial match: \x{123}X\x{123}\x{123}\x{123}\x{123}
2042    
2043    /\bthe cat\b/8
2044        the cat\P
2045     0: the cat
2046        the cat\P\P
2047    Partial match: the cat
2048    
2049    /abcd*/8
2050        xxxxabcd\P
2051     0: abcd
2052        xxxxabcd\P\P
2053    Partial match: abcd
2054    
2055    /abcd*/i8
2056        xxxxabcd\P
2057     0: abcd
2058        xxxxabcd\P\P
2059    Partial match: abcd
2060        XXXXABCD\P
2061     0: ABCD
2062        XXXXABCD\P\P
2063    Partial match: ABCD
2064    
2065    /abc\d*/8
2066        xxxxabc1\P
2067     0: abc1
2068        xxxxabc1\P\P
2069    Partial match: abc1
2070    
2071    /(a)bc\1*/8
2072        xxxxabca\P
2073     0: abca
2074     1: a
2075        xxxxabca\P\P
2076    Partial match: abca
2077    
2078    /abc[de]*/8
2079        xxxxabcde\P
2080     0: abcde
2081        xxxxabcde\P\P
2082    Partial match: abcde
2083    
2084    /X\W{3}X/8
2085        \PX
2086    Partial match: X
2087    
2088    /\h/SI
2089    Capturing subpattern count = 0
2090    No options
2091    No first char
2092    No need char
2093    Subject length lower bound = 1
2094    Starting byte set: \x09 \x20 \xa0
2095    
2096    /\h/SI8
2097    Capturing subpattern count = 0
2098    Options: utf8
2099    No first char
2100    No need char
2101    Subject length lower bound = 1
2102    Starting byte set: \x09 \x20 \xc2 \xe1 \xe2 \xe3
2103        ABC\x{09}
2104     0: \x{09}
2105        ABC\x{20}
2106     0:
2107        ABC\x{a0}
2108     0: \x{a0}
2109        ABC\x{1680}
2110     0: \x{1680}
2111        ABC\x{180e}
2112     0: \x{180e}
2113        ABC\x{2000}
2114     0: \x{2000}
2115        ABC\x{202f}
2116     0: \x{202f}
2117        ABC\x{205f}
2118     0: \x{205f}
2119        ABC\x{3000}
2120     0: \x{3000}
2121    
2122    /\v/SI
2123    Capturing subpattern count = 0
2124    No options
2125    No first char
2126    No need char
2127    Subject length lower bound = 1
2128    Starting byte set: \x0a \x0b \x0c \x0d \x85
2129    
2130    /\v/SI8
2131    Capturing subpattern count = 0
2132    Options: utf8
2133    No first char
2134    No need char
2135    Subject length lower bound = 1
2136    Starting byte set: \x0a \x0b \x0c \x0d \xc2 \xe2
2137        ABC\x{0a}
2138     0: \x{0a}
2139        ABC\x{0b}
2140     0: \x{0b}
2141        ABC\x{0c}
2142     0: \x{0c}
2143        ABC\x{0d}
2144     0: \x{0d}
2145        ABC\x{85}
2146     0: \x{85}
2147        ABC\x{2028}
2148     0: \x{2028}
2149    
2150    /\R/SI
2151    Capturing subpattern count = 0
2152    No options
2153    No first char
2154    No need char
2155    Subject length lower bound = 2
2156    Starting byte set: \x0a \x0b \x0c \x0d \x85
2157    
2158    /\R/SI8
2159    Capturing subpattern count = 0
2160    Options: utf8
2161    No first char
2162    No need char
2163    Subject length lower bound = 2
2164    Starting byte set: \x0a \x0b \x0c \x0d \xc2 \xe2
2165    
2166    /\h*A/SI8
2167    Capturing subpattern count = 0
2168    Options: utf8
2169    No first char
2170    Need char = 'A'
2171    Subject length lower bound = 1
2172    Starting byte set: \x09 \x20 A \xc2 \xe1 \xe2 \xe3
2173        CDBABC
2174     0: A
2175    
2176    /\v+A/SI8
2177    Capturing subpattern count = 0
2178    Options: utf8
2179    No first char
2180    Need char = 'A'
2181    Subject length lower bound = 2
2182    Starting byte set: \x0a \x0b \x0c \x0d \xc2 \xe2
2183    
2184    /\s?xxx\s/8SI
2185    Capturing subpattern count = 0
2186    Options: utf8
2187    No first char
2188    Need char = 'x'
2189    Subject length lower bound = 4
2190    Starting byte set: \x09 \x0a \x0c \x0d \x20 x
2191    
2192    /\sxxx\s/8T1
2193        AB\x{85}xxx\x{a0}XYZ
2194     0: \x{85}xxx\x{a0}
2195        AB\x{a0}xxx\x{85}XYZ
2196     0: \x{a0}xxx\x{85}
2197    
2198    /\sxxx\s/I8ST1
2199    Capturing subpattern count = 0
2200    Options: utf8
2201    No first char
2202    Need char = 'x'
2203    Subject length lower bound = 5
2204    Starting byte set: \x09 \x0a \x0c \x0d \x20 \xc2
2205        AB\x{85}xxx\x{a0}XYZ
2206     0: \x{85}xxx\x{a0}
2207        AB\x{a0}xxx\x{85}XYZ
2208     0: \x{a0}xxx\x{85}
2209    
2210    /\S \S/8T1
2211        \x{a2} \x{84}
2212     0: \x{a2} \x{84}
2213    
2214    /\S \S/I8ST1
2215    Capturing subpattern count = 0
2216    Options: utf8
2217    No first char
2218    Need char = ' '
2219    Subject length lower bound = 3
2220    Starting byte set: \x00 \x01 \x02 \x03 \x04 \x05 \x06 \x07 \x08 \x0b \x0e
2221      \x0f \x10 \x11 \x12 \x13 \x14 \x15 \x16 \x17 \x18 \x19 \x1a \x1b \x1c \x1d
2222      \x1e \x1f ! " # $ % & ' ( ) * + , - . / 0 1 2 3 4 5 6 7 8 9 : ; < = > ? @
2223      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
2224      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
2225      \xc4 \xc5 \xc6 \xc7 \xc8 \xc9 \xca \xcb \xcc \xcd \xce \xcf \xd0 \xd1 \xd2
2226      \xd3 \xd4 \xd5 \xd6 \xd7 \xd8 \xd9 \xda \xdb \xdc \xdd \xde \xdf \xe0 \xe1
2227      \xe2 \xe3 \xe4 \xe5 \xe6 \xe7 \xe8 \xe9 \xea \xeb \xec \xed \xee \xef \xf0
2228      \xf1 \xf2 \xf3 \xf4 \xf5 \xf6 \xf7 \xf8 \xf9 \xfa \xfb \xfc \xfd \xfe \xff
2229        \x{a2} \x{84}
2230     0: \x{a2} \x{84}
2231        A Z
2232     0: A Z
2233    
2234    'A#хц'8x<any>BZ
2235    ------------------------------------------------------------------
2236            Bra
2237            A
2238            Ket
2239            End
2240    ------------------------------------------------------------------
2241    
2242    'A#хц
2243      PQ'8x<any>BZ
2244    ------------------------------------------------------------------
2245            Bra
2246            APQ
2247            Ket
2248            End
2249    ------------------------------------------------------------------
2250    
2251    /a+#хaa
2252      z#XX?/8x<any>BZ
2253    ------------------------------------------------------------------
2254            Bra
2255            a++
2256            z
2257            Ket
2258            End
2259    ------------------------------------------------------------------
2260    
2261    /a+#хaa
2262      z#х?/8x<any>BZ
2263    ------------------------------------------------------------------
2264            Bra
2265            a++
2266            z
2267            Ket
2268            End
2269    ------------------------------------------------------------------
2270    
2271    /\g{A}xxx#bXX(?'A'123) (?'A'456)/8x<any>BZ
2272    ------------------------------------------------------------------
2273            Bra
2274            \1
2275            xxx
2276            CBra 1
2277            456
2278            Ket
2279            Ket
2280            End
2281    ------------------------------------------------------------------
2282    
2283    /\g{A}xxx#bх(?'A'123) (?'A'456)/8x<any>BZ
2284    ------------------------------------------------------------------
2285            Bra
2286            \1
2287            xxx
2288            CBra 1
2289            456
2290            Ket
2291            Ket
2292            End
2293    ------------------------------------------------------------------
2294    
2295    /-- End of testinput5 --/

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

  ViewVC Help
Powered by ViewVC 1.1.5