solve WildchardMatching