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

:+1: