From: Arno H. <aho...@us...> - 2000-10-31 16:18:50
|
Update of /cvsroot/phpwiki/phpwiki/lib In directory slayer.i.sourceforge.net:/tmp/cvs-serv11829/lib Modified Files: config.php Log Message: Changed $WikiNameRegexp: doesn't use "\b" (word-boundary) anymore. Necessary because '_' is interpreted as word-character too and thus e.g. "__WikiName__" is not recognized as link. Note that now "previously_not_a_WikiName" renders the "WikiName" part as link now too. Index: config.php =================================================================== RCS file: /cvsroot/phpwiki/phpwiki/lib/config.php,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -r1.10 -r1.11 *** config.php 2000/10/30 07:41:10 1.10 --- config.php 2000/10/31 16:18:42 1.11 *************** *** 194,198 **** // Perl regexp for WikiNames ! $WikiNameRegexp = "\b([A-Z][a-z]+){2,}\b"; // this defines how many page names to list when displaying --- 194,199 ---- // Perl regexp for WikiNames ! // (?<!..) & (?!...) used instead of '\b' because \b matches '_' as well ! $WikiNameRegexp = "(?<![A-Za-z0-9])([A-Z][a-z]+){2,}(?![A-Za-z0-9])"; // this defines how many page names to list when displaying |