Describe the bug
expandGlob/expandGlobSync do not match non-glob path segments with escaped glob characters.
Steps to Reproduce
- File is
[file].txt
- Try to use
globSync/glob to find \[file\].txt
Expected behavior
Should match, but it doesn't.
Environment