here, `pattern = -Wild('b', exclude=var)`, and then lines 26 and 27 can be deleted