Python Tostring Override, Note that this should not be a regular expression, as the implementation will call re.