Variable: tuareg-interactive-error-range-regexp
tuareg-interactive-error-range-regexp is a variable defined in
tuareg.el.
Value
"[ ]*\\(?:Lines? \\(?1:[0-9]+\\)\\(?:-\\(?2:[0-9]+\\)\\)?, \\)?[Cc]haracters \\(?3:[0-9]+\\)-\\(?4:[0-9]+\\):\n"
Documentation
Regexp matching the line and char numbers in OCaml REPL's error messages.
Source Code
;; Defined in /nix/store/6mbh851dhnag8f92qfrlh9ckldzwf6c6-emacs-packages-deps/share/emacs/site-lisp/elpa/tuareg-20260626.936/tuareg.el
(defconst tuareg-interactive-error-range-regexp
(rx (* (in "\t "))
(? "Line" (? "s") " "
(group-n 1 (+ (in "0-9"))) ; starting line
(? "-"
(group-n 2 (+ (in "0-9")))) ; ending line
", ")
(in "Cc") "haracters "
(group-n 3 (+ (in "0-9"))) ; starting character
"-"
(group-n 4 (+ (in "0-9"))) ; ending character
":\n")
"Regexp matching the line and char numbers in OCaml REPL's error messages.")