Skip to content
New issue

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

Inconsistent behaviors between /foo/bar/** and /foo/*/** #210

Open
vilicvane opened this issue Aug 29, 2020 · 0 comments
Open

Inconsistent behaviors between /foo/bar/** and /foo/*/** #210

vilicvane opened this issue Aug 29, 2020 · 0 comments

Comments

@vilicvane
Copy link

(Thanks for reporting an issue to micromatch! If you haven't already read the contributor guidelines, Please do that now, then proceed to fill out the details below.)

Please describe the minimum necessary steps to reproduce this issue:

minimatch.isMatch('/foo/bar', '/foo/bar/**'); // true
minimatch.isMatch('/foo/bar', '/foo/*/**'); // false

I was expecting both result in false (or true, but I'd prefer false, and that's also the behavior of minimatch).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant