From: Ian Kelling Date: Tue, 2 Jul 2024 17:02:41 +0000 (-0400) Subject: fix regex X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=de6382702d559d3a52925694e8b81f77b53f6705;p=ansible-inputs.git fix regex --- diff --git a/roles/kvmhost/files/simple/usr/local/bin/savannah-virsh b/roles/kvmhost/files/simple/usr/local/bin/savannah-virsh index 12d5e4f..5d0471d 100755 --- a/roles/kvmhost/files/simple/usr/local/bin/savannah-virsh +++ b/roles/kvmhost/files/simple/usr/local/bin/savannah-virsh @@ -28,7 +28,7 @@ set -eE -o pipefail trap 'echo "$0:$LINENO:error: \"$BASH_COMMAND\" returned $?" >&2' ERR -regex='^[a-z. ]*$' +regex='^[a-z0-9. ]*$' # restricted ssh does not allow arguments, but they exist in this env variable. # The var comes with a leading space, remove it.