Variable: todo-date-pattern

todo-date-pattern is a variable defined in todo-mode.el.gz.

Value

"\\(?4:\\(?5:\\(\\(?:Fri\\|Mon\\|S\\(?:atur\\|un\\)\\|\\(?:T\\(?:hur\\|ue\\)\\|Wedne\\)s\\)day\\)\\)\\|\\(?6:\\(?:\\*\\.?\\|A\\(?:pr\\(?:\\.\\|il\\)?\\|ug\\(?:\\.\\|ust\\)?\\)\\|Dec\\(?:\\.\\|ember\\)?\\|Feb\\(?:\\.\\|ruary\\)?\\|J\\(?:an\\(?:\\.\\|uary\\)?\\|u\\(?:l[.y]\\|n[.e]\\|[ln]\\)\\)\\|Ma\\(?:r\\(?:\\.\\|ch\\)\\|y\\.\\|[ry]\\)\\|Nov\\(?:\\.\\|ember\\)?\\|Oct\\(?:\\.\\|ober\\)?\\|Sep\\(?:\\.\\|tember\\)?\\)\\) \\(?8:[0-9]+\\|\\*\\), -?\\(?9:[0-9]+\\|\\*\\)\\)"

Documentation

Regular expression matching a todo item date header.

Source Code

;; Defined in /usr/src/emacs/lisp/calendar/todo-mode.el.gz
(defconst todo-date-pattern
  (let ((dayname (diary-name-pattern calendar-day-name-array nil t)))
    (concat "\\(?4:\\(?5:" dayname "\\)\\|"
	    (calendar-dlet
                ((dayname)
		 (monthname (format "\\(?6:%s\\)" (diary-name-pattern
						   todo-month-name-array
						   todo-month-abbrev-array)))
		 (month "\\(?7:[0-9]+\\|\\*\\)")
		 (day "\\(?8:[0-9]+\\|\\*\\)")
		 (year "-?\\(?9:[0-9]+\\|\\*\\)"))
	      (mapconcat #'eval calendar-date-display-form ""))
	    "\\)"))
  "Regular expression matching a todo item date header.")