[pmwiki-users] Can't get (:pagelist:) to ignore group-named page . . .
Patrick R. Michaud
pmichaud at pobox.com
Sun Jun 19 13:14:47 CDT 2005
On Sun, Jun 19, 2005 at 01:09:29PM -0500, Benjamin Wilson wrote:
> Patrick R. Michaud wrote:
> >And it was wrong -- I forgot to send the correction to the list.
> >The correct pattern is
> >
> > $SearchPatterns['sitemap'][] = '!^([^.]+)\\.$1$!';
>
> Hmm, problem remains with the revised search string in place.
Sorry, I thought PCRE understood $1 backreferences. The correct
formulation is in fact:
$SearchPatterns['sitemap'][] = '!^([^.]+)\\.\\1$!';
as demonstrated at http://www.pmwiki.org/wiki/Test/SiteMap .
Pm
More information about the pmwiki-users
mailing list