-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # 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
# for free
to join this conversation on GitHub.
Already have an account?
# 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: