use lookup table for "accept" chars