[pmwiki-users] Problem with $SearchPatterns
"Kai Bühler (celanio GmbH)"
info at celanio.de
Sat Jun 28 12:48:03 CDT 2008
Hello,
I want to allow searches in 4 groups and exclude all groups starting
with "P".
So I tried:
$SearchPatterns['default'][] ='/^De\\./';
$SearchPatterns['default'][] ='/^CRM\\./';
$SearchPatterns['default'][] ='/^FAQ\\./';
$SearchPatterns['default'][] ='/^Glossar\\./';
$SearchPatterns['default'][] ='!^P\.!';
(Groups are "De", "CRM", "FAQ" and "Glossar", and others starting with
P, e.g. P0034, P0056.
But everytime I try this config it finds nothing anymore ;-( If I remove
CRM, FAQ and Glossar it works and finds results from the "De" Group.
Where's my mistake?
Kai.
More information about the pmwiki-users
mailing list