gobwas / glob

Go glob
MIT License
948 stars 63 forks source link

Is there any case when glob.Compile returns an error? #63

Open iav0207 opened 9 months ago

iav0207 commented 9 months ago

I'm writing tests for my code using glob package and can't find any pattern that wouldn't compile. I was looking at the test cases in this repository and didn't find any error cases either.

So my question is: is there any input to glob.Compile that would yield an error?

I tried inputs with unbalanced brackets ([ and {), they did compile as well.