import re


def str_is_num_version(str):
    """
    Check if a string contains a number of version.
    :param str: the string to check.
    :return: true if the string contains a number of version, false else.
    """
    return bool(re.search(r'\d+((\.\d+)+)?', str))