Foundation and generalization of the expansion by regions