summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--print/print.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/print/print.php b/print/print.php
index e4cc759..5f8dc96 100644
--- a/print/print.php
+++ b/print/print.php
@@ -17,7 +17,7 @@ require_once __DIR__ . '/vendor/autoload.php';
* Match cards from input
*/
-preg_match_all("/(\d+) (.+) \(([\w\d]+)\) (\d+\w*) ?([\*\w]*)/", $decklist, $matches);
+preg_match_all("/(\d+) (.+) \(([\w\d]+)\) (\d+[\w\-]*) ?([\*\w]*)/", $decklist, $matches);
$cards = [];
for ($idx = 0; $idx < count($matches[0]); $idx++) {
$cards[] = [