In a rueful manner; causing, feeling, or expressing regret or sorrow.
From rueful + -ly.
Practice speaking and memorizing "ruefully" and many other words and sentences in English.