Merge character classes