Read this sentence:

It's such a pity you can't go to the dance with your friends.

Which definition of pity matches its use in the sentence above?

Sympathetic sorrow for one suffering or distressed
A capacity to feel for another
Something to be regretted
Feelings of disgrace or shame