[pmwiki-users] markup questions

Patrick R. Michaud pmichaud at pobox.com
Wed Sep 7 15:20:50 CDT 2005

On Wed, Sep 07, 2005 at 10:06:14PM +0200, nexyufuli evo wrote:
> >>hi list
> >>I have a problem build this markup. Does someone see whats wrong here.
> >>Markup("explanation", "inline", 
> >>"/\(:explanation:\)(.*?)\(:explanationend:\)/", "<div 
> >>class='explanation'>$1</div>");
> I did try it in every way I could think of but without success. All what 
> was working was everything on the same line. With '/s' did you mean "and 
> any whitespace character" so it should be '\s' ?
> Could you please make an example how you would do it?
> /\(:explanation:\)(.*?|\s.*?)\(:explanationend:\)/


    Markup('explanation', '<split',
      "<div class='explanation'>$1</div>");


More information about the pmwiki-users mailing list