Why regret it?

What’s the difference between a mistake and a regret?