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);