rebase: fix on-line location extraction from devhelp files
commitb77d97bfe0186eb727604dbad565dc4dde0eb273
authorTim-Philipp Müller <tim@centricular.com>
Mon, 5 Mar 2018 00:28:29 +0000 (5 00:28 +0000)
committerStefan Sauer <ensonic@users.sf.net>
Mon, 19 Mar 2018 19:19:11 +0000 (19 20:19 +0100)
treeccf46415ea44dba5c5a3e0d512645901f7152644
parent35992a3dc0a5a310839c25e800ec8192657231a9
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