Statistical mechanics of regular mixtures