On 9/2/07, Eemeli Aro <[EMAIL PROTECTED]> wrote:
> On 9/1/07, Ben Wilson <[EMAIL PROTECTED]> wrote:
> > The PmWiki standard is [[!CategoryName]]. Thus,
> > to use that markup allows you to collect those categories. The regex
> > is "\[\[!(.*?)\]\]".
>
> 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

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

Reply via email to