Regex used to transform version into number was missing global. Fixes