Peptide nucleic acid-templated selenocystine–selenoester ligation enables rapid miRNA detection.