I&#39;ve changed the acceptable page name patterns successfully with the following code, so that I can have gRoup-and_also/page_nameS_like_THIS. However, pagelists/searches still only find the pages/groups that comply to the old standard.<br>
<br>I&#39;ve been poking around pagelist.php, but I&#39;m not even sure what I&#39;m looking for. None of the regex seems to be related to page names.<br><br>Thanks for your help!<br><br><br>if( $Charset==&#39;UTF-8&#39; ) {<br>
&nbsp; $PageNameChars=&#39;-_[:alnum:]\\x80-\\xfe&#39;;<br>&nbsp; $MakePageNamePatterns = array(<br>&nbsp;&nbsp;&nbsp; &quot;/&#39;/&quot; =&gt; &#39;&#39;,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # strip single-quotes<br>&nbsp;&nbsp;&nbsp; &quot;/[^$PageNameChars]+/&quot; =&gt; &#39; &#39;,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # convert everything else to space<br>
&nbsp;&nbsp;&nbsp; &quot;/(^\\s+)|(\\s+\$)/&quot; =&gt; &#39;&#39;,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # trim whitespaces<br>&nbsp;&nbsp;&nbsp; &quot;/^([a-z])/e&quot; =&gt; &quot;strtoupper(&#39;$1&#39;)&quot;,&nbsp;&nbsp; # uppercase first letter<br>&nbsp;&nbsp;&nbsp; &quot;/ /&quot; =&gt; &#39;_&#39;);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # convert spaces to undersc<br>
} else {<br>&nbsp; $PageNameChars = &#39;-_[:alnum:]&#39;;<br>&nbsp; $MakePageNamePatterns = array(<br>&nbsp;&nbsp;&nbsp; &quot;/&#39;/&quot; =&gt; &#39;&#39;,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # strip single-quotes<br>&nbsp;&nbsp;&nbsp; &quot;/[^$PageNameChars]+/&quot; =&gt; &#39; &#39;,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # convert everything else to space<br>
&nbsp;&nbsp;&nbsp; &quot;/(^\\s+)|(\\s+\$)/&quot; =&gt; &#39;&#39;,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # trim whitespaces<br>&nbsp;&nbsp;&nbsp; &quot;/ /&quot; =&gt; &#39;_&#39;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # convert spaces to underscores<br>&nbsp; );<br>}<br><br>$AsSpacedFunction = &#39;AsSpacedUnderlines&#39;;<br>
function AsSpacedUnderlines($text) {<br>&nbsp; return strtr($text,&#39;_&#39;,&#39; &#39;);<br>}<br clear="all"><br>Mike<br>