diff --git a/bin/pubber b/bin/pubber index c7645a9184..a2db8a8bce 100755 --- a/bin/pubber +++ b/bin/pubber @@ -27,7 +27,7 @@ if (($# == 0)); then $ROOT_DIR/pubber/bin/run $project_id $site_path $device_id $serial_no else declare -A options - regex_numeric="^\d+([.]\d+)?$" + regex_numeric="^[0-9]+([.][0-9]+)?$" for option in $*; do if [[ $option == *"="* ]]; then