Variable: clojure--reader-and-comment-regexp

clojure--reader-and-comment-regexp is a variable defined in clojure-mode.el.

Value

"\\(?:#_ *\\)+\\(?1:[^ ]\\)\\|\\(?1:(comment\\_>\\)"

Documentation

Regexp matching both #_ macro and a comment sexp.

Source Code

;; Defined in ~/.emacs.d/elpa/clojure-mode-20260325.811/clojure-mode.el
(defvar clojure--reader-and-comment-regexp
  (rx (or (seq (+ (seq "#_" (* " ")))
               (group-n 1 (not (any " "))))
          (seq (group-n 1 "(comment" symbol-end))))
  "Regexp matching both `#_' macro and a comment sexp." )