You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I have a path with a hidden file, input/.hidden.txt and a pattern that ignores some other file on the path, input/**/!(file.txt), micromatch matches the hidden file, even though the dot option is passed as false.
Minimatch does not match the pattern.
Neither micromatch nor minimatch match the pattern with the ! inside the parentheses: input/**/(!file.txt).
Is my pattern wrong or should micromatch support both styles as minimatch does?
Please describe the minimum necessary steps to reproduce this issue:
If I have a path with a hidden file,
input/.hidden.txt
and a pattern that ignores some other file on the path,input/**/!(file.txt)
, micromatch matches the hidden file, even though thedot
option is passed asfalse
.Minimatch does not match the pattern.
Neither micromatch nor minimatch match the pattern with the
!
inside the parentheses:input/**/(!file.txt)
.Is my pattern wrong or should micromatch support both styles as minimatch does?
Please describe the minimum necessary steps to reproduce this issue:
What is happening that shouldn't be?
What should be happening instead?
The text was updated successfully, but these errors were encountered: