Pointwise and directional regularity of nonharmonic Fourier series