[Zope-Checkins] CVS: Zope2 - HelpUtil.py:1.7.134.2

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


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

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



--- Updated File HelpUtil.py in package Zope2 --
--- HelpUtil.py	2001/04/18 19:09:43	1.7.134.1
+++ HelpUtil.py	2001/04/23 16:21:27	1.7.134.2
@@ -283,8 +283,8 @@
 
 
 # needs to be tested !!! The conversion of reconvert.convert looks suspicious
-pre_match=re.compile('[A-Za-z0-9_]*\\([^\\)]*\\)[ -]*').match # AJ
-sig_match=re.compile('[A-Za-z0-9_]*\\([^\\)]*\\)').match # AJ
+pre_match=re.compile(r'[A-Za-z0-9_]*\\([^\\)]*\\)[ -]*').match # AJ
+sig_match=re.compile(r'[A-Za-z0-9_]*\\([^\\)]*\\)').match # AJ
 
 class methodobject(object):