From cbc1730e36319ff3d100aba88eb2269897252d80 Mon Sep 17 00:00:00 2001 From: Antoine Regimbeau <antoine.regimbeau@c-s.fr> Date: Thu, 14 Mar 2019 15:07:51 +0100 Subject: [PATCH] ENH: re module in python does not support \letter since 3.6 --- Utilities/Doxygen/mcdoc.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Utilities/Doxygen/mcdoc.py b/Utilities/Doxygen/mcdoc.py index 3ff60f300e..b380dd153f 100644 --- a/Utilities/Doxygen/mcdoc.py +++ b/Utilities/Doxygen/mcdoc.py @@ -81,9 +81,9 @@ def checkGroup( fname, group ): # we don't care about doxygen fields not about a class if r"\class" in dcontent and dcontent != " \class classname ": # do we have a line with the expected content? - if not re.search(r"\ingroup .*"+group+"( |$)", dcontent, re.MULTILINE): + if not re.search(r"\\ingroup .*"+group+"( |$)", dcontent, re.MULTILINE): # get class name and the line for debug output - cname = re.search(r"\class +([^ ]*)", dcontent).group(1).strip() + cname = re.search(r"\\class +([^ ]*)", dcontent).group(1).strip() line = len(fcontent[:m.start(1)].splitlines()) sys.stderr.write(r'%s:%s: error: "\ingroup %s" not set in class %s.' % (fname, line, group, cname) +"\n") ret = 1 -- GitLab