code: public final boolean matches(@NotNull final String targetPath) {
          Contract.requireArgNotNull("targetPath", targetPath);
          if (regExpr == null) {
              return true;
          }
          return regExpr.matcher(targetPath).find();
      }
docs: Returns if the pattern matches the given path.
  
  @param targetPath
  Path to test.
  
  @return If the target matches TRUE, else FALSE.