mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-02 14:38:52 +00:00
Fix #44; rewrite list indexing & handling.
This commit is contained in:
1 parent
796781a8b8
commit
565aeb5b73
14 files changed
+255
-290
No files matched your search
@@ -0,0 +1,11 @@
|
||||
package me.william278.huskhomes2.util;
|
||||
|
||||
import java.util.regex.Pattern;
|
||||
|
||||
public final class RegexUtil {
|
||||
|
||||
public static final Pattern DESCRIPTION_PATTERN = Pattern.compile("[a-zA-Z0-9\\d\\-_\\s]+");
|
||||
public static final Pattern NAME_PATTERN = Pattern.compile("[A-Za-z0-9_\\-]+");
|
||||
public static final Pattern OWNER_NAME_PATTERN = Pattern.compile("[A-Za-z0-9_]+\\.[A-Za-z0-9_\\-]+");
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user