mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-03-25 07:21:38 +01:00
39 lines
1.2 KiB
Diff
39 lines
1.2 KiB
Diff
Patch-Source: 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>
|
|
---
|
|
docsrc/post.py | 6 +++---
|
|
1 file changed, 3 insertions(+), 3 deletions(-)
|
|
|
|
diff --git a/docsrc/post.py b/docsrc/post.py
|
|
index 7aaf22214..0e77811c0 100644
|
|
--- a/docsrc/post.py
|
|
+++ b/docsrc/post.py
|
|
@@ -85,18 +85,18 @@
|
|
</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 .+ -->)
|