/[pcre]/code/trunk/testinput
ViewVC logotype

Diff of /code/trunk/testinput

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

revision 22 by nigel, Sat Feb 24 21:38:37 2007 UTC revision 23 by nigel, Sat Feb 24 21:38:41 2007 UTC
# Line 1383  Line 1383 
1383    
1384  /\Aabc\Z/m  /\Aabc\Z/m
1385      abc      abc
1386        abc\n
1387      *** Failers      *** Failers
1388      qqq\nabc      qqq\nabc
1389      abc\nzzz      abc\nzzz
1390      qqq\nabc\nzzz      qqq\nabc\nzzz
1391    
1392  /\A(.)*\Z/s  /\A(.)*\Z/s
1393      abc\ndef      abc\ndef
1394    
# Line 1440  Line 1441 
1441      ABCabc      ABCabc
1442      abcABC      abcABC
1443    
1444  /(main(OPT)?)+/  /(main(O)?)+/
1445      mainmain      mainmain
1446      mainOPTmain      mainOmain
1447    
1448  /ab{3cd/  /ab{3cd/
1449      ab{3cd      ab{3cd
# Line 1599  Line 1600 
1600    
1601  /P[^*]TAIRE[^*]{1,}?LL/  /P[^*]TAIRE[^*]{1,}?LL/
1602      xxxxxxxxxxxPSTAIREISLLxxxxxxxxx      xxxxxxxxxxxPSTAIREISLLxxxxxxxxx
1603    
1604    /(\.\d\d[1-9]?)\d+/
1605        1.230003938
1606        1.875000282
1607        1.235
1608    
1609    /(\.\d\d((?=0)|\d(?=\d)))/
1610        1.230003938
1611        1.875000282
1612        *** Failers
1613        1.235
1614    
1615    /a(?)b/
1616        ab
1617    
1618    /\b(foo)\s+(\w+)/i
1619        Food is on the foo table
1620    
1621    /foo(.*)bar/
1622        The food is under the bar in the barn.
1623    
1624    /foo(.*?)bar/
1625        The food is under the bar in the barn.
1626    
1627    /(.*)(\d*)/
1628        I have 2 numbers: 53147
1629    
1630    /(.*)(\d+)/
1631        I have 2 numbers: 53147
1632    
1633    /(.*?)(\d*)/
1634        I have 2 numbers: 53147
1635    
1636    /(.*?)(\d+)/
1637        I have 2 numbers: 53147
1638    
1639    /(.*)(\d+)$/
1640        I have 2 numbers: 53147
1641    
1642    /(.*?)(\d+)$/
1643        I have 2 numbers: 53147
1644    
1645    /(.*)\b(\d+)$/
1646        I have 2 numbers: 53147
1647    
1648    /(.*\D)(\d+)$/
1649        I have 2 numbers: 53147
1650    
1651    /^\D*(?!123)/
1652        ABC123
1653    
1654    /^(\D*)(?=\d)(?!123)/
1655        ABC445
1656        *** Failers
1657        ABC123
1658    
1659  / End of test input /  / End of test input /

Legend:
Removed from v.22  
changed lines
  Added in v.23

  ViewVC Help
Powered by ViewVC 1.1.5