code: def com_google_fonts_check_name_version_format(ttFont):
    
    from fontbakery.utils import get_name_entry_strings
    import re
    def is_valid_version_format(value):
      return re.match(r'Version\s0*[1-9]+\.\d+', value)
  
    failed = False
    version_entries = get_name_entry_strings(ttFont, NameID.VERSION_STRING)
    if len(version_entries) == 0:
      failed = True
      yield FAIL, Message("no-version-string",
                          ("Font lacks a NameID.VERSION_STRING (nameID={})"
                           " entry").format(NameID.VERSION_STRING))
    for ventry in version_entries:
      if not is_valid_version_format(ventry):
        failed = True
        yield FAIL, Message("bad-version-strings",
                            ("The NameID.VERSION_STRING (nameID={}) value must"
                             " follow the pattern \"Version X.Y\" with X.Y"
                             " between 1.000 and 9.999."
                             " Current version string is:"
                             " \"{}\"").format(NameID.VERSION_STRING,
                                               ventry))
    if not failed:
      yield PASS, "Version format in NAME table entries is correct."
docs: Version format is correct in 'name' table?