code: private String checkSkipBuildInString(Map<Pattern, String> patterns, String string) {
          // check for skip build phrase in the passed string
          if (!patterns.isEmpty() && StringUtils.isNotBlank(string)) {
              for (Map.Entry<Pattern, String> e : patterns.entrySet()) {
                  if (e.getKey().matcher(string).matches()) {
                      return e.getValue();
                  }
              }
          }
          return null;
      }
docs: Checks for skip pattern in the passed string
  
  @param patterns The map of Patter to String values
  @param string   The string we're looking for the phrase in
  @return the skip value or null if we don't find it