From: <var...@us...> - 2009-11-20 17:51:07
|
Revision: 7274 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=7274&view=rev Author: vargenau Date: 2009-11-20 17:50:59 +0000 (Fri, 20 Nov 2009) Log Message: ----------- Add Wikicreole syntax for extractSections Modified Paths: -------------- trunk/lib/stdlib.php Modified: trunk/lib/stdlib.php =================================================================== --- trunk/lib/stdlib.php 2009-11-20 17:34:19 UTC (rev 7273) +++ trunk/lib/stdlib.php 2009-11-20 17:50:59 UTC (rev 7274) @@ -2194,7 +2194,7 @@ while ($sections > 0) { - if (preg_match("/ ^(!{1,})\\s*(.*)\\n" // section header + if (preg_match("/ ^(!{1,}|={2,})\\s*(.*)\\n" // section header . " \\s*$\\n?" // possible blank lines . " ( (?: ^.*\\n? )*? )" // some lines . " ( ^\\1 (.|\\n)* | \\Z)/xm", // sec header (same or higher level) (or EOF) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |