Copper- or phosphine-catalyzed reaction of alkynes with isocyanides. Regioselective synthesis of substituted pyrroles controlled by the catalyst.