pattern can be ignored if action=set and var_in is blank