[pmwiki-users] NEW RECIPE: EditMore...
Mike Shanley
up at upisup.com
Sun Sep 2 09:33:13 CDT 2007
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][\/\.:]]](.*?)\]\]/"
More information about the pmwiki-users
mailing list