We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
foo/**
foo/
I would expect that foo/** matches everything inside the directory foo, but not the directory itself.
foo
const minimatch = require("minimatch"); minimatch("foo/", "foo/**"); // true, but it should be false.
The text was updated successfully, but these errors were encountered:
That expectation is incorrect.
$ mkdir -p foo/bar/baz $ echo foo/** foo/ foo/bar foo/bar/baz
Working as intended :)
Sorry, something went wrong.
You can use foo/*/** to match "everything 1 or more directory levels under foo/" though.
foo/*/**
No branches or pull requests
I would expect that
foo/**
matches everything inside the directoryfoo
, but not the directory itself.The text was updated successfully, but these errors were encountered: