On Sunday 29 June 2008 15:22:32 Petko Yotov wrote: > $SearchPatterns['default'][] ="/^(De|CRM|FAQ|Glossar)\\./"; # allowed > $SearchPatterns['default'][] ="!^P.*\\.!"; # excluded > > The last one, ^P.*\\. is actually what you need as you wish to exclude > groups starting with P, e.g. P0034, P0056 (and not ^P\. which excludes only > the group "P").
Actually, the "exclude" $SearchPattern is not needed, because in our case, the first one already limits the search to the groups listed in the first $SearchPattern. If (contrary to what I first believed) you want to *include* groups starting with P, e.g. P0034, P0056, you would use just one expression like: $SearchPatterns['default'][] ="/^(De|CRM|FAQ|Glossar|P.*)\\./"; Petko _______________________________________________ pmwiki-users mailing list [email protected] http://www.pmichaud.com/mailman/listinfo/pmwiki-users
