cvs: pear /Text_Wiki/Text/Wiki/Parse/Default List.php

From: Date: Sun, 06 Nov 2005 20:44:10 +0000
Subject: cvs: pear /Text_Wiki/Text/Wiki/Parse/Default List.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-36113@lists.php.net to get a copy of this message
toggg Sun Nov 6 15:44:10 2005 EDT Modified files: /pear/Text_Wiki/Text/Wiki/Parse/Default List.php Log: Mixed list ends only if the other kind of list starts at first level but may contains sub-lists from the other kind (Bug #5879) http://cvs.php.net/diff.php/pear/Text_Wiki/Text/Wiki/Parse/Default/List.php?r1=1.6&r2=1.7&ty=u Index: pear/Text_Wiki/Text/Wiki/Parse/Default/List.php diff -u pear/Text_Wiki/Text/Wiki/Parse/Default/List.php:1.6 pear/Text_Wiki/Text/Wiki/Parse/Default/List.php:1.7 --- pear/Text_Wiki/Text/Wiki/Parse/Default/List.php:1.6 Sat Nov 5 11:26:42 2005 +++ pear/Text_Wiki/Text/Wiki/Parse/Default/List.php Sun Nov 6 15:44:09 2005 @@ -12,7 +12,7 @@ * * @license LGPL * -* @version $Id: List.php,v 1.6 2005/11/05 16:26:42 toggg Exp $ +* @version $Id: List.php,v 1.7 2005/11/06 20:44:09 toggg Exp $ * */ @@ -52,7 +52,7 @@ * */ - var $regex = '/^((\*|#) .*\n)(?! {0,}(\2 |\n))/Usm'; + var $regex = '/^((\*|#) .*\n)(?!\2 |(?: {1,}((?:\*|#) |\n)))/Usm'; /**

« previous php.pear.cvs (#36113) next »