Added .lower() to fix regex error line 25