Commit cbc1730e authored by Antoine Regimbeau's avatar Antoine Regimbeau

ENH: re module in python does not support \letter since 3.6

parent cb29a776
Pipeline #443 passed with stage
in 23 minutes and 36 seconds
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment