As in the elimination round each team in a group played each other team in the same group unless they had met in the previous round.
During the knockout stage, teams within a group competed against one another, except when they had previously met in an earlier round.