code: public boolean shouldIgnore(MaterialConfig materialConfig, String name) {
          return materialConfig.matches(FilenameUtils.separatorsToUnix(name), processedPattern());
      }
docs: our algorithom is replace the ** with ([^/]*/)* and replace the * with [^/]*