Highly regioselective migration of the sulfonyl group: easy access to functionalized pyrroles.