Hacker News new | past | comments | ask | show | jobs | submit login

Funny, after the thread about J. Rees T, I dug the web and ended up there https://web.archive.org/web/20061013002258/http://fresh.home...

small world

ps: I just peeked at the regexp function, did someone told you or did you come up with it on your own ? it's so damn short




Small world indeed :) that's really old code, I don't remember much about it :)


Regex code was probably based on the standard Erlang regex module that Robert Virding wrote. Simplified by skipping the regex syntax and writing the AST directly (like in scsh.)


Ha, great, another name to google :p

ps: always skip the parsing.


I had some fun Haskelling Thompson's algorithm too: https://github.com/darius/sketchbook/blob/master/regex/nfave... -- though I think Haskell's at a disadvantage for this one.




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

Search: