summaryrefslogtreecommitdiff
path: root/lib/sbin/parameter_parser.pl
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sbin/parameter_parser.pl')
-rw-r--r--lib/sbin/parameter_parser.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sbin/parameter_parser.pl b/lib/sbin/parameter_parser.pl
index ed50d278..4b27db4c 100644
--- a/lib/sbin/parameter_parser.pl
+++ b/lib/sbin/parameter_parser.pl
@@ -386,7 +386,7 @@ sub parse_param_ccl
if ($type eq 'INT' && ! (
$new_ranges eq '*' ||
$new_ranges =~ /^[+-]?\d+$/ ||
- $new_ranges =~ /^(\*|[(]?[+-]?\d+)?:(\*|[(]?[+-]?\d+)?(:\d+)?$/)) {
+ $new_ranges =~ /^(\*|\(?[+-]?\d+)?:(\*|[+-]?\d+\)?)?(:\d+)?$/)) {
&CST_error(0, "Invalid range '$new_ranges' for integer " .
"parameter '$variable' of thorn '$thorn'",
'', __LINE__, __FILE__);