[Zope-Checkins] CVS: Zope2 - User.py:1.145.8.3

Andreas Jung andreas@dhcp165.digicool.com
Mon, 23 Apr 2001 12:25:21 -0400


Update of /cvs-repository/Zope2/lib/python/AccessControl
In directory yetix:/work/sandboxes/ajung-2_4-ts_regex-exterminiation-branch/lib/python/AccessControl

Modified Files:
      Tag: ajung-2_4-ts_regex-exterminiation-branch
	User.py 
Log Message:
added r".." notation for regexes



--- Updated File User.py in package Zope2 --
--- User.py	2001/04/19 11:52:48	1.145.8.2
+++ User.py	2001/04/23 16:25:19	1.145.8.3
@@ -984,8 +984,8 @@
     roles.sort()
     return roles
 
-addr_match=re.compile('[0-9\.\*]*').match #TS
-host_match=re.compile('[-A-Za-z0-9\.\*]*').match #TS
+addr_match=re.compile(r'[0-9\.\*]*').match #TS
+host_match=re.compile(r'[-A-Za-z0-9\.\*]*').match #TS
 
 
 def domainSpecMatch(spec, request):