Add solution to wildcard matching