code: private boolean isDeeper(String pattern, String name) {
          Vector p = SelectorUtils.tokenizePath(pattern);
          Vector n = SelectorUtils.tokenizePath(name);
          return p.contains("**") || p.size() > n.size();
      }
docs: Verify that a pattern specifies files deeper
  than the level of the specified file.
  @param pattern the pattern to check.
  @param name the name to check.
  @return whether the pattern is deeper than the name.
  @since Ant 1.6.3