SL 132-5published at 15.5 overs
Perera thumps Moeen straight down the ground for a third six in the over.
Refresh for in-play video highlights
England through to face NZ in semis
Jordan took 4-28 in crucial spell
Stokes conceded five off the final over
Sri Lanka's Mathews 73* from 54
Buttler 66* from 37 balls for England
Jamie Lillywhite and Stephan Shemilt
Perera thumps Moeen straight down the ground for a third six in the over.
Vic Marks
Ex-England spinner on BBC Test Match Special
"It's a great shot - he was trying to get it right up under his toes but it wasn't quite full enough. These are serious moments for England."
That might have gone even further, over mid-wicket from Mathews this time, a slog sweep.
No need to run for that, tossed up by Moeen and it is massive over long-on from the brilliant Mathews.
The Sri Lanka physio is administering some rough treatment for Mathews. The elbow is being applied and it does not look nice. The skipper obviously suffering from cramp on a day of high humidity. But he will want to be dealing in boundaries and not running much anyway.
Fifty for Mathews from 40 balls. England were 99-3 at this point.
The ball is dried after its impromptu dousing and Willey returns, Thisara collects two with a smear into the leg-side past the ring of England fielders.
Vic Marks
Ex-England spinner on BBC Test Match Special
"Game still on. Bear in mind after 15 overs England only had 99 on the board. Sri Lanka have upped the rate very effectively."
Thisara Perera is the new man and he wastes no time, hoisting Moeen over cow corner and into something wet beyond the boundary ropes.
More spin with Moeen Ali and Mathews cannot get the big stroke away yet, only singles so far.
Vic Marks
Ex-England spinner on BBC Test Match Special
"Mathews has played the stunning shots but Kapugedra was getting going. Stokes has a terrific pair of hands and he would have been confident under that."
Kapugedera c Stokes b Plunkett 30 (SL 95-5)
It was very high but Stokes was more than up to the task in the deep, he catches it with hands high, Australian style, and the partnership of 80 in 10 overs is brought to an end.
Jonathan Agnew
BBC Test Match Special
"At the moment England are under the cosh and they have got to fight back."
Plunkett. Leg-side wide. The seventh of the innings. Kapugedera then flicks a one-bounce four. England under pressure for the first time.
Vic Marks
Ex-England spinner on BBC Test Match Special
The run-rate required has obviously dipped. England need a wicket - it's not over yet."
The third six of the over, Mathews sauntering down the wicket and clubbing it off the wall above the first tier.
Kapugedera this time, a big stride and a classical follow through. Over extra cover, many rows back.
Six more for Mathews, a nonchalant flick at Rashid and it sails over long-on and over the fence.
Simon Kettle: Sitting in Cape Town. Enjoying first cocktail and bragging rights. Come on England.
Ian Bell (not that one): Loving listening to the cricket in a wet and cold Edinburgh. Surely they will see us in to the semis from here.
Vic Marks
Ex-England spinner on BBC Test Match Special
"It was a very difficult chance - he almost dived too early. It was a catch-it-three-times-out-of-10 kind of chance."