A simple wildcard matcher