Should the A-Z be [a-zA-Z]+ to ensure that things work for x.x.x-alpha and not just x.x.x-ALPHA?