[6.0] ca5770ada man: Fix rendering of certain sections in vtc(7)
Dridi Boukelmoune
dridi.boukelmoune at gmail.com
Tue Dec 5 11:24:05 UTC 2023
commit ca5770ada1b18e44e6961b92b62d197f5b80863d
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date: Mon Nov 28 17:17:15 2022 +0100
man: Fix rendering of certain sections in vtc(7)
The matching regular expression did not align with the substitution
regular expression.
Refs d2e526ce95d6d8426ec170b4cfc78d41abc07179
diff --git a/doc/sphinx/vtc-syntax.py b/doc/sphinx/vtc-syntax.py
index 33aad14b6..1c40f30d5 100644
--- a/doc/sphinx/vtc-syntax.py
+++ b/doc/sphinx/vtc-syntax.py
@@ -36,7 +36,7 @@ import re
def parse_file(fn, cl, tl, sl):
p = False
section = ""
- resec = re.compile("\s*/\* SECTION: ")
+ resec = re.compile("\s*/?\* SECTION: ")
f = open(fn, "r", encoding="UTF-8")
More information about the varnish-commit
mailing list