Changes to sed expressions to allow for dev (x)
versions, e.g. 2.3.x