Regretting is not just an isolated mental state. It's rather a mindset. If you are somebody who can't let the past be past but has to drag it into the present to continue the suffering tainting the future then you will always regret. Doesn't really matter what you do. There's always something to regret. But if you learn to let go of the past you'll feel free and live happy until the day you die.