import re


def remove_ver_suffix(version):
    """Remove the codename suffix from version value"""
    pattern = re.compile(r'\+\w+\.\d$')  # Example: +matrix.1
    return re.sub(pattern, '', version)