An Algorithm to Reliably Identify Nested Substrings | Hacker News Reader