mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-03 06:28:49 +00:00
Fix commands not matching unicode-formatted homes, prevent dot in home names
This commit is contained in:
1 parent
bd4d173bdc
commit
7b1930e554
2 files changed
+5
-3
No files matched your search
@@ -26,7 +26,7 @@ public final class RegexUtil {
|
||||
* <p>
|
||||
* e.g. {@code ownerName.homeName}
|
||||
*/
|
||||
private static final Pattern OWNER_DISAMBIGUATED_HOME_IDENTIFIER_PATTERN = Pattern.compile("\\w+\\.[A-Za-z\\d_\\-]+");
|
||||
private static final Pattern OWNER_DISAMBIGUATED_HOME_IDENTIFIER_PATTERN = Pattern.compile("\\w+\\.[^.]{1,16}$");
|
||||
|
||||
/**
|
||||
* Match pattern for checking home input fields disambiguated by the owner's name
|
||||
|
||||
Reference in new issue
Block a user