diff --git a/config/TextPastryCommands.json b/config/TextPastryCommands.json index a2c6343..9b5407e 100644 --- a/config/TextPastryCommands.json +++ b/config/TextPastryCommands.json @@ -97,7 +97,7 @@ {"match": "^range (-?\\d+)[-, ](-?\\d+)[, ](-?\\d+)[, ](\\d+)$", "command": "text_pastry_range", "args": {"start": "$1", "stop": "$2", "step": "$3", "padding": "$4"} }, {"match": "^range (-?\\d+)[-, ](-?\\d+)[, ](-?\\d+)$", "command": "text_pastry_range", "args": {"start": "$1", "stop": "$2", "step": "$3"} }, {"match": "^range (-?\\d+)[-, ](-?\\d+)$", "command": "text_pastry_range", "args": {"start": "$1", "stop": "$2"} }, - {"match": "^range (-?\\d+)$", "command": "text_pastry_range", "args": {"stop": "$1"} }, + {"match": "^range (-?\\d+)$", "command": "text_pastry_range", "args": {"start": "$1"} }, {"match": "^range (.*)$", "command": "text_pastry_range_parser", "args": {"text": "$0"} }, {"match": "^(drange|decimal|dec) (-?[\\d\\.]+)[-, ](-?[\\d\\.]+)[, ](-?[\\d\\.]+)[, ]([\\d]+)[, ]([\\d]+)[, ](.)$", "command": "text_pastry_decimal_range", "args": {"text": "$1", "start": "$2", "stop": "$3", "step": "$4", "padding": "$5", "precision": "$6", "fillchar": "$7"} },