Jan Borsodi  committed 02a1580

Removed flags from re.sub, not supported on all python versions and not really needed.

  • Participants
  • Parent commits 385a577
  • Branches default

Comments (0)

Files changed (1)

File hob/

     elif cmt.startswith("/**") and cmt.endswith("*/"):
         m = re.match(r"/\*\*(?:\w*[\n])?(.+)/$", cmt, re.DOTALL | re.MULTILINE)
         cmt =
-        cmt = "".join([re.sub("^[ \t]*[*]", "", line, flags=re.MULTILINE) for line in cmt.splitlines(True)])
+        cmt = "".join([re.sub("^[ \t]*[*]", "", line) for line in cmt.splitlines(True)])
     return textwrap.dedent(cmt)
 words_re = re.compile("([A-Z][A-Z0-9]*(?=[A-Z][a-z0-9]))|([A-Z][A-Z0-9]*$)|([A-Z][a-z0-9]*)|([a-z][a-z0-9]*)")