[pmwiki-users] Custom Markup Expression: how to access quoted parameters

Hans design1 at softflow.uk
Sun Jun 4 08:36:47 CDT 2017


what is the best way to pass on to a custom Markup Expression function
one or more parameters in double quotes?

In function MarkupExpression() quoted strings are given Keep Tokens.
If I use preg_replace($rpat, $rrep, $params) I can then see only something like
$GLOBALS["KPV"][$m[1]]
If I use $params I then see something like 3P, i.e. the KeepToken


thanks for some tip!
Hans




More information about the pmwiki-users mailing list