From f0080462fa60ac035766644ceed1c602fb56a4be Mon Sep 17 00:00:00 2001 From: LevelX2 Date: Fri, 12 Jun 2020 16:10:07 +0200 Subject: [PATCH] * Allow player names with space for the init.txt test help. --- Mage.Server/src/main/java/mage/server/util/SystemUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mage.Server/src/main/java/mage/server/util/SystemUtil.java b/Mage.Server/src/main/java/mage/server/util/SystemUtil.java index 1d64adf871..dec5a49741 100644 --- a/Mage.Server/src/main/java/mage/server/util/SystemUtil.java +++ b/Mage.Server/src/main/java/mage/server/util/SystemUtil.java @@ -82,7 +82,7 @@ public final class SystemUtil { } private static final Pattern patternGroup = Pattern.compile("\\[(.+)\\]"); // [test new card] - private static final Pattern patternCommand = Pattern.compile("([\\w]+):([\\S]+?):([\\S ]+):([\\d]+)"); // battlefield:Human:Island:10 + private static final Pattern patternCommand = Pattern.compile("([\\w]+):([\\S ]+?):([\\S ]+):([\\d]+)"); // battlefield:Human:Island:10 private static final Pattern patternCardInfo = Pattern.compile("([\\S ]+):([\\S ]+)"); // Island:XLN // show ext info for special commands