code: function (name, pointcut) {
              var regexString,
                  regex,
                  ret;
  
              pointcut = pointcut || "*.*";
  
              regexString = pointcut.replace(/\./g, "\\.").replace(/\*/g, ".*");
  
              logger.debug("pointcut is: " + pointcut);
  
              //adds word boundaries at either the beginning, end, or both depending on the index of "*" (if any)
              //If "*" is not in the string then word boundaries should be added by default
              if (pointcut.indexOf("*") !== 0) {
                  regexString = "\\b" + regexString;
              }
              if (pointcut.lastIndexOf("*") !== pointcut.length - 1) {
                  regexString += "\\b";
              }
              logger.debug("regexString is: " + regexString);
  
              regex = new RegExp(regexString);
  
              logger.debug("PluginMatcher match testing [" + name + "] against regex [" + regexString + "]");
              ret = regex.exec(name);
  
              return ret !== null;
  
          }
docs: Returns a boolean indicating whether the passed in plugin's pointcut matches the service and method names provided.
  
  @param name - service and method name in dot notation, like "CaseService.readCase".
  @param pointcut - poincut string for matching against names. The pointcut format is "regex-like",
  using basic wildcard syntax like common AOP systems. A RegExp is used to match, so normal JS regex symbols can be used, with the following constraints:
  1) For simplicity, '*' is automatically replaced with '.*'
  2) It is assumed that the pointcut is word-bounded on either side, so developers don't have to worry about grabbing extra characters
  3) if the pointcut sent in is null/undefined, it defaults to '*.*'
  If "name" contains a wildcard on the method side of the dot notation (e.g. "CaseService.*") then only the first service part of the name is matched
  against the service part of the pointcut.