4 ms·
How to build a regex engine from scratch
- tmcdos 3y agoThis is really deep blog post. I am just curious - have you read this interesting post by Russ Cox from 2007 [1] Regular Expression Matching Can Be Simple And Fast (but is slow in Java, Perl, PHP, Python, Ruby, ...) which is part of a list [2] of related articles [1]: https://swtch.com/~rsc/regexp/regexp1.html https://swtch.com/~rsc/regexp/regexp1.html [2]: https://swtch.com/~rsc/regexp/ https://swtch.com/~rsc/regexp/
- asicsp 3y agoI'm not the post author, just sharing the link I saw elsewhere. Regarding the posts by Russ Cox, yeah I've come across them before :)