Variable: diary-icalendar-status-regexp

diary-icalendar-status-regexp is a customizable variable defined in diary-icalendar.el.gz.

Value

"^[[:space:]]+Status:[[:space:]]*\\(?1:\\(?:c\\(?:\\(?:ancel\\|o\\(?:mplet\\|nfirm\\)\\)ed\\)\\|draft\\|final\\|in-process\\|needs-action\\|tentative\\)\\)"

Documentation

Regular expression to match status of an event.

The status value should be matched by group 1. The default regexp matches statuses on lines like:

  Status: S

where S can be any of:

  tentative
  confirmed
  cancelled
  needs-action
  completed
  in-process
  draft
  final

This variable was added, or its default value changed, in Emacs 31.1.

View in manual

Source Code

;; Defined in /usr/src/emacs/lisp/calendar/diary-icalendar.el.gz
(defcustom di:status-regexp
  (rx line-start
      (one-or-more space)
      "Status:"
      (zero-or-more space)
      (group-n 1 (or "tentative" "confirmed" "canceled" "needs-action" "completed"
                     "in-process" "draft" "final")))
  "Regular expression to match status of an event.

The status value should be matched by group 1.  The default regexp
matches statuses on lines like:

  Status: S

where S can be any of:

  tentative
  confirmed
  cancelled
  needs-action
  completed
  in-process
  draft
  final"
  :version "31.1"
  :type '(regexp))