What is the meaning of Rueful?

Causing, feeling, or expressing regret or sorrow, especially in a wry or humorous way.

Inspiring pity or compassion.

Bad; woeful; deplorable.

Source: wiktionary.org