TLDR Web Dev · QUICK LINKS
REGEX CHARACTER “$” DOESN'T MEAN “END-OF-STRING”
Summary from the TLDR Web Dev newsletter
The regex character '$' doesn't always mean "end-of-string" in Python - it also matches the position before a trailing newline, making reliable end-of-string matching language-dependent.