Comment on Indices Point Between ElementsComments−perlgeek11yWhen you talking about where zero-width regexes match, this mental model certainly helps, and I find it consistent otherwise too.−nelhageOP11yzero-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
Comments
When you talking about where zero-width regexes match, this mental model certainly helps, and I find it consistent otherwise too.
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