On Dec 5, 2007 6:25 PM, Hans <[EMAIL PROTECTED]> wrote:
>
> What is the correct way to list all pages with ListPages?
> And what is the correct way to list all pages in groups starting with
> a certain character, like 'F' ?
>
> If I use $plist = ListPages("/^Fo*.*/");
> I get all pages in groups starting with 'Fo',
> but if I use  $plist = ListPages("/^F*.*/");
> I get all pages!
> And if I use  $plist = ListPages("/^*.*/");
> I get tons of errors.
>
> Thanks for any hints!
>
>
>  Hans
>
>

perhaps:

$plist = ListPages("/^($GroupPattern)[.\\/]($NamePattern)$/i");

would do the trick.
-- 
Dominique

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

Reply via email to