Variable: icalendar-error-regexp

icalendar-error-regexp is a variable defined in icalendar.el.gz.

Value

"^\\((\\(?:\\(?3:ERROR\\)\\|\\(?4:WARNING\\)\\|\\(?5:INFO\\)\\))\\)?\\(?1:\\(?: \\*UNFOLDED:\\)?[^:]*\\):\\(?2:[[:digit:]]+\\)?:"

Documentation

Regexp to match iCalendar errors.

Group 1 contains the buffer name where the error originated. Group 2 contains the buffer position. Groups 3-5 match the severity:
  3 matches ERROR
  4 matches WARNING
  5 matches INFO

Source Code

;; Defined in /usr/src/emacs/lisp/calendar/icalendar.el.gz
(defconst ical:error-regexp
  (rx line-start
      (zero-or-one
       (group "("
              (or (group-n 3 "ERROR") (group-n 4 "WARNING") (group-n 5 "INFO"))
              ")"))
      (group-n 1 (zero-or-one " *UNFOLDED:") (zero-or-more (not ":"))) ":"
      (zero-or-one (group-n 2 (one-or-more digit)))
      ":")
  "Regexp to match iCalendar errors.

Group 1 contains the buffer name where the error originated.
Group 2 contains the buffer position.
Groups 3-5 match the severity:
  3 matches ERROR
  4 matches WARNING
  5 matches INFO")