Closed travv0 closed 5 years ago
Looked through the code and realized it's because of the hidden directory. So never mind about that! On the other hand, should the second snippet be returning False
then?
Yes, the second result definitely looks like a bug. This is supposed to be what the matchDotsImplicitly
option in MatchOptions
controls.
Released as 0.10.0.
match (compile "haskell/sbu/**/dist/*") "haskell/sbu/.stack-work/dist/test"
(trying to use**
to match one level) returnsFalse
butmatch (compile "haskell/**/dist/*") "haskell/sbu/.stack-work/dist/test"
(using**
to match two levels) returnsTrue
.Is this a bug or am I missing something about how globs work?