[pmwiki-users] Minor markup request

Robert Riebisch rr at bttr-software.de
Mon Sep 26 03:16:31 CDT 2005


"Patrick R. Michaud" wrote:

> Another version of this rule that might be slightly faster for
> markup processing is:
> 
>     Markup('--', '>^----',
>       '/(?<!-|<!)--(?![->])/', '&mdash;');

Thanks! That works better very well. With John Rankin's markup I had
some trouble with "--" in normal texts or hyperlinks, e.g, "*
[[ftp://ftp.simtel.net/pub/simtelnet/msdos/c/c--final.zip | C--]] by
Peter Cellik".

Robert Riebisch
-- 
BTTR Software
http://www.bttr-software.de/




More information about the pmwiki-users mailing list