Open Eyal-Shalev opened 5 years ago
Currently the glob function expects that if a wildcard exists in the path, it will exist in its very end. I.E. /some/path/with/wildcard.*
glob
/some/path/with/wildcard.*
But a path like /another/path/*/with/wildcard is not supported and will always return nil (unless you have a directory named *).
/another/path/*/with/wildcard
nil
*
Currently the
glob
function expects that if a wildcard exists in the path, it will exist in its very end. I.E./some/path/with/wildcard.*
But a path like
/another/path/*/with/wildcard
is not supported and will always returnnil
(unless you have a directory named*
).