We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5723107 commit 027aa0aCopy full SHA for 027aa0a
Lib/email/utils.py
@@ -45,6 +45,8 @@
45
CRLF = '\r\n'
46
TICK = "'"
47
48
+# These are used by formataddr() to understand what characters require a name
49
+# field to be quoted and what characters within that must be \escaped.
50
specialsre = re.compile(r'[][\\()<>@,:;". ]')
51
escapesre = re.compile(r'[\\"]')
52
0 commit comments