Function: icalendar-match-req-status-info-value

icalendar-match-req-status-info-value is a byte-compiled function defined in icalendar-parser.el.gz.

Signature

(icalendar-match-req-status-info-value S)

Documentation

Match string S against rx icalendar-req-status-info.

Source Code

;; Defined in /usr/src/emacs/lisp/calendar/icalendar-parser.el.gz
(ical:define-type ical:req-status-info nil
  "Type for REQUEST-STATUS property values.

When read, a list (CODE DESCRIPTION EXCEPTION).  CODE is a hierarchical
numerical code, represented as a string, with the following meanings:
  1.xx Preliminary success
  2.xx Successful
  3.xx Client Error
  4.xx Scheduling Error
DESCRIPTION is a longer description of the request status, also a string.
EXCEPTION (which may be nil) is textual data describing an error.

When printed, the three elements are separated by semicolons, like
  CODE;DESCRIPTION;EXCEPTION
or
  CODE;DESCRIPTION
if EXCEPTION is nil.

This is not a type defined by RFC5545; it is defined here to
facilitate parsing the `icalendar-request-status' property."
  '(satisfies ical:req-status-info-p)
  (seq
   ;; statcode: hierarchical status code
   (group-n 11
     (seq (one-or-more digit)
          (** 1 2 (seq ?. (one-or-more digit)))))
   ?\;
   ;; statdesc: status description
   (group-n 12 ical:text)
   ;; exdata: exception data
   (zero-or-one (seq ?\; (group-n 13 ical:text))))
  :reader ical:read-req-status-info
  :printer ical:print-req-status-info
  :link "https://www.rfc-editor.org/rfc/rfc5545#section-3.8.8.3")