Enhancing regexp to also support CN with symbol in front (e.g. *180 in Theros promos)

This commit is contained in:
leriomaggio
2021-06-04 19:55:16 +01:00
parent 76ccc2f8b1
commit 446fc7dc35

View File

@@ -475,7 +475,7 @@ public final class CardEdition implements Comparable<CardEdition> {
* rarity - grouping #4
* name - grouping #5
*/
"(^([0-9A-Z]+.?) )?(([SCURML]) )?(.*)$"
"(^(.?[0-9A-Z]+.?) )?(([SCURML]) )?(.*)$"
);
ListMultimap<String, CardInSet> cardMap = ArrayListMultimap.create();