Regret opens a door and says, I wish I had done things differently.
Shame locks it and says, this is who I am.
The distinction untangles everything.