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
When running the glob ./{a/e,b/f}/{n,o,k}.txt, I expect to match the files ./a/e/n.txt, ./a/e/o.txt, ./b/f/n.txt, ./b/f/o.txt. tinyglobby however does not match any files.
When running the glob ./{a/e,b/f,**/*}/{n,o,k}.txt, I expect to match a total of 30 files. tinyglobby however does not match any files.
I've created a minimal reproduction example in https://github.com/jxn-30/tinyglobby-brace-expansion that shows how tinyglobby differs from fast-glob/globby at this point. Glob tester also shows how minimatch produces the same result as fast-glob/globby.
The text was updated successfully, but these errors were encountered:
SuperchupuDev
changed the title
[BUG]: tinyglobby ignores / in brace expansion
common path algorithm calculates parts wrong with / inside part
Dec 18, 2024
Given a nested file structure:
Click me to open file tree
When running the glob
./{a/e,b/f}/{n,o,k}.txt
, I expect to match the files./a/e/n.txt
,./a/e/o.txt
,./b/f/n.txt
,./b/f/o.txt
.tinyglobby
however does not match any files.When running the glob
./{a/e,b/f,**/*}/{n,o,k}.txt
, I expect to match a total of 30 files.tinyglobby
however does not match any files.I've created a minimal reproduction example in https://github.com/jxn-30/tinyglobby-brace-expansion that shows how
tinyglobby
differs fromfast-glob
/globby
at this point.Glob tester also shows how
minimatch
produces the same result asfast-glob
/globby
.The text was updated successfully, but these errors were encountered: