code: public boolean isToExclude(HttpMessage msg, NameValuePair param) {
          return ((paramType == NameValuePair.TYPE_UNDEFINED) || (param.getType() == paramType)) &&
                  ((urlPattern == null) || urlPattern.matcher(msg.getRequestHeader().getURI().toString().toUpperCase(Locale.ROOT)).matches()) && 
                  (paramNamePattern.matcher(param.getName()).matches());
      }
docs: Check if the parameter should be excluded by the scanner
  @param msg the message that is currently under scanning
  @param param the Value/Name param object that is currently under scanning
  @return true if the parameter should be excluded