[pmwiki-users] Special monospace requirement

Allister Jenks zkarj at me.com
Sun Sep 23 17:52:51 CDT 2012

Brilliant! That solves the problem nicely.

Thanks again. I'm in awe that you can read and understand that regex. I've studied them in the past and always ended up confusing myself.

On 24 Sep, 2012,at 10:48 AM, Petko Yotov <5ko at 5ko.fr> wrote:

Allister Jenks writes:
> It appears that the markup is picking up everything from the following [@ to 
> the last @] on the page, instead of just the next one. The result is most of 
> the rest of my page is included in the <pre> tags.

Indeed, I overlooked this. Try this markup definition:

Markup('terminal', '>markupend', "/\\(:5250:\\) *\\[@(.*?)@\\]/sei",
"MarkupTerminal(\$pagename, PSS('$1'))");

That is one added ? in the part ..."@(.*?)@"...


pmwiki-users mailing list
pmwiki-users at pmichaud.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20120923/af3d7dd7/attachment.html>

More information about the pmwiki-users mailing list