Fixed character class construction in parser.