(a) When a statute is repealed and the repealing statute is afterwards repealed, the first statute shall not thereby be revived unless by express words.
(b) When any criminal or penal statute is repealed, all offenses committed or forfeitures accrued under it while it was in force shall be punished or enforced as if it were in force, notwithstanding the repeal, unless otherwise expressly provided in the repealing statute.
(c) No action, plea, prosecution, or proceeding, civil or criminal, pending at the time any statutory provision is repealed shall be affected by the repeal but shall proceed in all respects as if the statutory provision had not been repealed.