$branch =~ /^([\w-]+)$/i; $branch = $1;