Switch re.I to re.IGNORECASE for readability