Fix a casing error with the variable regex.