[pmwiki-users] Help with preg_replace/e
vadmin at math.uconn.edu
Tue Feb 25 14:56:04 CST 2014
Dear PmWiki Users,
In trying to convert UpdateForm to be PHP 5.5 compatible, I ran into the last line of the original recipe -- The last three lines are:
//exit code copied bodily from forms.php
$FmtV['$UpdateFormArgs'] = implode(' ', $attr);
$out .= FmtPageName($opt[':html'], $pagename);
return preg_replace('/<(\\w+\\s)(.*)$/es',"'<$1'.Keep(PSS('$2'))", $out);
Now clearly this is from an old version of forms.php, but I don't really understand the expression to be evaluated. Can you help?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the pmwiki-users