Parent Directory
|
Revision Log
|
Patch
| revision 87 by nigel, Sat Feb 24 21:41:21 2007 UTC | revision 91 by nigel, Sat Feb 24 21:41:34 2007 UTC | |
|---|---|---|
| # | Line 733 | Line 733 |
| 733 | Ab | Ab |
| 734 | AB | AB |
| 735 | ||
| 736 | /[\200-\410]/ | /[\200-\110]/ |
| 737 | ||
| 738 | /^(?(0)f|b)oo/ | /^(?(0)f|b)oo/ |
| 739 | ||
| # | Line 1490 | Line 1490 |
| 1490 | ||
| 1491 | /\x{0000ff}/ | /\x{0000ff}/ |
| 1492 | ||
| 1493 | /^((?P<A>a1)|(?P<A>a2)b)/ | |
| 1494 | ||
| 1495 | /^((?P<A>a1)|(?P<A>a2)b)/J | |
| 1496 | a1b\CA | |
| 1497 | a2b\CA | |
| 1498 | ** Failers | |
| 1499 | a1b\CZ\CA | |
| 1500 | ||
| 1501 | /^(?P<A>a)(?P<A>b)/J | |
| 1502 | ab\CA | |
| 1503 | ||
| 1504 | /^(?P<A>a)(?P<A>b)|cd/J | |
| 1505 | ab\CA | |
| 1506 | cd\CA | |
| 1507 | ||
| 1508 | /^(?P<A>a)(?P<A>b)|cd(?P<A>ef)(?P<A>gh)/J | |
| 1509 | cdefgh\CA | |
| 1510 | ||
| 1511 | /^((?P<A>a1)|(?P<A>a2)b)/J | |
| 1512 | a1b\GA | |
| 1513 | a2b\GA | |
| 1514 | ** Failers | |
| 1515 | a1b\GZ\GA | |
| 1516 | ||
| 1517 | /^(?P<A>a)(?P<A>b)/J | |
| 1518 | ab\GA | |
| 1519 | ||
| 1520 | /^(?P<A>a)(?P<A>b)|cd/J | |
| 1521 | ab\GA | |
| 1522 | cd\GA | |
| 1523 | ||
| 1524 | /^(?P<A>a)(?P<A>b)|cd(?P<A>ef)(?P<A>gh)/J | |
| 1525 | cdefgh\GA | |
| 1526 | ||
| 1527 | /(?J)^((?P<A>a1)|(?P<A>a2)b)/ | |
| 1528 | a1b\CA | |
| 1529 | a2b\CA | |
| 1530 | ||
| 1531 | /^(?P<A>a) (?J:(?P<B>b)(?P<B>c)) (?P<A>d)/ | |
| 1532 | ||
| 1533 | / In this next test, J is not set at the outer level; consequently it isn't | |
| 1534 | set in the pattern's options; consequently pcre_get_named_substring() produces | |
| 1535 | a random value. /x | |
| 1536 | ||
| 1537 | /^(?P<A>a) (?J:(?P<B>b)(?P<B>c)) (?P<C>d)/ | |
| 1538 | a bc d\CA\CB\CC | |
| 1539 | ||
| 1540 | /^(?P<A>a)?(?(A)a|b)/ | |
| 1541 | aabc | |
| 1542 | bc | |
| 1543 | ** Failers | |
| 1544 | abc | |
| 1545 | ||
| 1546 | /(?:(?(ZZ)a|b)(?P<ZZ>X))+/ | |
| 1547 | bXaX | |
| 1548 | ||
| 1549 | /(?:(?(2y)a|b)(X))+/ | |
| 1550 | ||
| 1551 | /(?:(?(ZA)a|b)(?P<ZZ>X))+/ | |
| 1552 | ||
| 1553 | /(?:(?(ZZ)a|b)(?(ZZ)a|b)(?P<ZZ>X))+/ | |
| 1554 | bbXaaX | |
| 1555 | ||
| 1556 | /(?:(?(ZZ)a|\(b\))\\(?P<ZZ>X))+/ | |
| 1557 | (b)\\Xa\\X | |
| 1558 | ||
| 1559 | /(?P<ABC/ | |
| 1560 | ||
| 1561 | /(?:(?(A)(?P=A)a|b)(?P<A>X|Y))+/ | |
| 1562 | bXXaYYaY | |
| 1563 | bXYaXXaX | |
| 1564 | ||
| 1565 | /()()()()()()()()()(?:(?(A)(?P=A)a|b)(?P<A>X|Y))+/ | |
| 1566 | bXXaYYaY | |
| 1567 | ||
| 1568 | /\777/ | |
| 1569 | ||
| 1570 | /\s*,\s*/S | |
| 1571 | \x0b,\x0b | |
| 1572 | \x0c,\x0d | |
| 1573 | ||
| 1574 | /^abc/m | |
| 1575 | xyz\nabc | |
| 1576 | xyz\nabc\<lf> | |
| 1577 | xyz\r\nabc\<lf> | |
| 1578 | xyz\rabc\<cr> | |
| 1579 | xyz\r\nabc\<crlf> | |
| 1580 | ** Failers | |
| 1581 | xyz\nabc\<cr> | |
| 1582 | xyz\r\nabc\<cr> | |
| 1583 | xyz\nabc\<crlf> | |
| 1584 | xyz\rabc\<crlf> | |
| 1585 | xyz\rabc\<lf> | |
| 1586 | ||
| 1587 | /abc$/m | |
| 1588 | xyzabc | |
| 1589 | xyzabc\n | |
| 1590 | xyzabc\npqr | |
| 1591 | xyzabc\r\<cr> | |
| 1592 | xyzabc\rpqr\<cr> | |
| 1593 | xyzabc\r\n\<crlf> | |
| 1594 | xyzabc\r\npqr\<crlf> | |
| 1595 | ** Failers | |
| 1596 | xyzabc\r | |
| 1597 | xyzabc\rpqr | |
| 1598 | xyzabc\r\n | |
| 1599 | xyzabc\r\npqr | |
| 1600 | ||
| 1601 | /^abc/m<cr> | |
| 1602 | xyz\rabcdef | |
| 1603 | xyz\nabcdef\<lf> | |
| 1604 | ** Failers | |
| 1605 | xyz\nabcdef | |
| 1606 | ||
| 1607 | /^abc/m<lf> | |
| 1608 | xyz\nabcdef | |
| 1609 | xyz\rabcdef\<cr> | |
| 1610 | ** Failers | |
| 1611 | xyz\rabcdef | |
| 1612 | ||
| 1613 | /^abc/m<crlf> | |
| 1614 | xyz\r\nabcdef | |
| 1615 | xyz\rabcdef\<cr> | |
| 1616 | ** Failers | |
| 1617 | xyz\rabcdef | |
| 1618 | ||
| 1619 | /^abc/m<bad> | |
| 1620 | ||
| 1621 | /abc/ | |
| 1622 | xyz\rabc\<bad> | |
| 1623 | abc | |
| 1624 | ||
| 1625 | /.*/ | |
| 1626 | abc\ndef | |
| 1627 | abc\rdef | |
| 1628 | abc\r\ndef | |
| 1629 | \<cr>abc\ndef | |
| 1630 | \<cr>abc\rdef | |
| 1631 | \<cr>abc\r\ndef | |
| 1632 | \<crlf>abc\ndef | |
| 1633 | \<crlf>abc\rdef | |
| 1634 | \<crlf>abc\r\ndef | |
| 1635 | ||
| 1636 | /\w+(.)(.)?def/s | |
| 1637 | abc\ndef | |
| 1638 | abc\rdef | |
| 1639 | abc\r\ndef | |
| 1640 | ||
| 1641 | +((?:\s|//.*\\n|/[*](?:\\n|.)*?[*]/)*)+ | |
| 1642 | /* this is a C style comment */\M | |
| 1643 | ||
| 1644 | /(?P<B>25[0-5]|2[0-4]\d|[01]?\d?\d)(?:\.(?P>B)){3}/ | |
| 1645 | ||
| 1646 | / End of testinput2 / | / End of testinput2 / |
|
||||||||
| webmaster@exim.org | ViewVC Help |
| Powered by ViewVC 1.1.12 |