From c67807af7641463d0ddc536d89eab6e573c0e65e Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Thu, 10 Mar 2011 17:23:47 +0100 Subject: [PATCH] make regexp usable in the middle of an expression Signed-off-by: Nico Schottelius --- bin/cdist-config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/cdist-config b/bin/cdist-config index 850f2a2b..625e0c3c 100755 --- a/bin/cdist-config +++ b/bin/cdist-config @@ -64,7 +64,7 @@ __cdist_abs_myname="$__cdist_abs_mydir/$__cdist_myname" : ${__cdist_name_type_explorer:=type_explorer} # Used for IDs: Allow everything not starting with - and . -: ${__cdist_sane_regexp:=^[^-\.]} +: ${__cdist_sane_regexp:=^[^-\.].*} # Default remote user : ${__cdist_remote_user:=root}