From 5ec2ab61e5cefe4b9d69409576005d4a256eb531 Mon Sep 17 00:00:00 2001 From: jeffry1829 Date: Wed, 26 Jan 2022 21:26:03 +0800 Subject: [PATCH] Make Unicode character valid in ChestShop Sign (#497) --- src/main/java/com/Acrobot/ChestShop/Signs/ChestShopSign.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/Acrobot/ChestShop/Signs/ChestShopSign.java b/src/main/java/com/Acrobot/ChestShop/Signs/ChestShopSign.java index ff535df..0173691 100644 --- a/src/main/java/com/Acrobot/ChestShop/Signs/ChestShopSign.java +++ b/src/main/java/com/Acrobot/ChestShop/Signs/ChestShopSign.java @@ -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 = "?";