Molecular Recognition with Linear Molecules as Receptors