diff --git a/tools/gt-analyze-similar-decks.py b/tools/gt-analyze-similar-decks.py index 3382b453..a2dd7b5a 100755 --- a/tools/gt-analyze-similar-decks.py +++ b/tools/gt-analyze-similar-decks.py @@ -12,8 +12,8 @@ # 96.4578 GW_GT_DEF_107: Battlemaster Krellus, Alpha Scimitar, Silv... # Arena.Guild.<:-(nick)*(name)-:>: Battlemaster Krellus, Alpha Scimitar, Silv... -DECK_FMT = re.compile("^(?P(?P\s*[0-9.]+\s+)?(?P.+?): )(?P.*)$") -CARD_FMT = re.compile("^(?P.+?)(?P-\d)?\s*(?:\s+#(?P\d+))?$") +DECK_FMT = re.compile(r"^(?P(?P\s*[0-9.]+\s+)?(?P.+?): )(?P.*)$") +CARD_FMT = re.compile(r"^(?P.+?)(?P-\d)?\s*(?:\s+#(?P\d+))?$") class NameCountType: CARD_TYPE_COMMANDER = 1