Commit e9af6a8c authored by Dridi Boukelmoune's avatar Dridi Boukelmoune

doc: Use a raw string for regular expressions

Since Python 3.12 unknown escape sequences trigger a warning.
parent ca5770ad
......@@ -36,7 +36,7 @@ import re
def parse_file(fn, cl, tl, sl):
p = False
section = ""
resec = re.compile("\s*/?\* SECTION: ")
resec = re.compile(r"\s*/?\* SECTION: ")
f = open(fn, "r", encoding="UTF-8")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment