mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-02 19:43:55 -07:00
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
|
// Filter out MWS edition symbols and basic land extras
|
||||||
QRegExp rx("\\[.*\\]");
|
QRegExp rx("\\[.*\\]\\s?");
|
||||||
line.remove(rx);
|
line.remove(rx);
|
||||||
rx.setPattern("\\(.*\\)");
|
rx.setPattern("\\s?\\(.*\\)");
|
||||||
line.remove(rx);
|
line.remove(rx);
|
||||||
|
|
||||||
// Filter out post card name editions
|
// Filter out post card name editions
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue