McGregor was shown a straight red for taking down Dean Shiels towards the end of Sunday's match.
Rangers assistant manager Ally McCoist was unsure whether his goalkeeper touched the ball.
"If he didn't touch the ball at all, then he probably has deserved his red card."
McGregor's sending off may open the door for new signing Neil Alexander to make an impact in the weeks ahead.