For British flags, the Osprey books on flags of the British army can be a starting point. One book covers infantry, and the other cavalry. They describe the warrants and other regulations that governed flags and standards, from restoration up to 1900 (I think they end at 1900, mine are at home). They have examples, but not for every unit.
Prost!
Brad