<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi,<br>
<br>
as I asked at the bottom of this page:<br>
<a class="moz-txt-link-freetext" href="http://www.pmwiki.org/wiki/Cookbook/AlternateNamingScheme">http://www.pmwiki.org/wiki/Cookbook/AlternateNamingScheme</a><br>
<br>
<p><strong></strong> How is the modification to <a class="varlink"
 href="http://www.pmwiki.org/wiki/PmWiki/OtherVariables#MakePageNamePatterns"><code
 class="varlink">$MakePageNamePatterns</code></a> supposed to be set?
</p>
If I insert the following in my config.php<br>
<pre>        $MakePageNamePatterns = array(
    "/'/" =&gt; '',                           # strip single-quotes
    "/[^$PageNameChars]+/" =&gt; ' ',         # convert everything else to space
    "/((^|[^-\\w])\\w)/e" =&gt; "strtoupper('$1')",
    "/ /" =&gt; '_');
</pre>
<p>I get this error:
</p>
<p>Warning: Compilation failed: missing terminating ] for character
class at offset 4 in
/usr/www/users/maxlumen/cgitalia.it/guida/pmwiki.php on line 419
</p>
<p>Many thanks<br>
</p>
<p>HYPERGURU
</p>
</body>
</html>