public static Find find(String regex) {
    return find(regex, 0);
  }
@Test
  @Category(NeedsRunner.class)
  public void testFindNameGroup() {
    PCollection<String> output =
        p.apply(Create.of("aj", "xj", "yj", "zj"))
            .apply(Regex.find("(?<namedgroup>[xyz])", "namedgroup"));

    PAssert.that(output).containsInAnyOrder("x", "y", "z");
    p.run();
  }