cvs: phpdoc /en/reference/pcre/functions preg-match-all.xml

From: Date: Sat, 22 Jun 2002 15:10:54 +0000
Subject: cvs: phpdoc /en/reference/pcre/functions preg-match-all.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969346901@lists.php.net to get a copy of this message
cortesi Sat Jun 22 11:10:54 2002 EDT Modified files: /phpdoc/en/reference/pcre/functions preg-match-all.xml Log: fixing parse error in example code Index: phpdoc/en/reference/pcre/functions/preg-match-all.xml diff -u phpdoc/en/reference/pcre/functions/preg-match-all.xml:1.4 phpdoc/en/reference/pcre/functions/preg-match-all.xml:1.5 --- phpdoc/en/reference/pcre/functions/preg-match-all.xml:1.4 Thu Jun 13 03:55:02 2002 +++ phpdoc/en/reference/pcre/functions/preg-match-all.xml Sat Jun 22 11:10:54 2002 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <!-- splitted from ./en/functions/pcre.xml, last change in rev 1.2 --> <refentry id="function.preg-match-all"> <refnamediv> @@ -140,7 +140,7 @@ // 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 = "<b>bold text</b><a href=howdy.html>click me</a>; +$html = "<b>bold text</b><a href=howdy.html>click me</a>"; preg_match_all ("/(<([\w]+)[^>]*>)(.*)(<\/\\2>)/", $html, $matches);

« previous php.doc (#969346901) next »