Fix mwDeck edition tag parsing on deck load (#3057)
* Update decklist.cpp Changed parsing code, line 565 and 567
This commit is contained in:
parent
d13cf65a10
commit
c1bd50f186
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue