A phototunable anion receptor for C-HX interactions with benzoate anions.