Commit 16b3e620133a5a874a4e27c7b158187180cef13c

Werner Lemberg 2014-11-30T20:58:27

* src/tools/docmaker/sources.py (column) [Format 2]: Fix regexp. After the single asterisk there must be no other immediately following asterisk.

diff --git a/ChangeLog b/ChangeLog
index cbd25e6..a0d3299 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2014-11-29  Werner Lemberg  <wl@gnu.org>
 
+	* src/tools/docmaker/sources.py (column) [Format 2]: Fix regexp.
+
+	After the single asterisk there must be no other immediately following
+	asterisk.
+
+2014-11-29  Werner Lemberg  <wl@gnu.org>
+
 	* src/tools/docmaker/tohtml.py: Improve CSS for vertical spacing.
 
 2014-11-29  Werner Lemberg  <wl@gnu.org>
diff --git a/src/tools/docmaker/sources.py b/src/tools/docmaker/sources.py
index d60fd44..61ecc22 100644
--- a/src/tools/docmaker/sources.py
+++ b/src/tools/docmaker/sources.py
@@ -98,9 +98,9 @@ start = r'''
 '''
 
 column = r'''
-  \s*        # any number of whitespace
-  \*{1}(?!/) # followed by precisely one asterisk not followed by `/'
-  (.*)       # then anything (group1)
+  \s*           # any number of whitespace
+  \*{1}(?![*/]) # followed by precisely one asterisk not followed by `/'
+  (.*)          # then anything (group1)
 '''
 
 end = r'''