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

Diff of /code/trunk/testdata/testoutput6

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

revision 87 by nigel, Sat Feb 24 21:41:21 2007 UTC revision 285 by ph10, Wed Dec 12 17:03:50 2007 UTC
# Line 99  No match Line 99  No match
99  No match  No match
100    
101  /^\p{Cs}/8  /^\p{Cs}/8
102      \x{dfff}      \?\x{dfff}
103   0: \x{dfff}   0: \x{dfff}
104      ** Failers      ** Failers
105  No match  No match
# Line 113  No match Line 113  No match
113  No match  No match
114      Z      Z
115  No match  No match
116      \x{dfff}      \x{e000}
117  No match  No match
118    
119  /^\p{Lm}/8  /^\p{Lm}/8
# Line 548  No match Line 548  No match
548      WXYZ      WXYZ
549  No match  No match
550    
551  /[\p{L}]/D  /[\p{L}]/DZ
552  ------------------------------------------------------------------  ------------------------------------------------------------------
553    0  11 Bra 0          Bra
554    3     [\p{L}]          [\p{L}]
555   11  11 Ket          Ket
556   14     End          End
557  ------------------------------------------------------------------  ------------------------------------------------------------------
558  Capturing subpattern count = 0  Capturing subpattern count = 0
559  No options  No options
560  No first char  No first char
561  No need char  No need char
562    
563  /[\p{^L}]/D  /[\p{^L}]/DZ
564  ------------------------------------------------------------------  ------------------------------------------------------------------
565    0  11 Bra 0          Bra
566    3     [\P{L}]          [\P{L}]
567   11  11 Ket          Ket
568   14     End          End
569  ------------------------------------------------------------------  ------------------------------------------------------------------
570  Capturing subpattern count = 0  Capturing subpattern count = 0
571  No options  No options
572  No first char  No first char
573  No need char  No need char
574    
575  /[\P{L}]/D  /[\P{L}]/DZ
576  ------------------------------------------------------------------  ------------------------------------------------------------------
577    0  11 Bra 0          Bra
578    3     [\P{L}]          [\P{L}]
579   11  11 Ket          Ket
580   14     End          End
581  ------------------------------------------------------------------  ------------------------------------------------------------------
582  Capturing subpattern count = 0  Capturing subpattern count = 0
583  No options  No options
584  No first char  No first char
585  No need char  No need char
586    
587  /[\P{^L}]/D  /[\P{^L}]/DZ
588  ------------------------------------------------------------------  ------------------------------------------------------------------
589    0  11 Bra 0          Bra
590    3     [\p{L}]          [\p{L}]
591   11  11 Ket          Ket
592   14     End          End
593  ------------------------------------------------------------------  ------------------------------------------------------------------
594  Capturing subpattern count = 0  Capturing subpattern count = 0
595  No options  No options
596  No first char  No first char
597  No need char  No need char
598    
599  /[abc\p{L}\x{0660}]/8D  /[abc\p{L}\x{0660}]/8DZ
600  ------------------------------------------------------------------  ------------------------------------------------------------------
601    0  46 Bra 0          Bra
602    3     [a-c\p{L}\x{660}]          [a-c\p{L}\x{660}]
603   46  46 Ket          Ket
604   49     End          End
605  ------------------------------------------------------------------  ------------------------------------------------------------------
606  Capturing subpattern count = 0  Capturing subpattern count = 0
607  Options: utf8  Options: utf8
608  No first char  No first char
609  No need char  No need char
610    
611  /[\p{Nd}]/8DM  /[\p{Nd}]/8DZ
 Memory allocation (code space): 47  
612  ------------------------------------------------------------------  ------------------------------------------------------------------
613    0  11 Bra 0          Bra
614    3     [\p{Nd}]          [\p{Nd}]
615   11  11 Ket          Ket
616   14     End          End
617  ------------------------------------------------------------------  ------------------------------------------------------------------
618  Capturing subpattern count = 0  Capturing subpattern count = 0
619  Options: utf8  Options: utf8
# Line 623  No need char Line 622  No need char
622      1234      1234
623   0: 1   0: 1
624    
625  /[\p{Nd}+-]+/8DM  /[\p{Nd}+-]+/8DZ
 Memory allocation (code space): 48  
