[pmwiki-users] Custom markup over multiple lines
pmwiki at solidgone.com
Sat Dec 31 20:58:27 CST 2005
I'm trying to define a custom markup that spans text over multiple
lines. Here's what I have:
Markup('^Country:', 'directives', '/^Country
(UK|US|JP|AU|NZ|CA):(.*?)>><</im', '<div class="country $1">$2</div>');
There are two problems I'd like help with.
1] How to get the regex to span multiple lines?
2] The >><< terminator doesn't work. I tried "\>\>\<\<" to no avail.
What's the right way?
In addition, is this the pmwiki way/syntax to define a markup that spans
~ ~ Dave
More information about the pmwiki-users