Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I wrote a similar glob-style string matching, but it's far more than 30 lines (130 lines of C):

https://github.com/antirez/redis/blob/unstable/src/util.c#L1...

I use it in Redis, but in general being "glob matching" more standard compared to a regexp subset people are more likely to know the syntax.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: