To regret something is to wish that it hadn’t happened.
I regret that I was mean to my sister.
Example picture