Hacker News new | ask | show | jobs
by perlgeek 3948 days ago
When you talking about where zero-width regexes match, this mental model certainly helps, and I find it consistent otherwise too.
1 comments

zero-width matches (and empty lines) were a huge source of stupid edge-case bugs in livegrep[1], and being rigorous about maintaining this mental model definitely helped a lot.

[1] livegrep.com