[pmwiki-users] NEW RECIPE: EditMore...

Eemeli Aro eemeli at gmail.com
Sun Sep 2 03:52:09 CDT 2007


On 9/2/07, Eemeli Aro <eemeli at gmail.com> wrote:
> On 9/1/07, Ben Wilson <dausha at gmail.com> 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



More information about the pmwiki-users mailing list