Moved hex digit parsing into the parse method and out of the transition table