[pmwiki-users] markup expression: what name & where?

Hans design5 at softflow.co.uk
Mon Nov 12 16:28:13 CST 2007


Monday, November 12, 2007, 10:16:44 PM, Hans wrote:

> Has anyone an idea why this does not work?

> $fx[$name] = preg_replace("/\\{\\$\\$(\\(\\w+\\b.*?\\))\\}/e",
>      "MarkupExpression(\$pagename, PSS('$1'))", $value);


> With preg_match the pattern matches fine, but preg_replace does not go
> anywhere.

Sorry, I sorted this. It was an error in the foreach loop it was
nested.

It looks like that fox can process markup replacement variables now!


  ~Hans




More information about the pmwiki-users mailing list