updated one-wildcard search to be like two-wild