Regioselective synthesis of 2,3,4- or 2,3,5-trisubstituted pyrroles via [3,3] or [1,3] rearrangements of O-vinyl oximes.