Combines all items in LIST into one char class hash and returns it.
Items can be single characters, character ranges like (:RANGE #\A
#\E), or special character classes like :DIGIT-CLASS. Does the right
thing with respect to case-(in)sensitivity as specified by the
special variable FLAGS.