Add ~x.y.z and ^x.y.z parsing

Added a small explanation.