mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-02 06:28:49 +00:00
12 lines
395 B
Java
12 lines
395 B
Java
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_\\-]+");
|
|
|
|
}
|