parse char class