Shame returns the gap between what was and what could have been, on someone else's behalf. It is about the other person, not about a rule.
Because shame is relational, it is usually repaired relationally. Being told you broke no rule does nothing for it, because shame was never measuring rules.
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 shame is weighing on you, you don't have to work through it alone. Help is an email, a message, or a phone call away.