ruefully

adverb
  1. in a way that shows regret or sorrow, especially about something you have done or failed to do

Examples