Pyrrole chemistry. XVIII. The thio-Claisen rearrangement