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 return nil (unless you have a directory named *).
Currently the
globfunction 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/wildcardis not supported and will always returnnil(unless you have a directory named*).