mirror of
https://github.com/ChestShop-authors/ChestShop-3.git
synced 2024-11-25 19:45:36 +01:00
Fix item id not being valid with numbers and underscore (Fixes #498)
This commit is contained in:
parent
99a609b423
commit
419527efaa
@ -45,7 +45,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("^[\\p{L}? #:\\-]+$") }
|
||||
{ Pattern.compile("^[\\p{L}\\d_? #:\\-]+$") }
|
||||
};
|
||||
public static final String AUTOFILL_CODE = "?";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user