626  ------------------------------------------------------------------  ------------------------------------------------------------------
627    0  44 Bra 0          Bra
628    3     [+\-\p{Nd}]+          [+\-\p{Nd}]+
629   44  44 Ket          Ket
630   47     End          End
631  ------------------------------------------------------------------  ------------------------------------------------------------------
632  Capturing subpattern count = 0  Capturing subpattern count = 0
633  Partial matching not supported  Partial matching not supported
# Line 779  No match Line 777  No match
777      A\x{391}\x{10427}\x{ff3a}\x{1fb8}      A\x{391}\x{10427}\x{ff3a}\x{1fb8}
778   0: A\x{391}\x{10427}\x{ff3a}\x{1fb8}   0: A\x{391}\x{10427}\x{ff3a}\x{1fb8}
779    
780  /A\x{391}\x{10427}\x{ff3a}\x{1fb0}/8iD  /A\x{391}\x{10427}\x{ff3a}\x{1fb0}/8iDZ
781  ------------------------------------------------------------------  ------------------------------------------------------------------
782    0  21 Bra 0          Bra
783    3  NC A\x{391}\x{10427}\x{ff3a}\x{1fb0}       NC A\x{391}\x{10427}\x{ff3a}\x{1fb0}
784   21  21 Ket          Ket
785   24     End          End
786  ------------------------------------------------------------------  ------------------------------------------------------------------
787  Capturing subpattern count = 0  Capturing subpattern count = 0
788  Options: caseless utf8  Options: caseless utf8
789  First char = 'A' (caseless)  First char = 'A' (caseless)
790  No need char  No need char
791    
792  /A\x{391}\x{10427}\x{ff3a}\x{1fb0}/8D  /A\x{391}\x{10427}\x{ff3a}\x{1fb0}/8DZ
793  ------------------------------------------------------------------  ------------------------------------------------------------------
794    0  21 Bra 0          Bra
795    3     A\x{391}\x{10427}\x{ff3a}\x{1fb0}          A\x{391}\x{10427}\x{ff3a}\x{1fb0}
796   21  21 Ket          Ket
797   24     End          End
798  ------------------------------------------------------------------  ------------------------------------------------------------------
799  Capturing subpattern count = 0  Capturing subpattern count = 0
800  Options: utf8  Options: utf8
801  First char = 'A'  First char = 'A'
802  Need char = 176  Need char = 176
803    
804  /AB\x{1fb0}/8D  /AB\x{1fb0}/8DZ
805  ------------------------------------------------------------------  ------------------------------------------------------------------
806    0  11 Bra 0          Bra
807    3     AB\x{1fb0}          AB\x{1fb0}
808   11  11 Ket          Ket
809   14     End          End
810  ------------------------------------------------------------------  ------------------------------------------------------------------
811  Capturing subpattern count = 0  Capturing subpattern count = 0
812  Options: utf8  Options: utf8
813  First char = 'A'  First char = 'A'
814  Need char = 176  Need char = 176
815    
816  /AB\x{1fb0}/8Di  /AB\x{1fb0}/8DZi
817  ------------------------------------------------------------------  ------------------------------------------------------------------
818    0  11 Bra 0          Bra
819    3  NC AB\x{1fb0}       NC AB\x{1fb0}
820   11  11 Ket          Ket
821   14     End          End
822  ------------------------------------------------------------------  ------------------------------------------------------------------
823  Capturing subpattern count = 0  Capturing subpattern count = 0
824  Options: caseless utf8  Options: caseless utf8
# Line 857  Need char = 'B' (caseless) Line 855  Need char = 'B' (caseless)
855      \x{e0}      \x{e0}
856   0: \x{e0}   0: \x{e0}
857    
858  /[\x{105}-\x{109}]/8iD  /[\x{105}-\x{109}]/8iDZ
859  ------------------------------------------------------------------  ------------------------------------------------------------------
860    0  13 Bra 0          Bra
861    3     [\x{104}-\x{109}]          [\x{104}-\x{109}]
862   13  13 Ket          Ket
863   16     End          End
864  ------------------------------------------------------------------  ------------------------------------------------------------------
865  Capturing subpattern count = 0  Capturing subpattern count = 0
866  Options: caseless utf8  Options: caseless utf8
# Line 881  No match Line 879  No match
879      \x{10a}      \x{10a}
880  No match  No match
881    
882  /[z-\x{100}]/8iD  /[z-\x{100}]/8iDZ
883  ------------------------------------------------------------------  ------------------------------------------------------------------
884    0  20 Bra 0          Bra
885    3     [Z\x{39c}\x{178}z-\x{101}]          [Z\x{39c}\x{178}z-\x{101}]
886   20  20 Ket          Ket
887   23     End          End
888  ------------------------------------------------------------------  ------------------------------------------------------------------
889  Capturing subpattern count = 0  Capturing subpattern count = 0
890  Options: caseless utf8  Options: caseless utf8
# Line 919  No match Line 917  No match
917      y      y
918  No match  No match
919    
920  /[z-\x{100}]/8Di  /[z-\x{100}]/8DZi
921  ------------------------------------------------------------------  ------------------------------------------------------------------
922    0  20 Bra 0          Bra
923    3     [Z\x{39c}\x{178}z-\x{101}]          [Z\x{39c}\x{178}z-\x{101}]
924   20  20 Ket          Ket
925   23     End          End
926  ------------------------------------------------------------------  ------------------------------------------------------------------
927  Capturing subpattern count = 0  Capturing subpattern count = 0
928  Options: caseless utf8  Options: caseless utf8
# Line 1394  No match Line 1392  No match
1392       AXY       AXY
1393  No match  No match
1394    
1395    /^(\p{Z}[^\p{C}\p{Z}]+)*$/
1396        \xa0!
1397     0: \xa0!
1398     1: \xa0!
1399    
1400    /^[\pL](abc)(?1)/
1401        AabcabcYZ
1402     0: Aabcabc
1403     1: abc
1404    
1405    /([\pL]=(abc))*X/
1406        L=abcX
1407     0: L=abcX
1408     1: L=abc
1409     2: abc
1410    
1411    /The next two should be Perl-compatible, but it fails to match \x{e0}. PCRE
1412    will match it only with UCP support, because without that it has no notion
1413    of case for anything other than the ASCII letters. /
1414    
1415    /((?i)[\x{c0}])/8
1416        \x{c0}
1417     0: \x{c0}
1418     1: \x{c0}
1419        \x{e0}
1420     0: \x{e0}
1421     1: \x{e0}
1422    
1423    /(?i:[\x{c0}])/8
1424        \x{c0}
1425     0: \x{c0}
1426        \x{e0}
1427     0: \x{e0}
1428    
1429    /^\p{Balinese}\p{Cuneiform}\p{Nko}\p{Phags_Pa}\p{Phoenician}/8
1430        \x{1b00}\x{12000}\x{7c0}\x{a840}\x{10900}
1431     0: \x{1b00}\x{12000}\x{7c0}\x{a840}\x{10900}
1432    
1433    /The next two are special cases where the lengths of the different cases of the
1434    same character differ. The first went wrong with heap fram storage; the 2nd
1435    was broken in all cases./
1436    
1437    /^\x{023a}+?(\x{0130}+)/8i
1438      \x{023a}\x{2c65}\x{0130}
1439     0: \x{23a}\x{2c65}\x{130}
1440     1: \x{130}
1441    
1442    /^\x{023a}+([^X])/8i
1443      \x{023a}\x{2c65}X
1444     0: \x{23a}\x{2c65}
1445     1: \x{2c65}
1446    
1447    /Check property support in non-UTF-8 mode/
1448    
1449    /\p{L}{4}/
1450        123abcdefg
1451     0: abcd
1452        123abc\xc4\xc5zz
1453     0: abc\xc4
1454    
1455    /\X{1,3}\d/
1456      \x8aBCD
1457    No match
1458    
1459    /\X?\d/
1460      \x8aBCD
1461    No match
1462    
1463    /\P{L}?\d/
1464      \x8aBCD
1465    No match
1466    
1467    /[\PPP\x8a]{1,}\x80/
1468        A\x80
1469     0: A\x80
1470    
1471    /(?:[\PPa*]*){8,}/
1472    
1473    /[\P{Any}]/BZ
1474    ------------------------------------------------------------------
1475            Bra
1476            [\P{Any}]
1477            Ket
1478            End
1479    ------------------------------------------------------------------
1480    
1481    /[\P{Any}\E]/BZ
1482    ------------------------------------------------------------------
1483            Bra
1484            [\P{Any}]
1485            Ket
1486            End
1487    ------------------------------------------------------------------
1488    
1489    /(\P{Yi}+\277)/
1490    
1491    /(\P{Yi}+\277)?/
1492    
1493    /(?<=\P{Yi}{3}A)X/
1494    
1495    /\p{Yi}+(\P{Yi}+)(?1)/
1496    
1497    /(\P{Yi}{2}\277)?/
1498    
1499    /[\P{Yi}A]/
1500    
1501    /[\P{Yi}\P{Yi}\P{Yi}A]/
1502    
1503    /[^\P{Yi}A]/
1504    
1505    /[^\P{Yi}\P{Yi}\P{Yi}A]/
1506    
1507    /(\P{Yi}*\277)*/
1508    
1509    /(\P{Yi}*?\277)*/
1510    
1511    /(\p{Yi}*+\277)*/
1512    
1513    /(\P{Yi}?\277)*/
1514    
1515    /(\P{Yi}??\277)*/
1516    
1517    /(\p{Yi}?+\277)*/
1518    
1519    /(\P{Yi}{0,3}\277)*/
1520    
1521    /(\P{Yi}{0,3}?\277)*/
1522    
1523    /(\p{Yi}{0,3}+\277)*/
1524    
1525    /^[\p{Arabic}]/8
1526        \x{60e}
1527     0: \x{60e}
1528        \x{656}
1529     0: \x{656}
1530        \x{657}
1531     0: \x{657}
1532        \x{658}
1533     0: \x{658}
1534        \x{659}
1535     0: \x{659}
1536        \x{65a}
1537     0: \x{65a}
1538        \x{65b}
1539     0: \x{65b}
1540        \x{65c}
1541     0: \x{65c}
1542        \x{65d}
1543     0: \x{65d}
1544        \x{65e}
1545     0: \x{65e}
1546        \x{66a}
1547     0: \x{66a}
1548        \x{6e9}
1549     0: \x{6e9}
1550        \x{6ef}
1551     0: \x{6ef}
1552        \x{6fa}
1553     0: \x{6fa}
1554        ** Failers
1555    No match
1556        \x{600}
1557    No match
1558        \x{650}
1559    No match
1560        \x{651}
1561    No match
1562        \x{652}
1563    No match
1564        \x{653}
1565    No match
1566        \x{654}
1567    No match
1568        \x{655}
1569    No match
1570        \x{65f}
1571    No match
1572    
1573    /^\p{Cyrillic}/8
1574        \x{1d2b}
1575     0: \x{1d2b}
1576    
1577    /^\p{Common}/8
1578        \x{589}
1579     0: \x{589}
1580        \x{60c}
1581     0: \x{60c}
1582        \x{61f}
1583     0: \x{61f}
1584        \x{964}
1585     0: \x{964}
1586        \x{965}
1587     0: \x{965}
1588        \x{970}
1589     0: \x{970}
1590    
1591    /^\p{Inherited}/8
1592        \x{64b}
1593     0: \x{64b}
1594        \x{654}
1595     0: \x{654}
1596        \x{655}
1597     0: \x{655}
1598        \x{200c}
1599     0: \x{200c}
1600        ** Failers
1601    No match
1602        \x{64a}
1603    No match
1604        \x{656}
1605    No match
1606    
1607    /^\p{Shavian}/8
1608        \x{10450}
1609     0: \x{10450}
1610        \x{1047f}
1611     0: \x{1047f}
1612    
1613    /^\p{Deseret}/8
1614        \x{10400}
1615     0: \x{10400}
1616        \x{1044f}
1617     0: \x{1044f}
1618    
1619    /^\p{Osmanya}/8
1620        \x{10480}
1621     0: \x{10480}
1622        \x{1049d}
1623     0: \x{1049d}
1624        \x{104a0}
1625     0: \x{104a0}
1626        \x{104a9}
1627     0: \x{104a9}
1628        ** Failers
1629    No match
1630        \x{1049e}
1631    No match
1632        \x{1049f}
1633    No match
1634        \x{104aa}
1635    No match
1636    
1637    /\p{Zl}{2,3}+/8BZ
1638    ------------------------------------------------------------------
1639            Bra
1640            prop Zl {2}
1641            prop Zl ?+
1642            Ket
1643            End
1644    ------------------------------------------------------------------
1645        \xe2\x80\xa8\xe2\x80\xa8
1646     0: \x{2028}\x{2028}
1647        \x{2028}\x{2028}\x{2028}
1648     0: \x{2028}\x{2028}\x{2028}
1649    
1650    /\p{Zl}/8BZ
1651    ------------------------------------------------------------------
1652            Bra
1653            prop Zl
1654            Ket
1655            End
1656    ------------------------------------------------------------------
1657    
1658    /\p{Lu}{3}+/8BZ
1659    ------------------------------------------------------------------
1660            Bra
1661            prop Lu {3}
1662            Ket
1663            End
1664    ------------------------------------------------------------------
1665    
1666    /\pL{2}+/8BZ
1667    ------------------------------------------------------------------
1668            Bra
1669            prop L {2}
1670            Ket
1671            End
1672    ------------------------------------------------------------------
1673    
1674    /\p{Cc}{2}+/8BZ
1675    ------------------------------------------------------------------
1676            Bra
1677            prop Cc {2}
1678            Ket
1679            End
1680    ------------------------------------------------------------------
1681    
1682  / End of testinput6 /  / End of testinput6 /

Legend:
Removed from v.87  
changed lines
  Added in v.285

  ViewVC Help
Powered by ViewVC 1.1.5