A note on deformations of regular embeddings