Section 49. Pupils in the public schools may, if the committee so votes, purchase from the town, under such regulations as the committee may prescribe, any textbooks which are to be, or have been, used by them in such schools.