Implementing a Regular Expression Engine in JavaScript | Hacker News Reader