[pmwiki-users] markup question

Patrick R. Michaud pmichaud at pobox.com
Thu Feb 14 10:16:37 CST 2008


On Thu, Feb 14, 2008 at 04:02:31PM +0100, noskule wrote:
> hi list
> could someone please take a look at this markup. I cant get it to work. 
> It should rpoduce a fieldset:
> 
> code:
> Markup('fieldset', '<split',
>     '/\\(:fieldset (\\[\d\s\w]+):\\)(.*?)\(:fieldsetend:\)/s',
>     "<fieldset>\n<legend>$1</legend>\n$2\n</fieldset>");

You probably don't want the \\ before the [.  

Pm



More information about the pmwiki-users mailing list