Regex character "$" doesn't mean "end-of-string"(sethmlarson.dev)
380 points by BerislavLopac | 301 comments
Blog post by Seth Larson explaining that the regex "$" in Python's re module matches end-of-string or before a trailing newline, not strictly end-of-string.
