Remix.run Logo
hu3 18 hours ago

Interesting. I have used look behind before without knowing their specifics. AI generated a regex and unit tests passed so I carried on with life.

Searching for a simple explanation of how it works, I found this which also explains negative look behind and look ahead. TIL:

https://www.phptutorial.net/php-tutorial/regex-lookbehind/