<html><head><title>Re: [pmwiki-users] general problem with pregreplace</title>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-15">
</head>
<body>
<span style=" font-family:'Courier New'; font-size: 9pt;">Hello Peter,<br>
<br>
Tuesday, April 15, 2014, 4:46:44 PM, you wrote:<br>
<br>
</span><table>
<tr>
<td width=2 bgcolor= #0000ff><br>
</td>
<td><span style=" font-family:'calibri'; font-size: 11pt;">So how to solve this? Any suggestion?</td>
</tr>
</table>
<br><br>
<span style=" font-family:'Courier New'; font-size: 9pt;">I think you could just replace each instance of Markup(...) with Markup_e(...)<br>
and remove the "e" from the "/ei" in the regex pattern part of the definition.<br>
That should do it for the Markup definitions you quoted, since no parameters are passed to the function called.<br>
<br>
Best regards,<br>
 Hans                         <br>
</span><a style=" font-family:'courier new'; font-size: 9pt;" href="mailto:design@softflow.co.uk">mailto:design@softflow.co.uk</a><br>
<a style=" font-family:'courier new'; font-size: 9pt;" href="http://www.softflow.co.uk">www.softflow.co.uk</a></body></html>