Wildcard support

This implements the needed plumbing to return all candidates matching inputs which contain "*" wildcards.