diff --git a/oracle/src/oracleimporter.cpp b/oracle/src/oracleimporter.cpp index 565bf908b..d48824cc0 100644 --- a/oracle/src/oracleimporter.cpp +++ b/oracle/src/oracleimporter.cpp @@ -141,9 +141,9 @@ CardInfoPtr OracleImporter::addCard(QString name, // DETECT CARD POSITIONING INFO // cards that enter the field tapped - bool cipt = text.contains(" it enters the battlefield tapped") || - (text.contains(name + " enters the battlefield tapped") && - !text.contains(name + " enters the battlefield tapped unless")); + QRegularExpression ciptRegex("( it|" + QRegularExpression::escape(name) + + ") enters( the battlefield)? tapped(?! unless)"); + bool cipt = ciptRegex.match(text).hasMatch(); // table row int tableRow = 1;