regretful

Feeling sorry about something you did and wishing it were different.