Synthesis of diversely 1,3,5-trisubstituted pyrazoles via 5-exo-dig cyclization.