fitzgen / glob-to-regexp

Convert a glob to a regular expression
152 stars 23 forks source link

Handle "*" and "**" differently in the extended mode #9

Closed nikolakanacki closed 8 years ago

nikolakanacki commented 8 years ago

I needed this a couple of times and it seamed like a good fit. Maybe should have its own key in the options object, don't know, would be glad to hear suggestions.

fitzgen commented 8 years ago

Thanks for the pull request! I'll merge this in as soon as you extend the tests for the new functionality. Thanks!

fitzgen commented 8 years ago

Merged #6 instead.