Fiber-optic sensing of carbon dioxide based on excited-state proton transfer to a luminescent ruthenium(II) complex