On Oct 19, 2009, at 5:13 PM, rogu...@googlemail.com wrote:

>
> The problem with pagelists lies in GlobToPCRE() function in pmwiki.php
> and is tracked at http://pmwiki.org/wiki/PITS/01149 . It concerns
> exclusion patterns (name=-Page) only.
>
The suggested workaround for exclusion patterns (at least in my case)   
allows the pagelist to work, but does not
exclude anything.  A workaround for  this is to use $SearchPatterns in  
the config.php file.  This worked well for me.
For example, to exclude all groups having a "-" in their name:
$SearchPatterns['default'][] = '!^[A-Za-z]*-[A-Za-z]\.!;
I know this will not work if the group names have special or  
international characters in their name, but it should be easy to adapt.
Thanks for pointing out the PITS entry.
        Vince


_______________________________________________
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to