Variable: cider-clojure-compilation-regexp

cider-clojure-compilation-regexp is a variable defined in cider-eval.el.

Value

"^\\(?:[^z-a]*?\\(?1:warning\\), \\(?2:[^z-a]*?\\):\\(?3:[[:digit:]-]+\\)\\(?::\\(?4:[[:digit:]-]+\\)\\)? - \\|\\(?:Syntax error reading source \\|\\(?:\\(?:Syntax\\|Unexpected\\) error \\)[^z-a]*?\\(?:\\(?:compil\\|macroexpand\\)ing \\)[^z-a]*?\\)at [^z-a]*?(\\(?2:[^z-a]*?\\):\\(?3:[[:digit:]-]+\\)\\(?::\\(?4:[[:digit:]-]+\\)\\)?)\\.\\)"

Documentation

A few example values that will match:
"Reflection warning, /tmp/foo/src/foo/core.clj:14:1 - "
"Syntax error compiling at (src/workspace_service.clj:227:3)."
"Unexpected error (ClassCastException) macroexpanding defmulti at (src/haystack/parser.cljc:21:1)."

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260414.1619/cider-eval.el
(defconst cider-clojure-compilation-regexp
  (rx-to-string
   `(seq bol (or ,cider--clojure-warning
                 ,cider--clojure-1.10-error))
   'nogroup)
  "A few example values that will match:
\"Reflection warning, /tmp/foo/src/foo/core.clj:14:1 - \"
\"Syntax error compiling at (src/workspace_service.clj:227:3).\"
\"Unexpected error (ClassCastException) macroexpanding defmulti at (src/haystack/parser.cljc:21:1).\"")