Aidy Boothroyd was left frustrated at the final whistle after seeing Northampton fall to a 90th-minute goal in a 1-0 defeat at York.
It looked as if both teams would have to settle for a share of the spoils before Ryan Jarvis fired home in the final minute to snatch York the points.
Northampton's Darren Carter was sent off fot two yellow cards and Boothroyd feels York should also have had a man sent off following a dangerous tackle by Richard Cresswell on Kevin Amankwaah.
The Cobblers had to play the final 18 minutes with 10 men following Carter's sending off, but Boothroyd believes his side should have held on for a point.
"I think the change in the game came right at the start. I said to Richard Cresswell 'you've got too much experience for this referee' and I think he did.
"He shouldn't have been on the pitch, it's simulation and clear and the referee hasn't done his job and sent him off.
"It was disappointing from our point of view because I thought it was a sticky start and I thought it was a typical scrappy game at the start of the season with everyone finding their feet.
"Both teams worked very hard in difficult conditions and in the end I would have taken a point, but in the end we're talking about referees.
"I thought we had the better of the chances in the second half and even with Darren's sending off I thought we had enough to hang on and gain a point at a difficult place."