Variable: c-ts-common--comment-regexp

c-ts-common--comment-regexp is a variable defined in c-ts-common.el.gz.

Value

"\\(?:/[*/]\\|\\(?:\\(?:block\\|line\\)_\\)?comment\\)"

Documentation

Regexp pattern that matches a comment in C-like languages.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/c-ts-common.el.gz
(defvar c-ts-common--comment-regexp
  ;; These covers C/C++, Java, JavaScript, TypeScript, Rust, C#.
  (rx (or "comment" "line_comment" "block_comment" "//" "/*"))
  "Regexp pattern that matches a comment in C-like languages.")