Match the correct version component against the numeric regexp.