Thanks to visit codestin.com Credit goes to github.com
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 507f15b commit 68ded21Copy full SHA for 68ded21
1 file changed
Lib/mimify.py
@@ -239,7 +239,7 @@ def mime_encode(line, header):
239
line = line[i:]
240
return newline + line
241
242
-mime_header = regex.compile('\\([ \t(]\\)\\([-a-zA-Z0-9_+]*[\240-\377][-a-zA-Z0-9_+\240-\377]*\\)\\([ \t)]\\|$\\)')
+mime_header = regex.compile('\\([ \t(]\\|^\\)\\([-a-zA-Z0-9_+]*[\240-\377][-a-zA-Z0-9_+\240-\377]*\\)\\([ \t)]\\|$\\)')
243
244
def mime_encode_header(line):
245
'''Code a single header line as quoted-printable.'''
0 commit comments