Fix parse_modules (#44)

This commit is contained in:
Regen
2021-10-03 12:46:02 +09:00
committed by GitHub
parent a5af5b505f
commit cbb6bdd1ae

View File

@@ -306,7 +306,7 @@ endforeach()
(?P<module>.+)\n (?P<module>.+)\n
-+\n+? -+\n+?
(?:(?P<header>\w[\w\s]+)\n\^+\n+?)? (?:(?P<header>\w[\w\s]+)\n\^+\n+?)?
(?P<doc>.(?:.|\n)+?\n\n) (?P<doc>(?:.|\n)*?\n\n)
""", """,
p.stdout + "\n\n", p.stdout + "\n\n",
re.VERBOSE, re.VERBOSE,