<html><body><div>Brilliant! That solves the problem nicely.</div><div><br></div><div>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.<br><br>On 24 Sep, 2012,at 10:48 AM, Petko Yotov <5ko@5ko.fr> wrote:<br><br></div><div><blockquote type="cite"><div class="msg-quote"><div class="_stretch">Allister Jenks writes:<br> > It appears that the markup is picking up everything from the following [@ to <br> > the last @] on the page, instead of just the next one. The result is most of <br> > the rest of my page is included in the <pre> tags.<br> <br> Indeed, I overlooked this. Try this markup definition:<br> <br> Markup('terminal', '>markupend', "/\\(:5250:\\) *\\[@(.*?)@\\]/sei",<br> "MarkupTerminal(\$pagename, PSS('$1'))");<br> <br> That is one added ? in the part ..."@(.*?)@"...<br> <br> Petko<br> <br> <br> _______________________________________________<br> pmwiki-users mailing list<br> <a href="mailto:pmwiki-users@pmichaud.com" data-mce-href="mailto:pmwiki-users@pmichaud.com">pmwiki-users@pmichaud.com</a><br> <a href="http://www.pmichaud.com/mailman/listinfo/pmwiki-users" data-mce-href="http://www.pmichaud.com/mailman/listinfo/pmwiki-users">http://www.pmichaud.com/mailman/listinfo/pmwiki-users</a><br></div></div></blockquote></div></body></html>