News for hackers. Stuff that matters.
Re:A Regular Expression Matcher in 30 lines of C by antirez on Sunday July 03, 2011 @09:18AM (#2723639)
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.

There are no comments on this comment yet.