Properly escape '-' in version number regex.