Fixed regex for Opera Mobile to work with preg_match in php.

Fixed a regex for Opera Mobile to work with preg_match in php.