An efficient ruthenium tris(bipyridine)-based luminescent chemosensor for recognition of Cu(II) and sulfide anion in water.