correct a bug for predefinedCharClass