Use "\A \z", not "^ $" with Python regular expressions – Seth Larson sethmlarson.dev 6 points by rbanffy a day ago