diff --git a/coder.py b/coder.py index 931c04085..7ea42eca8 100755 --- a/coder.py +++ b/coder.py @@ -376,7 +376,7 @@ class Coder: self.console.print(md) pattern = re.compile( - r"(^```\S*\s*)?^((?:[a-zA-Z]:\\|/)?(?:[\w\s.-]+[\\/])*\w+(\.\w+)?)\s+(^```\S*\s*)?^<<<<<<< ORIGINAL\n(.*?\n?)^=======\n(.*?)^>>>>>>> UPDATED", # noqa: E501 + r"(^```\S*\s*)?^((?:[a-zA-Z]:\\|/)?(?:[\w\s.-]+[\\/])*\w+(\.[\w\s.-]+)*)\s+(^```\S*\s*)?^<<<<<<< ORIGINAL\n(.*?\n?)^=======\n(.*?)^>>>>>>> UPDATED", # noqa: E501 re.MULTILINE | re.DOTALL, ) @@ -500,4 +500,4 @@ if __name__ == "__main__": from main import main status = main() - sys.exit(status) \ No newline at end of file + sys.exit(status)