Made a tiny change to how the version tag is split away.

For cases like this, I find the split technique to be less error-prone than regular expressions.