docs: public static Properties getPropertiesWithPattern(Properties originalProperties, String regex) {
          Properties properties = new Properties();
          Enumeration<Object> keys = originalProperties.keys();
          while (keys.hasMoreElements()) {
              String nextKey = (String) keys.nextElement();
              if (Pattern.compile(regex).matcher(nextKey).find()) {
                  properties.put(nextKey.replace("_", "."), originalProperties.getProperty(nextKey));
              }
          }
  
          return properties;
      }