code: public Set<String> getResources(final Pattern pattern) {
          return getResources(new Predicate<String>() {
              public boolean apply(String input) {
                  return pattern.matcher(input).matches();
              }
          });
      }
docs: get resources relative paths where simple name (key) matches given regular expression
  <p>depends on ResourcesScanner configured
  <pre>Set<String> xmls = reflections.getResources(".*\\.xml");</pre>