[Zope-Checkins] CVS: Zope2 - Bindings.py:1.4.4.1
Andreas Jung
andreas@dhcp165.digicool.com
Mon, 23 Apr 2001 12:29:57 -0400
Update of /cvs-repository/Zope2/lib/python/Shared/DC/Scripts
In directory yetix:/work/sandboxes/ajung-2_4-ts_regex-exterminiation-branch/lib/python/Shared/DC/Scripts
Modified Files:
Tag: ajung-2_4-ts_regex-exterminiation-branch
Bindings.py
Log Message:
added r".." notation for regex
--- Updated File Bindings.py in package Zope2 --
--- Bindings.py 2001/04/11 15:51:42 1.4
+++ Bindings.py 2001/04/23 16:29:57 1.4.4.1
@@ -109,7 +109,7 @@
('name_subpath', 'self._getTraverseSubpath()'),
)
- _isLegalName = re.compile('_$|[a-zA-Z][a-zA-Z0-9_]*$').match
+ _isLegalName = re.compile(r'_$|[a-zA-Z][a-zA-Z0-9_]*$').match
_asgns = {}
__allow_access_to_unprotected_subobjects__ = 1