docs: private static void doParse(String connectionUri, JsonObject configuration) {
      Pattern pattern = Pattern.compile(FULL_URI_REGEX);
      Matcher matcher = pattern.matcher(connectionUri);
  
      if (matcher.matches()) {
        // parse the user and password
        parseUserandPassword(matcher.group(USER_INFO_GROUP), configuration);
  
        // parse the IP address/host/unix domainSocket address
        parseNetLocation(matcher.group(NET_LOCATION_GROUP), configuration);
  
        // parse the port
        parsePort(matcher.group(PORT_GROUP), configuration);
  
        // parse the database name
        parseDatabaseName(matcher.group(DATABASE_GROUP), configuration);
  
        // parse the parameters
        parseParameters(matcher.group(PARAMETER_GROUP), configuration);
  
      } else {
        throw new IllegalArgumentException("Wrong syntax of connection URI");
      }
    }