diff --git a/common/src/main/java/me/lucko/luckperms/constants/Patterns.java b/common/src/main/java/me/lucko/luckperms/constants/Patterns.java index 048e0f3cf..6016aae5b 100644 --- a/common/src/main/java/me/lucko/luckperms/constants/Patterns.java +++ b/common/src/main/java/me/lucko/luckperms/constants/Patterns.java @@ -40,7 +40,7 @@ public class Patterns { public static final Pattern DOT = Pattern.compile("\\."); public static final Pattern VERTICAL_BAR = Pattern.compile("\\|"); public static final Pattern GROUP_MATCH = Pattern.compile("group\\..*"); - public static final Pattern NON_ALPHA_NUMERIC = Pattern.compile("[^A-Za-z0-9]"); + public static final Pattern NON_ALPHA_NUMERIC = Pattern.compile("[\\/\\$\\.]"); public static final Pattern NON_USERNAME = Pattern.compile("[^A-Za-z0-9_]"); public static final Pattern SHORTHAND_NODE = Pattern.compile("\\.\\([^.]+\\)"); public static final Pattern STRIP_COLOR_PATTERN = Pattern.compile("(?i)" + String.valueOf('ยง') + "[0-9A-FK-OR]");