add preg_match_all to Curl.php, small fix