cvs: phpdoc-it /reference/pcre/functions preg-match-all.xml
| From: | Simone Cortesi | Date: | Sat, 22 Jun 2002 15:12:21 +0000 |
| Subject: | cvs: phpdoc-it /reference/pcre/functions preg-match-all.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969346902@lists.php.net to get a copy of this message | ||
cortesi Sat Jun 22 11:12:21 2002 EDT
Modified files:
/phpdoc-it/reference/pcre/functions preg-match-all.xml
Log:
fixing parse problem in example code
Index: phpdoc-it/reference/pcre/functions/preg-match-all.xml
diff -u phpdoc-it/reference/pcre/functions/preg-match-all.xml:1.4
phpdoc-it/reference/pcre/functions/preg-match-all.xml:1.5
--- phpdoc-it/reference/pcre/functions/preg-match-all.xml:1.4 Mon Jun 17 16:27:28 2002
+++ phpdoc-it/reference/pcre/functions/preg-match-all.xml Sat Jun 22 11:12:21 2002
@@ -151,7 +151,7 @@
// libreria pcre che deve considerare il secondo set di parentesi tonde (in questo
// caso il testo "([\w]+)"). Il backslash (\) aggiuntivo è reso obbligatorio
dall'uso
// dei doppi apici.
-$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);