Skip to content

Commit

Permalink
fix: add support to misprint collector numbers (†)
Browse files Browse the repository at this point in the history
  • Loading branch information
BrettOrmsby committed Jun 11, 2024
1 parent 65a6e63 commit 1ab9740
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/EnterDeck.vue
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ const deckToJson = (deck: string): { cards: DeckCard[]; errors: number[] } => {
// Try to match the card
const matches = line
.trim()
.match(/^(\d+) (.+?) \(([A-Za-z0-9]+)\) ([-A-Za-z0-9]+)( \*[FE]\*)?( (#!?.+? ?)*)?$/);
.match(/^(\d+) (.+?) \(([A-Za-z0-9]+)\) ([-A-Za-z0-9]+?)( \*[FE]\*)?( (#!?.+? ?)*)?$/);
if (matches === null) {
errors.push(i);
continue;
Expand Down

0 comments on commit 1ab9740

Please sign in to comment.