assume set lookup is about as fast as regex