Variable: diary-icalendar-entry-regexp
diary-icalendar-entry-regexp is a variable defined in
diary-icalendar.el.gz.
Value
"^\\(?1:\\(?:\\(?2:&\\)\\|[^ \n #]\\).+\\)\\(?3:\\(?:\n[[:space:]].*\\)*\\)"
Documentation
Regular expression to match a full diary entry.
Group 1 matches the first line of the entry. Group 2 contains
diary-nonmarking-symbol, if it was present at the start of the first
line. Group 3 contains any continuation lines of the entry.
Source Code
;; Defined in /usr/src/emacs/lisp/calendar/diary-icalendar.el.gz
;;; Other utilities
(defconst di:entry-regexp
(rx line-start
(group-n 1 ; first line of entry
(or (group-n 2 (regexp diary-nonmarking-symbol))
(not (any "\t\n #")))
(one-or-more not-newline))
(group-n 3 ; continuation lines of entry
(zero-or-more "\n" (any space) (zero-or-more not-newline))))
"Regular expression to match a full diary entry.
Group 1 matches the first line of the entry. Group 2 contains
`diary-nonmarking-symbol', if it was present at the start of the first
line. Group 3 contains any continuation lines of the entry.")