Meaning of the word ruefully in English

What does ruefully mean in English? Explore the meaning, pronunciation, and specific usage of this word with Lingoland.

ruefully

US /ˈruː.fəl.i/
UK /ˈruː.fəl.i/

Adverb

in a way that expresses sorrow or regret, especially in a wry or humorous manner

Example:
He smiled ruefully at the memory of his mistake.
She shook her head ruefully, acknowledging her defeat.