Fixing the card importer failing when the "x2" came after the card name
This commit is contained in:
@@ -71,7 +71,7 @@ public class ImportCards {
|
||||
}
|
||||
}
|
||||
|
||||
private Pattern cardLinePattern = Pattern.compile("^(x?\\s*\\d+\\s*x?)?\\s*(.*)\\s*(x?\\d+x?)?\\s*$");
|
||||
private Pattern cardLinePattern = Pattern.compile("^(x?\\s*\\d+\\s*x?)?\\s*(.*?)\\s*(x?\\d+x?)?\\s*$");
|
||||
|
||||
private List<CardCount> getDecklist(String rawDecklist) {
|
||||
int quantity;
|
||||
|
||||
Reference in New Issue
Block a user