def _convert_type_to_regex(argtype: type) -> str:
    """
    Source of truth for getting regex strings to match different types
    """
    regex_patterns = {int: r'\b[\+-]?(?<![\.\d])\d+(?!\.\d)\b',
                      float: r'[-\+]?(?:\d+(?<!\.)\.?(?!\.)\d*|\.?\d+)(?:[eE][-\+]?\d+)?',
                      str: r'\b.*\b'}
    return regex_patterns[argtype]