Regex matching with nonograms and finite state machines | Hacker News Reader