On 13/12/10 11:00 AM, adam overton wrote:
i'm trying to create a custom markup device that captures text and inserts
other markup for any text lying between (:newmarkup:) and (:newmarkupend:)
Markup('createColumns', 'fulltext',
'/\\(:createColumns\\s+(.*)\\s*:\\)(.*)\\(:createColumnsend:\\)/ie',
'CreateColumns_func("$1","$2")'
);
any idea how i can get my markup to span the entire distance?
Try /ies in the match pattern -- the 's' should make the regular
expression keep going past line endings.
JR
--
John Rankin
Affinity Limited
T 64 4 495 3737
F 64 4 473 7991
M 021 RANKIN
john.ran...@affinity.co.nz
www.affinity.co.nz
_______________________________________________
pmwiki-devel mailing list
pmwiki-devel@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-devel