Ex ante regulation and competition in digital markets