[pmwiki-users] Minor markup request

Patrick R. Michaud pmichaud at pobox.com
Sat Sep 24 09:30:09 CDT 2005


On Sat, Sep 24, 2005 at 12:11:04AM +0200, malexism wrote:
> Patrick R. Michaud a écrit :
> >Another version of this rule that might be slightly faster for
> >markup processing is:
> >
> >    Markup('--', '>^----',
> >      '/(?<!-|<!)--(?![->])/', '&mdash;');
> 
> and by this way, can you tell me, please, how to display every " !" as 
> "&nbsp;!" ?

  Markup(' !', 'inline',
    '/ !/', 
    '&nbsp;!');

Pm




More information about the pmwiki-users mailing list