[pmwiki-users] Custom Markup simple problem

2007-09-07 Thread Fredrik
It might be simple but I can't see what I do wrong. Here is my really advanced function so far... ?php if (!defined('PmWiki')) exit(); Markup('test', 'directives', /^\(:test[]*(.*?):\)\s*$/e, test('$1')); function test($opts) { $args = ParseArgs($opts); $out =

Re: [pmwiki-users] Custom Markup simple problem

2007-09-07 Thread Patrick R. Michaud
On Fri, Sep 07, 2007 at 03:58:10PM +0200, Fredrik wrote: It might be simple but I can't see what I do wrong. Here is my really advanced function so far... ?php if (!defined('PmWiki')) exit(); Markup('test', 'directives', /^\(:test[ ]*(.*?):\)\s*$/e, test('$1')); function