[Zope-Checkins] CVS: Zope2 - DocumentWithImages.py:1.3
andreas@serenade.digicool.com
andreas@serenade.digicool.com
Mon, 4 Jun 2001 13:53:41 -0400
Update of /cvs-repository/Zope2/lib/python/StructuredText
In directory serenade:/tmp/cvs-serv16571
Modified Files:
DocumentWithImages.py
Log Message:
added warning for existing bug
--- Updated File DocumentWithImages.py in package Zope2 --
--- DocumentWithImages.py 2001/01/04 15:01:59 1.2
+++ DocumentWithImages.py 2001/06/04 17:53:40 1.3
@@ -108,6 +108,9 @@
expr2=re.compile('\"([ _a-zA-Z0-9*.:/;,\-\n\~]+)\":img:([a-zA-Z0-9\-.:/;,\n\~]+):([a-zA-Z0-9\-.:/;,\n\~]+)').search
):
+ # Warning: the regex are getting confused when the string after :img:
+ # is an URL containing ":" (Collector #2276)
+
r = expr2(s)
if r: