aosabook/500lines

Regex Implementation

Closed this issue · 2 comments

rcoh commented

I recently wrote a 150 line Regex implementation and accompanying blog post -- someone mentioned this book. Would you guys be interested on me creating a chapter for it?

Impl: https://github.com/rcoh/toyregex/blob/master/regex.scala
Post: http://rcoh.svbtle.com/no-magic-regular-expressions

Hi @rcoh,

This looks promising, especially the latter half. (I also am unreasonably fond of Scala.)

Feel free to open a pull request here with your code and possibly the extracted post content if you'd like a review.

rcoh commented

Great will do this evening 👍