Complex-analytic properties of certain Zariski open sets on algebraic varieties