Updating depreciated ereg statement.