cvs: pear /Text_Wiki/Text/Wiki/Parse/Creole Tt.php
| From: | Michele Tomaiuolo | Date: | Wed, 07 Feb 2007 13:46:27 +0000 |
| Subject: | cvs: pear /Text_Wiki/Text/Wiki/Parse/Creole Tt.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-44574@lists.php.net to get a copy of this message | ||
mic Wed Feb 7 13:46:27 2007 UTC
Modified files:
/pear/Text_Wiki/Text/Wiki/Parse/Creole Tt.php
Log:
question mark for ungreedy regexp
http://cvs.php.net/viewvc.cgi/pear/Text_Wiki/Text/Wiki/Parse/Creole/Tt.php?r1=1.1&r2=1.2&diff_format=u
Index: pear/Text_Wiki/Text/Wiki/Parse/Creole/Tt.php
diff -u pear/Text_Wiki/Text/Wiki/Parse/Creole/Tt.php:1.1
pear/Text_Wiki/Text/Wiki/Parse/Creole/Tt.php:1.2
--- pear/Text_Wiki/Text/Wiki/Parse/Creole/Tt.php:1.1 Mon Oct 23 13:11:27 2006
+++ pear/Text_Wiki/Text/Wiki/Parse/Creole/Tt.php Wed Feb 7 13:46:26 2007
@@ -12,7 +12,7 @@
*
* @license LGPL
*
- * @version $Id: Tt.php,v 1.1 2006/10/23 13:11:27 mic Exp $
+ * @version $Id: Tt.php,v 1.2 2007/02/07 13:46:26 mic Exp $
*
*/
@@ -32,7 +32,7 @@
*
*/
- var $regex = '/{{{(.*)}}}/U';
+ var $regex = '/{{{(.*?)}}}/';
/**
*