mirror of
https://github.com/ChestShop-authors/ChestShop-3.git
synced 2024-11-29 13:36:04 +01:00
Re-add ability to quickly create buy shops by only specifying price
The change to the more advanced patterns required it to always specify B
This commit is contained in:
parent
3ec68dcd50
commit
68c9df2078
@ -37,6 +37,7 @@ public class ChestShopSign {
|
||||
{ Pattern.compile("^?[\\w \\-.:]*$") },
|
||||
{ Pattern.compile("^[1-9][0-9]{0,5}$"), Pattern.compile("^Q [1-9][0-9]{0,4} : C [0-9]{0,5}$") },
|
||||
{
|
||||
Pattern.compile("(?i)^((\\d*([.e]\\d+)?)|free)$"),
|
||||
Pattern.compile("(?i)^([BS] *((\\d*([.e]\\d+)?)|free))( *: *([BS] *((\\d*([.e]\\d+)?)|free)))?$"),
|
||||
Pattern.compile("(?i)^(((\\d*([.e]\\d+)?)|free) *[BS])( *: *([BS] *((\\d*([.e]\\d+)?)|free)))?$"),
|
||||
Pattern.compile("(?i)^(((\\d*([.e]\\d+)?)|free) *[BS]) *: *(((\\d*([.e]\\d+)?)|free) *[BS])$"),
|
||||
|
Loading…
Reference in New Issue
Block a user