Re: directory wildcard

2012-05-19 Thread Arne
On Saturday, 19 May 2012 at 03:46:32 UTC, Jay Norwood wrote: Here is a link to some code for the wildArgv single level search that I'm using. https://github.com/jnorwood/file_utils This is roughly how I was using it, related to your example string[] argv; argv ~= r"c:\partial*

Re: directory wildcard

2012-05-18 Thread Jay Norwood
On Friday, 18 May 2012 at 22:10:36 UTC, Arne wrote: According to: http://dlang.org/phobos/std_path.html#globMatch it is possible to use wildcards spanning multiple directories. assert (globMatch(`foo/foo\bar`, "f*b*r")); But wildcards with dirEntries() seem less powerful. `c:\partial*\path\*.

directory wildcard

2012-05-18 Thread Arne
According to: http://dlang.org/phobos/std_path.html#globMatch it is possible to use wildcards spanning multiple directories. assert (globMatch(`foo/foo\bar`, "f*b*r")); But wildcards with dirEntries() seem less powerful. `c:\partial*\path\*.d` If I were to use: absolutePath + filter! + globMa