Re: [A-a-p-user] expand2list
Brought to you by:
vimboss
From: Bram M. <Br...@mo...> - 2004-09-17 15:36:10
|
Tim Hemel wrote: > Is the following behaviour intended? > > expand2list("patches-*") results in ['patches-*'] when there is no > wildcard match. I would expect to see an empty list instead. Yes, when there is no match the original item is used. Helps when a file name actually contains a * or ?. Is this a problem? -- OLD WOMAN: King of the WHO? ARTHUR: The Britons. OLD WOMAN: Who are the Britons? "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ Project leader for A-A-P -- http://www.A-A-P.org /// \\\ Buy at Amazon and help AIDS victims -- http://ICCF.nl/click1.html /// |