[pmwiki-users] <!--function:

Patrick R. Michaud pmichaud at pobox.com
Sun Dec 11 21:45:51 CST 2005


On Sun, Dec 11, 2005 at 10:05:42PM -0500, DaveG wrote:
> Going back to an earlier thread:
> >   Markup('^trail:', 'directives',
> >     '/^trail:(.*)/e',
> >     "\$GLOBALS['TrailSource']='$1'");
> 
> Leaves the text of $1 on the wiki, rather than simply removing it totally.

Ohhh, sorry about that.

   Markup('^trail:', 'directives',
     '/^trail:(.*)/e',
     "PZZ(\$GLOBALS['TrailSource']='$1')");

The PZZ() function is defined in PmWiki and simply returns an empty
string regardless of any arguments it receives.

Pm





More information about the pmwiki-users mailing list