Ticket #1443: imap4_quote.diff
| File imap4_quote.diff, 0.6 KB (added by therve, 7 years ago) |
|---|
-
imap4.py
3773 3773 inQuote = 1 3774 3774 start = i + 1 3775 3775 elif c == '"' and inQuote: 3776 inQuote = 0 3777 result.append(s[start:i]) 3778 start = i + 1 3776 if s[i-1] != '\\': 3777 inQuote = 0 3778 result.append(s[start:i]) 3779 start = i + 1 3779 3780 elif not inWord and not inQuote and c not in ('"' + string.whitespace): 3780 3781 inWord = 1 3781 3782 start = i
