[Zope-Checkins] CVS: Zope2 - DT_HTML.py:1.24.84.5

chrism@serenade.digicool.com chrism@serenade.digicool.com
Tue, 24 Apr 2001 15:18:05 -0400


Update of /cvs-repository/Zope2/lib/python/DocumentTemplate
In directory serenade.digicool.com:/home/chrism/sandboxes/RegexExtermination/lib/python/DocumentTemplate

Modified Files:
      Tag: ajung-2_4-ts_regex-exterminiation-branch
	DT_HTML.py 
Log Message:
made dtml work.


--- Updated File DT_HTML.py in package Zope2 --
--- DT_HTML.py	2001/04/23 16:18:12	1.24.84.4
+++ DT_HTML.py	2001/04/24 19:18:04	1.24.84.5
@@ -95,7 +95,7 @@
     """ This needs to be replaced before 2.4.  It's a hackaround. """
     def search(self, text, start=0,
                name_match=re.compile(r'[\0- ]*[a-zA-Z]+[\0- ]*').match,
-               end_match=re.compile(r'[\0- ]*(/\|end)', re.I).match,
+               end_match=re.compile(r'[\0- ]*(/|end)', re.I).match,
                start_search=re.compile(r'[<&]').search,
                ent_name=re.compile(r'[-a-zA-Z0-9_.]+').match,
                find=find,