From c1bd50f1861a62fb5d3546d3303eda2dedb12471 Mon Sep 17 00:00:00 2001 From: dino572 <35634225+dino572@users.noreply.github.com> Date: Wed, 31 Jan 2018 23:29:18 +0100 Subject: [PATCH] Fix mwDeck edition tag parsing on deck load (#3057) * Update decklist.cpp Changed parsing code, line 565 and 567 --- common/decklist.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/decklist.cpp b/common/decklist.cpp index b100962d..74cfd294 100644 --- a/common/decklist.cpp +++ b/common/decklist.cpp @@ -562,9 +562,9 @@ bool DeckList::loadFromStream_Plain(QTextStream &in) } // Filter out MWS edition symbols and basic land extras - QRegExp rx("\\[.*\\]"); + QRegExp rx("\\[.*\\]\\s?"); line.remove(rx); - rx.setPattern("\\(.*\\)"); + rx.setPattern("\\s?\\(.*\\)"); line.remove(rx); // Filter out post card name editions