Singular potentials in one dimension