(a) Unless otherwise provided for in this article and, except as otherwise provided in subsection (b) of this section, any person violating the provisions of this article is guilty of a misdemeanor and, upon conviction thereof, shall be fined not more than $100; upon a second conviction within one year thereafter, shall be fined not more than $200; and upon a third or subsequent conviction, shall be fined not more than $500.
(b) Any person violating the provisions of sections thirty-one or thirty-two of this article is guilty of a misdemeanor and, upon conviction thereof, shall be fined not more than $100, or confined in the county or regional jail for not more than ten days, or both; upon a second conviction within one year thereafter, shall be fined not more than $200, or confined in the county or regional jail for not more than twenty days, or both; and upon a third or subsequent conviction, shall be fined not more than $500, or confined in the county or regional jail not more than six months, or both.