From 99ed54dd15dbe1fedf87668a8a5cb27ecdbcea7d Mon Sep 17 00:00:00 2001 From: Simone Cortesi Date: Sat, 22 Jun 2002 15:10:54 +0000 Subject: [PATCH] fixing parse error in example code git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@86387 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/pcre/functions/preg-match-all.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reference/pcre/functions/preg-match-all.xml b/reference/pcre/functions/preg-match-all.xml index 305d0bfa14..b7deaa9e5a 100644 --- a/reference/pcre/functions/preg-match-all.xml +++ b/reference/pcre/functions/preg-match-all.xml @@ -1,5 +1,5 @@ - + @@ -140,7 +140,7 @@ preg_match_all ("/\(? (\d{3})? \)? (?(1) [\-\s] ) \d{3}-\d{4}/x", // it must match the second set of parentheses in the regular expression // itself, which would be the ([\w]+) in this case. The extra backslash is // required because the string is in double quotes. -$html = "bold textclick me; +$html = "bold textclick me"; preg_match_all ("/(<([\w]+)[^>]*>)(.*)(<\/\\2>)/", $html, $matches);