[library-web] allow dashes in gtk-doc extracted from meson.build
- From: Frederic Peters <fpeters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [library-web] allow dashes in gtk-doc extracted from meson.build
- Date: Sun, 14 Jan 2018 07:43:54 +0000 (UTC)
commit 0f7868bf3bef6bfd06b8b1c9c776c3506b4bed2b
Author: Frédéric Péters <fpeters 0d be>
Date: Sun Jan 14 08:43:17 2018 +0100
allow dashes in gtk-doc extracted from meson.build
src/modtypes/base.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/modtypes/base.py b/src/modtypes/base.py
index 87cb486..204eaf9 100644
--- a/src/modtypes/base.py
+++ b/src/modtypes/base.py
@@ -73,7 +73,7 @@ class DocModule(object):
self.modulename = re.sub('-\d+\.\d+$', '', self.modulename)
elif meson_build:
self.meson_build = meson_build
- match = re.findall(r"gnome.gtkdoc\s*\(\s*'(\w+)'", meson_build, re.DOTALL)
+ match = re.findall(r"gnome.gtkdoc\s*\(\s*'([\w-]+)'", meson_build, re.DOTALL)
assert match
self.modulename = match[0]
else:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]