Hacker News new | ask | show | jobs
by dwheeler 785 days ago
You want \Z in Python, and \z in most other languages, to match on end of string. But in some languages $ really does match end of string. As always, you must check your docs.