-
Notifications
You must be signed in to change notification settings - Fork 112
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
The fixtures/{first,}/*
pattern returns incorrect results
#394
Comments
The // After expand brace expressions
[
'fixtures/first/*',
'fixtures//*' // incorrect
]
[
/^(?:fixtures\/first\/(?!\.)(?=.)[^/]*?\/?)$/,
/^(?:fixtures\/\/(?!\.)(?=.)[^/]*?\/?)$/
]
// fixtures/* (correct)
^(?:fixtures\/(?!\.)(?=.)[^/]*?\/?)$ Hm. From my point of view, micromatch generates a knowingly incorrect pattern. However, he did what he had to do - it expands the pattern without any additional processing. |
This was referenced Sep 9, 2024
This was referenced Sep 22, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Environment
Actual behavior
Expected behavior
The
fixtures/{first,}/*
can be considered as two patterns:fixtures/first/*
fixtures/*
Code sample
The text was updated successfully, but these errors were encountered: