globMatch: distinguish double ** (recursive) vs single *

Timothee Cour thelastmammoth at gmail.com
Sun Oct 20 18:49:15 PDT 2013


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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20131020/0a63b868/attachment.html>


More information about the Digitalmars-d-learn mailing list