October 21, 2013 Re: globMatch: distinguish double ** (recursive) vs single * | ||||
---|---|---|---|---|
| ||||
Attachments:
| To clarify, this is in agreement with D docs, but I'm not sure this is what makes most sense. On Sun, Oct 20, 2013 at 6:49 PM, Timothee Cour <thelastmammoth@gmail.com>wrote: > I was hoping std.path.globMatch distinguished single * (non-recursive) vs > double ** (recursive) > so that: > "a1/a2/a3.txt".globMatch("*/a3.txt") returns false > "a1/a2/a3.txt".globMatch("**/a3.txt") returns true > as in good shells (and python 3.4 IRRC) but it's not the case. > > Is that intended? > |
Copyright © 1999-2021 by the D Language Foundation