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
There are some related software artifacts which solve the problem of matching lookaround expressions efficiently:
All of this is from 2024
Cool! In case anyone needs a reminder
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Regular_expressions/Lookahead_assertion
I have seen these used in say SublimeText syntax definitions a lot
There are some related software artifacts which solve the problem of matching lookaround expressions efficiently:
All of this is from 2024