[pmwiki-devel] php ListPages question

Hans design5 at softflow.co.uk
Wed Dec 5 12:53:18 CST 2007


Wednesday, December 5, 2007, 6:06:44 PM, Dominique wrote:

> perhaps:

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

> would do the trick.

yes this works. Only it is not nice, when you try to feed the function
a variable with wildcard patterns like A*.*  Main.*

$plist = ListPages("/^$wildpat/");

I expected A*.* would give pages with groups beginning with A.
Maybe this is a bug? Certainly not intuitive, and wrecks havock with
some wildcard patterns.


Hans




More information about the pmwiki-devel mailing list