[pmwiki-users] tighten up some settings?

Patrick R. Michaud pmichaud at pobox.com
Fri Jun 2 18:12:19 CDT 2006


On Fri, Jun 02, 2006 at 04:19:49PM -0500, Tegan Dowling wrote:
> Oh dear.  Now I notice that while I use
> 
> $SearchPatterns['default'][] = '!\.Group(Print)?(Header|Footer|Attributes)$!';
> (which I got from the pagelist.php script's settings for list=normal)
> 
> while the material on http://www.pmichaud.com/wiki/PmWiki/PageLists uses
> 
> $SearchPatterns['default'][] = '!\\.Group(Print)?(Header|Footer|Attributes)$!';
> 
> (a difference of one "\") - should one of them (mine or the PmWiki
> page's) change? I do know the one I got from the pagelist.php script
> works.

Both will probably work, although I prefer the version with two
backslashes:

  $SearchPatterns['default'][] = 
    '!\\.Group(Print)?(Header|Footer|Attributes)$!';

I'll probably update pagelist.php to reflect this.

Pm





More information about the pmwiki-users mailing list