mirror of
https://github.com/correl/mage.git
synced 2025-01-11 19:13:02 +00:00
Deck Editor load deck files: Fixed that also set codes with length of 2 or 4 chars work.
This commit is contained in:
parent
8fbb39990d
commit
f3d8a26574
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ import mage.cards.repository.CardRepository;
|
|||
*/
|
||||
public class DckDeckImporter extends DeckImporter {
|
||||
|
||||
private static final Pattern pattern = Pattern.compile("(SB:)?\\s*(\\d*)\\s*\\[([a-zA-Z0-9]{3}):(\\d*)\\].*");
|
||||
private static final Pattern pattern = Pattern.compile("(SB:)?\\s*(\\d*)\\s*\\[([a-zA-Z0-9]{2,4}):(\\d*)\\].*");
|
||||
|
||||
@Override
|
||||
protected void readLine(String line, DeckCardLists deckList) {
|
||||
|
|
Loading…
Reference in a new issue