Added terminal parse failure for a character class