From 33d1de2e130a829d5033faa728eb2ea990c8a772 Mon Sep 17 00:00:00 2001 From: Olof Larsson Date: Mon, 7 Apr 2014 02:09:27 +0200 Subject: [PATCH] OOps. Fixed invalid regex. --- src/com/massivecraft/mcore/cmd/arg/AREntityType.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/massivecraft/mcore/cmd/arg/AREntityType.java b/src/com/massivecraft/mcore/cmd/arg/AREntityType.java index 3088a0af..b6a2bfc3 100644 --- a/src/com/massivecraft/mcore/cmd/arg/AREntityType.java +++ b/src/com/massivecraft/mcore/cmd/arg/AREntityType.java @@ -57,7 +57,7 @@ public class AREntityType extends ARAbstractSelect public static String getComparable(String string) { - return string.toLowerCase().replaceAll("[_-\\s]+", ""); + return string.toLowerCase().replaceAll("[_\\-\\s]+", ""); } }