[pmwiki-users] Alternate Naming Scheme: problem in setting
Xax
xax at mclink.it
Thu Oct 13 10:57:29 CDT 2005
Hi,
as I asked at the bottom of this page:
http://www.pmwiki.org/wiki/Cookbook/AlternateNamingScheme
** How is the modification to |$MakePageNamePatterns|
<http://www.pmwiki.org/wiki/PmWiki/OtherVariables#MakePageNamePatterns>
supposed to be set?
If I insert the following in my config.php
$MakePageNamePatterns = array(
"/'/" => '', # strip single-quotes
"/[^$PageNameChars]+/" => ' ', # convert everything else to space
"/((^|[^-\\w])\\w)/e" => "strtoupper('$1')",
"/ /" => '_');
I get this error:
Warning: Compilation failed: missing terminating ] for character class
at offset 4 in /usr/www/users/maxlumen/cgitalia.it/guida/pmwiki.php on
line 419
Many thanks
HYPERGURU
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/pmwiki-users/attachments/20051013/dbe79d4a/attachment.html
More information about the pmwiki-users
mailing list