public void setNonNlsCommentPattern(String pattern) {
    nonNlsCommentPattern = pattern;
    myCachedCommentPattern = null;
    if (!pattern.trim().isEmpty()) {
      try {
        myCachedCommentPattern = Pattern.compile(pattern);
      }
      catch (PatternSyntaxException ignored) { }
    }
  }
public void setNonNlsCommentPattern(String pattern)