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

Yep! As mentioned in the comments, the logic you get this way isn't exactly the same as Thompson's, but it's very close. You're welcome.

FWIW I drafted a lot of variations while messing with this: https://github.com/darius/sketchbook/tree/master/regex (some of this code is incorrect) and https://github.com/darius/sketchbook/tree/master/lex.



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

Search: