Completion is done when you type TAB
. The Emacs completer does not
grok wildcards in filenames. Once you type a wildcard, the completer will
no longer work for that path. Remember that Emacs interprets a file name
of the form /foo//bar as /bar and /foo/~/bar as
~/bar.