Metal-free regioselective C-H amination for the synthesis of pyrazole-containing 2H-indazoles.