Commit a2369928 authored by Barry Warsaw's avatar Barry Warsaw

specialsre, escapesre: In SF bug #663369, Matthew Woodcraft points out

that backslashes must be escaped in character sets.
parent a2e64702
......@@ -54,8 +54,8 @@ EMPTYSTRING = ''
UEMPTYSTRING = u''
CRLF = '\r\n'
specialsre = re.compile(r'[][\()<>@,:;".]')
escapesre = re.compile(r'[][\()"]')
specialsre = re.compile(r'[][\\()<>@,:;".]')
escapesre = re.compile(r'[][\\()"]')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment