A novel luminescent chemosensor for detecting Hg(2+) based on the pendant benzo crown ether terbium complex.