Regex character “$” doesn't mean “end-of-string”
When I first discovered this behavior all I could think was that "I can't be the only one who doesn't know this". Here's a short article about some platform-specific regex behavior for the "$" character.
Read more: https://sethmlarson.dev/regex-%24-matches-end-of-string-or-newline
Don't miss what's next. Subscribe to sethmlarson.dev:
Start the conversation: