parse wildcards