functions (SetupMethods): "[!" in shell pattern is better than "[^"
This commit is contained in:
parent
5844214067
commit
fddaf81544
@ -69,7 +69,7 @@ SetupMethods()
|
||||
local m= outm="$allm"
|
||||
for m in $(IFS="$IFS,"; echo '' $inm); do
|
||||
case "$m" in
|
||||
*[^0-9A-Za-z_-]*)
|
||||
*[!0-9A-Za-z_-]*)
|
||||
Fatal "invalid $suffix method name $m"
|
||||
;;
|
||||
yes|auto|all)
|
||||
|
Loading…
x
Reference in New Issue
Block a user