Commit 2c1e57096f90cd7e5798c06c4dc4700aa913b2e6

Werner Lemberg 2004-09-08T13:36:39

* 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.

diff --git a/ChangeLog b/ChangeLog
index 0145133..2ab8d38 100644
--- 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
diff --git a/src/tools/docmaker/sources.py b/src/tools/docmaker/sources.py
index 4923005..1928ae1 100644
--- a/src/tools/docmaker/sources.py
+++ b/src/tools/docmaker/sources.py
@@ -93,7 +93,7 @@ start = r'''
 
 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)
 '''