Something in us measures the past constantly, holding what happened up against what should have been. What that measurement returns decides what you end up carrying.
Regret does not require that you did anything wrong. You can act in complete alignment with what is right and still regret the outcome, because something you valued was lost along the way.
Regret, guilt, and shame are three different verdicts, and the remedy for one does nothing for the others. Knowing which one you are carrying is the first step.
When your third perspective is anchored to yourself, your own values become the standard, so every unmet value reads as a violation, and regret collapses into guilt. When it is anchored to other people, a group, or society, what they want becomes the standard, so every gap in what you gave them reads as a violation, and shame collapses into guilt. That is why most people use guilt, shame, and regret as if they meant the same thing.
If regret keeps pulling you back, you don't have to work through it alone. Help is an email, a message, or a phone call away.