Highly selective acetate optical sensing of a ruthenium(II) complex carrying imidazole and indole groups.