code: public static void main(String[] args) {
          HashMap<String, String> props = new HashMap<>();
          props.put("Params_1.TAN2StepParams3.ParTAN2Step4.TAN2StepParams2.secfunc", "Test 1");
          props.put("Params_2.TAN2StepParams3.ParTAN2Step4.TAN2StepParams2.1secfunc", "Test 2");
  
          props.put("Params_1.PIN2StepParams3.ParTAN2Step4.TAN2StepParams2.2secfunc", "Test 3");
          props.put("Params_1.TANStepParams3.ParTAN2Step4.TAN2StepParams2.3secfunc", "Test 4");
          props.put("Params_1.TAN2StepParams3.ParTAN2Step4.TAN2StepParams2.Foo", "Test 5");
          props.put("Params_2.TAN2StepPar.ParTAN2Step.TAN2StepParams.5secfunc", "Test 5");
  
          HashMap<String, String> result = find(props, "Params_*.TAN2StepPar*.ParTAN2Step*.TAN2StepParams*.*secfunc");
          Iterator<String> e = result.keySet().iterator();
          while (e.hasNext()) {
              String name = e.next();
              String value = result.get(name);
              System.out.println(name + ": " + value);
          }
      }
docs: Test.
  
  @param args