[Zope-Checkins] CVS: Zope2 - DocumentClass.py:1.15
andreas@serenade.digicool.com
andreas@serenade.digicool.com
Tue, 1 May 2001 13:07:41 -0400
Update of /cvs-repository/Zope2/lib/python/StructuredText
In directory serenade.digicool.com:/tmp/cvs-serv14870
Modified Files:
DocumentClass.py
Log Message:
fixed problem with two _ inside a string
--- Updated File DocumentClass.py in package Zope2 --
--- DocumentClass.py 2001/04/28 06:11:41 1.14
+++ DocumentClass.py 2001/05/01 17:07:40 1.15
@@ -914,7 +914,7 @@
def doc_underline(self,
s,
- expr=re.compile(r"\_([%s0-9\s\.,\?]+)\_" % letters).search):
+ expr=re.compile(r"\s*\_([%s0-9\s\.,\?]+)\_" % letters).search):
result = expr(s)
if result: