Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

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

Search: