The city or town council has power to make regulations authorizing the police of the city or town to make arrests of persons charged with crime: (1) within the limits of the city or town; (2) within 5 miles thereof; and (3) along the line of water supply of the city or town.