specialsre, escapesre: In SF bug #663369, Matthew Woodcraft points out
that backslashes must be escaped in character sets.
This commit is contained in:
parent
a2e64702ca
commit
a2369928b5
|
@ -54,8 +54,8 @@ EMPTYSTRING = ''
|
||||||
UEMPTYSTRING = u''
|
UEMPTYSTRING = u''
|
||||||
CRLF = '\r\n'
|
CRLF = '\r\n'
|
||||||
|
|
||||||
specialsre = re.compile(r'[][\()<>@,:;".]')
|
specialsre = re.compile(r'[][\\()<>@,:;".]')
|
||||||
escapesre = re.compile(r'[][\()"]')
|
escapesre = re.compile(r'[][\\()"]')
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue