SF.net SVN: docutils:[10089 ] trunk/docutils/docutils/ writers/manpage.py

grubert--- via Docutils-checkins <[email protected]> Wed, 16 Apr 2025 17:20:21 +0000
Newsgroups gmane.text.docutils.cvs
Message-ID <[email protected]>
Revision: 10089
          http://sourceforge.net/p/docutils/code/10089
Author:   grubert
Date:     2025-04-16 17:20:19 +0000 (Wed, 16 Apr 2025)
Log Message:
-----------
Fix comments to NONBREAKING_INSERT_RE

Modified Paths:
--------------
    trunk/docutils/docutils/writers/manpage.py

Modified: trunk/docutils/docutils/writers/manpage.py
===================================================================
--- trunk/docutils/docutils/writers/manpage.py	2025-04-15 12:43:51 UTC (rev 10088)
+++ trunk/docutils/docutils/writers/manpage.py	2025-04-16 17:20:19 UTC (rev 10089)
@@ -91,11 +91,11 @@
 NONPRINTING_BREAKPOINT = r'\:'
 
 # after a slash series of
-# after?before at sign
+# after an at sign
 # after question marks
-# after question ampersands
-# after question number signs
-# (?=.) avoids matching the of string
+# after ampersands
+# after number signs
+# (?=.) avoids matching the end of string, requires something
 # TODO before each dot or a series of
 NONBREAKING_INSERT_RE = re.compile(r'([/@?&#]+)(?=.)')
 

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.