The regulations weren't always followed. My GG uncle Benjamin E McClinton enlisted in the 11th alabama infantry at the age 14 as a private, served throughout the war. When the 11th was surrendered at appomattox he was 18 years old.