updated preg_match errors in search.php 2