[pmwiki-users] Re: Re: recipe programming special markup

Karl Loncarek dh2mll at web.de
Sun Sep 11 10:37:05 CDT 2005

"Patrick R. Michaud" <pmichaud at pobox.com> wrote in 
news:20050911134632.GA10688 at host.pmichaud.com:

> Correction to my previous message, for the record:
> On Sat, Sep 10, 2005 at 10:04:12PM -0500, Patrick R. Michaud wrote:
>> Here are my suggestions -- first, I wouldn't use (?m:^) to try
>> to match the beginning of a line.  Just match a newline directly, 
>> or do a lookbehind for a newline.  Second, I don't think you need to
>> capture the text following the !!!'s for this.  So, something like
>>     Markup('preHeader', '<include',
>>       "/(\\n!{1,6})/",
>>       "xxxxx$1");
>> is probably what you want.
> I'm not sure about those double backslashes above; instead it
> should probably be:
>      Markup('preHeader', '<include',
>        "/(\n!{1,6})/",
>        "xxxxx$1");
> Pm
Thanks, I'll try it and will report.

Karl (aka Klonk)

More information about the pmwiki-users mailing list