[pmwiki-users] tighten up some settings?

Tegan Dowling tmdowling at gmail.com
Fri Jun 2 16:19:49 CDT 2006


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.

On 6/2/06, Tegan Dowling <tmdowling at gmail.com> wrote:
> On 6/2/06, Ben Wilson <dausha at gmail.com> wrote:
> > Perhaps from:
> >
> > $SearchPatterns['default'][] = '!\.Side(Bar|Menu|Note)$!';
> > $SearchPatterns['default'][] = '!\.Left(Bar|Menu|Note)$!';
> > $SearchPatterns['default'][] = '!\.Right(Bar|Menu|Note)$!'
> >
> > To:
> > $SearchPatters['default']{} = '!\.(Left|Right|Side)(Bar|Menu|Note)$!';
>
> Close (silly fingers)!
> not this: $SearchPatters['default']{} =
> '!\.(Left|Right|Side)(Bar|Menu|Note)$!';
> but this: $SearchPatterns['default'][] =
> '!\.(Left|Right|Side)(Bar|Menu|Note)$!';
>




More information about the pmwiki-users mailing list