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 <[email protected]> wrote:
On 24 Sep, 2012,at 10:48 AM, Petko Yotov <[email protected]> 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 ..."@(.*?)@"...
Petko
_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users
_______________________________________________ pmwiki-users mailing list [email protected] http://www.pmichaud.com/mailman/listinfo/pmwiki-users
