blob: e3da95c94ea04a029c265da11f05585da93cf187 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
https://github.com/ukoethe/vigra/issues/529
https://github.com/ukoethe/vigra/pull/594
From 5c2c21f7075836cdab84457632480a1cfabcec0f Mon Sep 17 00:00:00 2001
From: Alfred Wingate <parona@protonmail.com>
Date: Wed, 4 Dec 2024 23:36:44 +0200
Subject: [PATCH] Move away from inline global regex flag
Fixes: https://github.com/ukoethe/vigra/issues/529
Signed-off-by: Alfred Wingate <parona@protonmail.com>
--- a/docsrc/post.py
+++ b/docsrc/post.py
@@ -85,18 +85,18 @@ headingSummary = re.compile(r'''(<!-- Generated by Doxygen .+ -->
</div>
<div class="header">)
<div class="summary">
-(?s).*?</div>''')
+(?s:.)*?</div>''')
# tested with doxygen 1.8.2
headingSummary2 = re.compile(r'''(<!-- Generated by Doxygen .+ -->
</div><!-- top -->
<div class="header">)
<div class="summary">
-(?s).*?</div>''')
+(?s:.)*?</div>''')
# tested with doxygen 1.7.5.1
headingNavpath = re.compile(r'''(<!-- Generated by Doxygen .+ -->)
- <div id="nav-path" class="navpath">(?s).*?</div>''')
+ <div id="nav-path" class="navpath">(?s:.)*?</div>''')
# tested with doxygen 1.8.2
headingNavpath2 = re.compile(r'''(<!-- Generated by Doxygen .+ -->)
--
2.47.1
|