From b77d97bfe0186eb727604dbad565dc4dde0eb273 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim-Philipp=20M=C3=BCller?= Date: Mon, 5 Mar 2018 00:28:29 +0000 Subject: [PATCH] rebase: fix on-line location extraction from devhelp files Fix regex to match online location: - only require one space before online=.. - don't require slash after online="https://.." Fix follow-up sub on match: - match.groups(1) returns a tuple, use match.group(1) to get a string back which is what we need to feed to re.sub() https://bugzilla.gnome.org/show_bug.cgi?id=794051 --- gtkdoc/rebase.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gtkdoc/rebase.py b/gtkdoc/rebase.py index b329c51..75713ce 100755 --- a/gtkdoc/rebase.py +++ b/gtkdoc/rebase.py @@ -140,10 +140,10 @@ def ReadDevhelp(dir, file): # online must come before chapter/functions if '