MarcWeber/vim-addon-manager — comment on commit 65278d0eefb5ee295c6a660a783d7010c6302dc0
File: autoload/vam/install.vim line 363
By ZyX-I:

Perhaps you meant `substitute(a:n,'\*','.*','g')`?