cvs: doc-editor /php ToolsError.php
| From: | Yannick Torres | Date: | Mon, 20 Apr 2009 22:19:53 +0000 |
| Subject: | cvs: doc-editor /php ToolsError.php | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-3823@lists.php.net to get a copy of this message | ||
yannick Mon Apr 20 22:19:53 2009 UTC
Modified files:
/doc-editor/php ToolsError.php
Log:
- fix pattern for nbTag method
http://cvs.php.net/viewvc.cgi/doc-editor/php/ToolsError.php?r1=1.8&r2=1.9&diff_format=u
Index: doc-editor/php/ToolsError.php
diff -u doc-editor/php/ToolsError.php:1.8 doc-editor/php/ToolsError.php:1.9
--- doc-editor/php/ToolsError.php:1.8 Mon Apr 20 16:26:51 2009
+++ doc-editor/php/ToolsError.php Mon Apr 20 22:19:53 2009
@@ -1222,7 +1222,7 @@
foreach ($tags as $tag => $label) {
- $reg = '/<' . $tag . ' /s';
+ $reg = '/<' . $tag . '(\s*|>)/s';
$nb_en = 0;
$match = array();