preg_replace (php function)
<p>how to use the values "returned" by preg_replace like that:</p>

<p><code>preg_replace($pattern, function('$1','$2'), $contents);</code>?</p>

<p>so it will pass the matches instead of $1 and $2 as a strings ('$1','$2');</p>
