Eemeli Aro wrote:
>> Shouldn't that be "\[\[!([^\]]*?)\]\]" ?
>>     
>
> Drat. Grokked the ? just after I posted, sorry about that. But to not
> make myself completely worthless, wouldn't "\[\[\s*!(.*?)\]\]" be a
> bit more lenient and more in line with the other [[...]] markup
> regexes?
>
> eemeli
>
>   
If we really want all the categories, I think it needs to look like this 
(to account for the WPCategories recipe, we need the extra Category and 
':')... But my regex isn't phenomenal, so I could be wrong...

"/\[\[\s*[!|[[[{$CategoryGroup}|Category][\/\.:]]](.*?)\]\]/"




_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to