about summary refs log tree commit diff
path: root/buildtools/makeman
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2024-03-30 18:31:01 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2024-03-30 18:31:01 +0000
commit81c59f730dacf62c927eb57dcadeecffe8b8daea (patch)
treea67cc5906891e0965c3a9d8cea80deacbc7f1930 /buildtools/makeman
parent19387d1be30e80e8c4e865bfe053aed1094ca8af (diff)
downloadnetpbm-mirror-81c59f730dacf62c927eb57dcadeecffe8b8daea.tar.gz
netpbm-mirror-81c59f730dacf62c927eb57dcadeecffe8b8daea.tar.xz
netpbm-mirror-81c59f730dacf62c927eb57dcadeecffe8b8daea.zip
promote Development to Advanced
git-svn-id: http://svn.code.sf.net/p/netpbm/code/advanced@4897 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'buildtools/makeman')
-rwxr-xr-xbuildtools/makeman4
1 files changed, 2 insertions, 2 deletions
diff --git a/buildtools/makeman b/buildtools/makeman
index 641ef856..6e4bb52b 100755
--- a/buildtools/makeman
+++ b/buildtools/makeman
@@ -183,7 +183,7 @@ def makeman(name, file, indoc):
     indoc = indoc.replace("&#174;", r"\*R")
     indoc = indoc.replace("&copy;", r"\(co")
     # Turn anchors into .UN tags
-    indoc = re.sub('(?i)<A NAME *= *"#?([a-zA-Z_][a-zA-Z_0-9.-]+)">(?:&nbsp;)*</A>\s*', ".UN \\1\n", indoc)
+    indoc = re.sub(r'(?i)<A NAME *= *"#?([a-zA-Z_][a-zA-Z_0-9.-]+)">(?:&nbsp;)*</A>\s*', ".UN \\1\n", indoc)
     # Strip off the index trailer
     trailer = re.compile('<HR */*>.*', re.DOTALL | re.IGNORECASE)
     indoc = re.sub(trailer, "", indoc)
@@ -218,7 +218,7 @@ def makeman(name, file, indoc):
     indoc = re.sub("(?i) *</DD>", "", indoc)
     # Process unordered lists -- just turn them into .TPs
     indoc = re.sub("(?i)</?[UO]L *(COMPACT)?>", "", indoc)
-    indoc = re.sub("(?i) *<LI>", ".IP \(bu\n", indoc)
+    indoc = re.sub("(?i) *<LI>", r".IP \(bu\n", indoc)
     indoc = re.sub("(?i) *</LI>", "", indoc)
     # No-print tags
     indoc = re.sub("<!--no_print-->.*", "", indoc)