The regularization of Dotsenko--Fateev integrals