update regexp for sane characters

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-03-10 17:19:25 +01:00
parent 96af393942
commit 99e6b9e6b1
2 changed files with 5 additions and 2 deletions

View File

@ -63,8 +63,8 @@ __cdist_abs_myname="$__cdist_abs_mydir/$__cdist_myname"
: ${__cdist_name_type_bin:=type_bin}
: ${__cdist_name_type_explorer:=type_explorer}
# Used for IDs
: ${__cdist_sane_regexp:=[A-Za-z0-9/]*[-A-Za-z0-9_/]*}
# Used for IDs: Allow everything not starting with - and .
: ${__cdist_sane_regexp:=^[^-\.]}
# Default remote user
: ${__cdist_remote_user:=root}

View File

@ -1,3 +1,6 @@
1.0.3: upcoming
* Update regexp used for sane characters
1.0.2: 2011-03-09
* Add manpages: cdist-type, cdist-type__file, cdist-reference, cdist-explorer
* Make doc/man/ usable as MANPATH entry