Regexp backtracking in loops, and how we can optimize it away | Hacker News Reader