Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
perlgeek
· 11y ago · 0 comments
When you talking about where zero-width regexes match, this mental model certainly helps, and I find it consistent otherwise too.
Comments
[–]
nelhage
11y ago
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