Re:A Regular Expression Matcher in 30 lines of C
by perlgeek on Sunday July 03, 2011 @04:52PM
(#2724565)
Yes, matching regular expressions is easy, if you don't care about speed or features. Like, being able to match a literal dot or asterisk. Or char classes, or getting case insensitivity right (like the German ß that matches SS, so case folding needs not to preserve string length).
Still nice to see that it can be done in so few lines.
Still nice to see that it can be done in so few lines.