gobwas/glob

Rejects commas

Closed this issue · 4 comments

calmh commented

Parsing a pattern like foo,bar.txt fails with syntax error: separator not inside terms list. Obviously, this is intentional. However it would make more sense to me to accept this as a literal comma as that is a valid filename character and the lack of brackets does indicate a terms list was not intended here.

Hi, @calmh!
Looks like you are right. I will try to check this thing this week.
Thanks!

Hi @calmh! Could you check current version? Just pushed changes into the master..

calmh commented

It passes my tests! :) Thank you!

🍻