Regret doesn’t apply when you choose to do something with full awareness of the risks and consequences - and accept them.

If it fails, that’s not regret. That’s the outcome you already made peace with.
(Anything else would indeed be regret.)