Now parse [CC-x] and [x-CC] as [CCx-] (where CC is some character
class), as a range cannot have a character class as an endpoint.