remove unnecessary `any` charclass