[Python-checkins] python/dist/src/Lib/email Utils.py,1.23,1.24

bwarsaw@users.sourceforge.net bwarsaw@users.sourceforge.net
Mon, 10 Mar 2003 11:20:21 -0800


Update of /cvsroot/python/python/dist/src/Lib/email
In directory sc8-pr-cvs1:/tmp/cvs-serv24677

Modified Files:
	Utils.py 
Log Message:
specialsre, escapesre: In SF bug #663369, Matthew Woodcraft points out
that backslashes must be escaped in character sets.


Index: Utils.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/email/Utils.py,v
retrieving revision 1.23
retrieving revision 1.24
diff -C2 -d -r1.23 -r1.24
*** Utils.py	10 Mar 2003 17:36:04 -0000	1.23
--- Utils.py	10 Mar 2003 19:20:18 -0000	1.24
***************
*** 55,60 ****
  CRLF = '\r\n'
  
! specialsre = re.compile(r'[][\()<>@,:;".]')
! escapesre = re.compile(r'[][\()"]')
  
  
--- 55,60 ----
  CRLF = '\r\n'
  
! specialsre = re.compile(r'[][\\()<>@,:;".]')
! escapesre = re.compile(r'[][\\()"]')