@Override
    public void start(@NotNull CharSequence buffer, int startOffset, int endOffset, int initialState) {
      getFlex().commentMode = (initialState & COMMENT_MODE) != 0 || myCapabilities.contains(RegExpCapability.COMMENT_MODE);
      super.start(buffer, startOffset, endOffset, initialState & ~COMMENT_MODE);
    }
@Override
    public void start(@NotNull CharSequence buffer, int startOffset, int endOffset, int initialState)