A person who has done something wrong before God, and has the gift of repentance, will regret it and will never do it again.
On other hand, if you do not have the gift of repentance, you might also regret the wrong you've done but you will make the same mistakes again.