mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
Revert "Add the ability to use hyphens in Collector numbers"
This reverts commit 0940e7433b.
This commit is contained in:
@@ -566,7 +566,6 @@ public final class CardEdition implements Comparable<CardEdition> {
|
|||||||
it should also match the Un-set and older alternate art cards
|
it should also match the Un-set and older alternate art cards
|
||||||
like Merseine from FEM.
|
like Merseine from FEM.
|
||||||
*/
|
*/
|
||||||
// Collector numbers now should allow hyphens for Planeswalker Championship Promos
|
|
||||||
//"(^(?<cnum>[0-9]+.?) )?((?<rarity>[SCURML]) )?(?<name>.*)$"
|
//"(^(?<cnum>[0-9]+.?) )?((?<rarity>[SCURML]) )?(?<name>.*)$"
|
||||||
/* Ideally we'd use the named group above, but Android 6 and
|
/* Ideally we'd use the named group above, but Android 6 and
|
||||||
earlier don't appear to support named groups.
|
earlier don't appear to support named groups.
|
||||||
@@ -580,7 +579,7 @@ public final class CardEdition implements Comparable<CardEdition> {
|
|||||||
* functional variant name - grouping #9
|
* functional variant name - grouping #9
|
||||||
*/
|
*/
|
||||||
// "(^(.?[0-9A-Z]+.?))?(([SCURML]) )?(.*)$"
|
// "(^(.?[0-9A-Z]+.?))?(([SCURML]) )?(.*)$"
|
||||||
"(^(.?[0-9A-Z-]+\\S?[A-Z]*)\\s)?(([SCURML])\\s)?([^@\\$]*)( @([^\\$]*))?( \\$(.+))?$"
|
"(^(.?[0-9A-Z]+\\S?[A-Z]*)\\s)?(([SCURML])\\s)?([^@\\$]*)( @([^\\$]*))?( \\$(.+))?$"
|
||||||
);
|
);
|
||||||
|
|
||||||
ListMultimap<String, CardInSet> cardMap = ArrayListMultimap.create();
|
ListMultimap<String, CardInSet> cardMap = ArrayListMultimap.create();
|
||||||
|
|||||||
@@ -3,41 +3,40 @@ Code=PWCS
|
|||||||
Date=2019-10-01
|
Date=2019-10-01
|
||||||
Name=Planeswalker Championship Promos
|
Name=Planeswalker Championship Promos
|
||||||
Type=Promo
|
Type=Promo
|
||||||
CardLang=ja
|
|
||||||
ScryfallCode=PWCS
|
ScryfallCode=PWCS
|
||||||
|
|
||||||
[cards]
|
[cards]
|
||||||
2019-1 U Pteramander @Simon Dominic
|
20191 U Pteramander @Simon Dominic
|
||||||
2019-2 R Experimental Frenzy @Simon Dominic
|
20192 R Experimental Frenzy @Simon Dominic
|
||||||
2019-3 M Vraska, Golgari Queen @Magali Villeneuve
|
20193 M Vraska, Golgari Queen @Magali Villeneuve
|
||||||
2020-1 U Narset, Parter of Veils @Magali Villeneuve
|
20201 U Narset, Parter of Veils @Magali Villeneuve
|
||||||
2020-2 R Nissa, Who Shakes the World @Chris Rallis
|
20202 R Nissa, Who Shakes the World @Chris Rallis
|
||||||
2020-3 M Liliana, Dreadhorde General @Chris Rallis
|
20203 M Liliana, Dreadhorde General @Chris Rallis
|
||||||
2020-4 U Mystical Dispute @Ekaterina Burmak
|
20204 U Mystical Dispute @Ekaterina Burmak
|
||||||
2020-5 R Fae of Wishes @Magali Villeneuve
|
20205 R Fae of Wishes @Magali Villeneuve
|
||||||
2020-6 M Elspeth, Sun's Nemesis @Livia Prima
|
20206 M Elspeth, Sun's Nemesis @Livia Prima
|
||||||
2021-1 M Basri Ket @Takayama Toshiaki
|
20211 M Basri Ket @Takayama Toshiaki
|
||||||
2021-2 U Seasoned Hallowblade @Keiji Hida
|
20212 U Seasoned Hallowblade @Keiji Hida
|
||||||
2021-3 R Vito, Thorn of the Dusk Rose @Areku Nishiki
|
20213 R Vito, Thorn of the Dusk Rose @Areku Nishiki
|
||||||
2021-4 U Saw It Coming @Anato Finnstark
|
20214 U Saw It Coming @Anato Finnstark
|
||||||
2021-5 M Kaya the Inexorable @Jason A. Engle
|
20215 M Kaya the Inexorable @Jason A. Engle
|
||||||
2021-6 R Faceless Haven @Pablo Mendoza
|
20216 R Faceless Haven @Pablo Mendoza
|
||||||
2022-1 M Grand Master of Flowers @Takayama Toshiaki
|
20221 M Grand Master of Flowers @Takayama Toshiaki
|
||||||
2022-2 R Adult Gold Dragon @Kotakan
|
20222 R Adult Gold Dragon @Kotakan
|
||||||
2022-3 U Krydle of Baldur's Gate @Sansyu
|
20223 U Krydle of Baldur's Gate @Sansyu
|
||||||
2022-4 M The Wandering Emperor @Takayuki Futami
|
20224 M The Wandering Emperor @Takayuki Futami
|
||||||
2022-5 R Farewell @SOFT_MEN
|
20225 R Farewell @SOFT_MEN
|
||||||
2022-6 U Banishing Slash @Ruiko Nakamura
|
20226 U Banishing Slash @Ruiko Nakamura
|
||||||
2023-1 M Elspeth Resplendent @Areku Nishiki
|
20231 M Elspeth Resplendent @Areku Nishiki
|
||||||
2023-2 R Giada, Font of Hope @Umiu Geso
|
20232 R Giada, Font of Hope @Umiu Geso
|
||||||
2023-3 M Liliana of the Veil @Yuichi Murakami
|
20233 M Liliana of the Veil @Yuichi Murakami
|
||||||
2023-4 R Braids, Arisen Nightmare @Daisuke Tatsuma
|
20234 R Braids, Arisen Nightmare @Daisuke Tatsuma
|
||||||
2023-5 U Phyrexian Rager @Brock Grossman
|
20235 U Phyrexian Rager @Brock Grossman
|
||||||
2024-1 M Realm-Scorcher Hellkite @Susumu Kuroi
|
20241 M Realm-Scorcher Hellkite @Susumu Kuroi
|
||||||
2024-2 R Ruby, Daring Tracker @M.Matsumoto
|
20242 R Ruby, Daring Tracker @M.Matsumoto
|
||||||
2024-3 R Glimpse the Core @Susumu Kuroi
|
20243 R Glimpse the Core @Susumu Kuroi
|
||||||
2024-5 M Saheeli, the Sun's Brilliance @Ayuko
|
20245 M Saheeli, the Sun's Brilliance @Ayuko
|
||||||
2024-6 M Kaya, Spirits' Justice @Areku Nishiki
|
20246 M Kaya, Spirits' Justice @Areku Nishiki
|
||||||
2024-7 R Lightning Helix @Shiyu
|
20247 R Lightning Helix @Shiyu
|
||||||
2024-8 R Aven Interrupter @TAPIOCA
|
20248 R Aven Interrupter @TAPIOCA
|
||||||
2024-9 M Jace Reawakened @Hozan Shinomaru
|
20249 M Jace Reawakened @Hozan Shinomaru
|
||||||
|
|||||||
@@ -70,7 +70,6 @@ public abstract class ImageFetcher {
|
|||||||
} else {
|
} else {
|
||||||
String setCode = edition.getScryfallCode();
|
String setCode = edition.getScryfallCode();
|
||||||
String langCode = edition.getCardsLangCode();
|
String langCode = edition.getCardsLangCode();
|
||||||
// It seems like the scryfall lookup might be better if we didn't include the language code at all?
|
|
||||||
String primaryUrl = ImageUtil.getScryfallDownloadUrl(c, face, setCode, langCode, useArtCrop);
|
String primaryUrl = ImageUtil.getScryfallDownloadUrl(c, face, setCode, langCode, useArtCrop);
|
||||||
downloadUrls.add(ForgeConstants.URL_PIC_SCRYFALL_DOWNLOAD + primaryUrl);
|
downloadUrls.add(ForgeConstants.URL_PIC_SCRYFALL_DOWNLOAD + primaryUrl);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user