Ignore deprecated errors until ereg -> preg done.