mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Fixed bug #48806
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@284401 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
3739ac5804
commit
e3a5bb2767
1 changed files with 1 additions and 1 deletions
|
@ -242,7 +242,7 @@ preg_match_all("/\(? (\d{3})? \)? (?(1) [\-\s] ) \d{3}-\d{4}/x",
|
|||
// required because the string is in double quotes.
|
||||
$html = "<b>bold text</b><a href=howdy.html>click me</a>";
|
||||
|
||||
preg_match_all("/(<([\w]+)[^>]*>)(.*)(<\/\\2>)/", $html, $matches, PREG_SET_ORDER);
|
||||
preg_match_all("/(<([\w]+)[^>]*>)(.*?)(<\/\\2>)/", $html, $matches, PREG_SET_ORDER);
|
||||
|
||||
foreach ($matches as $val) {
|
||||
echo "matched: " . $val[0] . "\n";
|
||||
|
|
Loading…
Reference in a new issue