Make Unicode character valid in ChestShop Sign (#497)

This commit is contained in:
jeffry1829 2022-01-26 21:26:03 +08:00 committed by GitHub
parent d1bbcfce47
commit 5ec2ab61e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ public class ChestShopSign {
Pattern.compile("(?i)^(((\\d*([.e]\\d+)?)|free) *[BS]) *: *(((\\d*([.e]\\d+)?)|free) *[BS])$"),
Pattern.compile("(?i)^([BS] *((\\d*([.e]\\d+)?)|free)) *: *(((\\d*([.e]\\d+)?)|free) *[BS])$"),
},
{ Pattern.compile("^[\\w? #:\\-]+$") }
{ Pattern.compile("^[\\p{L}? #:\\-]+$") }
};
public static final String AUTOFILL_CODE = "?";