Use raw strings when escape sequences are needed
[mudpy.git] / mudpy / data.py
index 2e22c7e..8b7e731 100644 (file)
@@ -144,7 +144,7 @@ class DataFile:
                 for candidate in os.listdir(os.path.dirname(self.filename)):
                     if re.match(
                        os.path.basename(self.filename) +
-                       """\.\d+$""", candidate
+                       r"""\.\d+$""", candidate
                        ):
                         backups.append(int(candidate.split(".")[-1]))
                 backups.sort()