Implementing wildcard matching logic.