1. 10
  1.  

    1. 3

      Cool! In case anyone needs a reminder

      https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Regular_expressions/Lookahead_assertion

      (?=pattern)
      (?!pattern)
      

      I have seen these used in say SublimeText syntax definitions a lot

      1. 2

        There are some related software artifacts which solve the problem of matching lookaround expressions efficiently:

        All of this is from 2024