made a hacky fix to the legalChar parser. Cut the specific character tests