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
I have a file: assets/css.css and a pattern with question mark: assets/?ss.css.
The file doesn't match the pattern.
Expected behavior
Since ? is for a single character, I'd expect the file to match the pattern.
I tried same thing with glob and micromatch, both of them return a match.
After a small investigation I found that assets/?ss.css pattern is considered as statichere. is-glob package is used there and returns false for this pattern.
Environment
Actual behavior
I have a file:
assets/css.css
and a pattern with question mark:assets/?ss.css
.The file doesn't match the pattern.
Expected behavior
Since
?
is for a single character, I'd expect the file to match the pattern.I tried same thing with
glob
andmicromatch
, both of them return a match.After a small investigation I found that
assets/?ss.css
pattern is considered asstatic
here.is-glob
package is used there and returns false for this pattern.Steps to reproduce
Here is a repo with reproduction.
Use
yarn start
/npm start
or run index.js file.Code sample
The text was updated successfully, but these errors were encountered: