summaryrefslogtreecommitdiff
path: root/tools/docs/docload.py
diff options
context:
space:
mode:
authorMagnus Hagander2020-01-09 12:25:59 +0000
committerMagnus Hagander2020-01-09 12:25:59 +0000
commite384b4c917e4a5c604baea975a9c69d38fe3dc4c (patch)
treebc72c33c465ac92324f4df24b772738355a7c146 /tools/docs/docload.py
parent69923c71906f24d6903800a8a6e8bd492eef4398 (diff)
Fix a number of incorrect escapes
Pointed out by newer versions of pep8, but they were never correct.
Diffstat (limited to 'tools/docs/docload.py')
-rwxr-xr-xtools/docs/docload.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/docs/docload.py b/tools/docs/docload.py
index 094d9651..362da79b 100755
--- a/tools/docs/docload.py
+++ b/tools/docs/docload.py
@@ -23,7 +23,7 @@ pagecount = 0
quiet = False
# regular expression used to search and extract the title on a given piece of
# documentation, for further use in the application
-re_titlematch = re.compile('<title\s*>([^<]+)</title\s*>', re.IGNORECASE)
+re_titlematch = re.compile(r'<title\s*>([^<]+)</title\s*>', re.IGNORECASE)
# regular expression used to find any images that are in the HTML and apply
# additional bootstrap classes
re_figure_match = re.compile('<div([^<>]+)class="figure"', re.IGNORECASE)