Fixes a crash...
Add support for simple wildcard matching.
Make use of the new wildcard function.