Change name limitation to be more flexible
This commit is contained in:
parent
a217727bb4
commit
42e69c98a7
@ -40,7 +40,7 @@ public class Patterns {
|
|||||||
public static final Pattern DOT = Pattern.compile("\\.");
|
public static final Pattern DOT = Pattern.compile("\\.");
|
||||||
public static final Pattern VERTICAL_BAR = Pattern.compile("\\|");
|
public static final Pattern VERTICAL_BAR = Pattern.compile("\\|");
|
||||||
public static final Pattern GROUP_MATCH = Pattern.compile("group\\..*");
|
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 NON_USERNAME = Pattern.compile("[^A-Za-z0-9_]");
|
||||||
public static final Pattern SHORTHAND_NODE = Pattern.compile("\\.\\([^.]+\\)");
|
public static final Pattern SHORTHAND_NODE = Pattern.compile("\\.\\([^.]+\\)");
|
||||||
public static final Pattern STRIP_COLOR_PATTERN = Pattern.compile("(?i)" + String.valueOf('§') + "[0-9A-FK-OR]");
|
public static final Pattern STRIP_COLOR_PATTERN = Pattern.compile("(?i)" + String.valueOf('§') + "[0-9A-FK-OR]");
|
||||||
|
Loading…
Reference in New Issue
Block a user