docs: public static String parseRevisionString(String fullBuildString) {
          String build = "";
  
          // Test for SVN revision string - example: https://svn.voltdb.com/eng/trunk?revision=2352
          String[] splitted = fullBuildString.split("=", 2);
          if (splitted.length == 2) {
              build = splitted[1].trim();
              if (build.length() == 0) {
                  return null;
              }
              return build;
  
          }
  
          // Test for git build string - example: 2.0 voltdb-2.0-70-gb39f43e-dirty
          Pattern p = Pattern.compile("-(\\d*-\\w{8}(?:-.*)?)");
          Matcher m = p.matcher(fullBuildString);
          if (! m.find()) {
              return null;
          }
          build = m.group(1).trim();
          if (build.length() == 0) {
              return null;
          }
          return build;
      }