shithub: freetype+ttf2subf

Download patch

ref: 2c1e57096f90cd7e5798c06c4dc4700aa913b2e6
parent: 619e147621dfea47b67b16ccdd58ebdedd79e048
author: Werner Lemberg <wl@gnu.org>
date: Wed Sep 8 09:36:39 EDT 2004

* src/tools/docmaker/sources.py (re_source_block_format2) <column>:
Use lookahead assertion to not match `*/'.  This removes spurious
insertions of `/' in the HTML output.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2004-09-08  Werner Lemberg  <wl@gnu.org>
+
+	* src/tools/docmaker/sources.py (re_source_block_format2) <column>:
+	Use lookahead assertion to not match `*/'.  This removes spurious
+	insertions of `/' in the HTML output.
+
 2004-09-07  Werner Lemberg  <wl@gnu.org>
 
 	* src/truetype/ttgxvar.c (TT_Vary_Get_Glyph_Deltas): Fix call to
--- a/src/tools/docmaker/sources.py
+++ b/src/tools/docmaker/sources.py
@@ -93,7 +93,7 @@
 
 column = r'''
   \s*         # any number of whitespace
-  \*{1}       # followed by precisely one asterisk
+  \*{1}(?!/)  # followed by precisely one asterisk not followed by `/'
   (.*)        # then anything (group1)
 '''
 
--