From df0b867d9e9a28cf163fad9d125606dbb685fed9 Mon Sep 17 00:00:00 2001 From: ebbit1q Date: Thu, 25 Feb 2021 00:45:09 +0100 Subject: [PATCH] fix my mistake in meld regex (#4266) --- oracle/src/oracleimporter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oracle/src/oracleimporter.cpp b/oracle/src/oracleimporter.cpp index 6a112be8..f1ee9dde 100644 --- a/oracle/src/oracleimporter.cpp +++ b/oracle/src/oracleimporter.cpp @@ -356,7 +356,7 @@ int OracleImporter::importCardsFromSet(const CardSetPtr ¤tSet, if (!getStringPropertyFromMap(card, "side").isEmpty()) { properties["cmc"] = getStringPropertyFromMap(card, "faceConvertedManaCost"); if (layout == "meld") { // meld cards don't work - QRegularExpression meldNameRegex{"then meld them into ([\\.]*)"}; + static const QRegularExpression meldNameRegex{"then meld them into ([^\\.]*)"}; QString additionalName = meldNameRegex.match(text).captured(1); if (!additionalName.isNull()) { relatedCards.append(new CardRelation(additionalName, true));