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*
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\*.
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