What is the meaning of What_a_shame?

Used to express regret or disappointment about an unfortunate event or piece of information.

Source: wiktionary.org