rename CharacterPattern to CharacterClass