Make method regex case-insensitive.