Skip to content

Commit

Permalink
not perl regex
Browse files Browse the repository at this point in the history
  • Loading branch information
noursaidi committed Jun 7, 2022
1 parent 6c7f39a commit 1c9523a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/pubber
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1c9523a

Please sign in to comment.