The habitats where greater pond sedge~(Carex riparia) grows:

Brownfield
Coastal floodplain grazing marsh
Lowland fen
Moist damp verges and banks
Nutrient rich eutrophic lake
Reedbed
Wet woodland