| 1662 |
*** Failers |
*** Failers |
| 1663 |
123999foo |
123999foo |
| 1664 |
|
|
| 1665 |
|
/<a[\s]+href[\s]*=[\s]* # find <a href= |
| 1666 |
|
([\"\'])? # find single or double quote |
| 1667 |
|
(?(1) (.*?)\1 | ([^\s]+)) # if quote found, match up to next matching |
| 1668 |
|
# quote, otherwise match up to next space |
| 1669 |
|
/isx |
| 1670 |
|
<a href=abcd xyz |
| 1671 |
|
<a href=\"abcd xyz pqr\" cats |
| 1672 |
|
<a href=\'abcd xyz pqr\' cats |
| 1673 |
|
|
| 1674 |
|
/<a\s+href\s*=\s* # find <a href= |
| 1675 |
|
(["'])? # find single or double quote |
| 1676 |
|
(?(1) (.*?)\1 | (\S+)) # if quote found, match up to next matching |
| 1677 |
|
# quote, otherwise match up to next space |
| 1678 |
|
/isx |
| 1679 |
|
<a href=abcd xyz |
| 1680 |
|
<a href=\"abcd xyz pqr\" cats |
| 1681 |
|
<a href = \'abcd xyz pqr\' cats |
| 1682 |
|
|
| 1683 |
|
/<a\s+href(?>\s*)=(?>\s*) # find <a href= |
| 1684 |
|
(["'])? # find single or double quote |
| 1685 |
|
(?(1) (.*?)\1 | (\S+)) # if quote found, match up to next matching |
| 1686 |
|
# quote, otherwise match up to next space |
| 1687 |
|
/isx |
| 1688 |
|
<a href=abcd xyz |
| 1689 |
|
<a href=\"abcd xyz pqr\" cats |
| 1690 |
|
<a href = \'abcd xyz pqr\' cats |
| 1691 |
|
|
| 1692 |
/ End of test input / |
/ End of test input / |