diff --git a/src/main/java/emu/grasscutter/command/CommandHelpers.java b/src/main/java/emu/grasscutter/command/CommandHelpers.java index ac52feef2..fd3541cb9 100644 --- a/src/main/java/emu/grasscutter/command/CommandHelpers.java +++ b/src/main/java/emu/grasscutter/command/CommandHelpers.java @@ -8,16 +8,16 @@ import java.util.regex.Matcher; import java.util.regex.Pattern; public class CommandHelpers { - public static final Pattern lvlRegex = Pattern.compile("l(?:vl?)?(\\d+)"); // Java doesn't have raw string literals :( - public static final Pattern amountRegex = Pattern.compile("((?<=x)\\d+|\\d+(?=x)(?!x\\d))"); - public static final Pattern refineRegex = Pattern.compile("r(\\d+)"); + public static final Pattern lvlRegex = Pattern.compile("(?