diff options
Diffstat (limited to 'www/zope29/patches/patch-ac')
-rw-r--r-- | www/zope29/patches/patch-ac | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/www/zope29/patches/patch-ac b/www/zope29/patches/patch-ac new file mode 100644 index 00000000000..6095807ac82 --- /dev/null +++ b/www/zope29/patches/patch-ac @@ -0,0 +1,13 @@ +$NetBSD: patch-ac,v 1.1 2006/08/17 11:57:25 darcy Exp $ + +--- lib/python/StructuredText/DocumentWithImages.py.orig Sat Jan 7 21:07:51 2006 ++++ lib/python/StructuredText/DocumentWithImages.py Sun Jan 15 10:23:46 2006 +@@ -27,7 +27,7 @@ + + def doc_img( + self, s, +- expr1=re.compile('\"([ _a-zA-Z0-9*.:/;,\[\]\'\-\n\~]+)\":img:([a-zA-Z0-9%\_\-.:/\?=;,\n\~]+)').search, ++ expr1=re.compile('\"((?:\w|[ *.:/;,\-\n\~])+)\":img:([a-zA-Z0-9\_\-.:/;,\n\~]+)', re.U).search, + ): + + |