summaryrefslogtreecommitdiff
path: root/lisp/mail
diff options
context:
space:
mode:
authorJim Blandy <jimb@redhat.com>1992-04-24 08:11:54 +0000
committerJim Blandy <jimb@redhat.com>1992-04-24 08:11:54 +0000
commit4746118aca2d5cbdd054b4af4814d56550dfbc79 (patch)
tree370e07c6950794f936bc8d434cb0560d883e4a0b /lisp/mail
parentd4327fecc103493bc8275c3580b05c06c9fcc019 (diff)
downloademacs-4746118aca2d5cbdd054b4af4814d56550dfbc79.tar.gz
*** empty log message ***
Diffstat (limited to 'lisp/mail')
-rw-r--r--lisp/mail/rmail.el8
1 files changed, 5 insertions, 3 deletions
diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el
index 347fce775f1..c45f7552aae 100644
--- a/lisp/mail/rmail.el
+++ b/lisp/mail/rmail.el
@@ -99,10 +99,12 @@ Called with region narrowed to unformatted header.")
(defvar rmail-last-file nil)
(defvar rmail-last-rmail-file nil)
+;;; Regexp matching the delimiter of messages in UNIX mail format
+;;; (UNIX From lines), minus the initial ^. Note that if you change
+;;; this expression, you must change the code in rmail-nuke-pinhead-header
+;;; that knows the exact ordering of the \\( \\) subexpressions.
(defvar rmail-unix-mail-delimiter
- "From \\([^ \n]*\\(\\|\".*\"[^ \n]*\\)\\) ?\\([^ \n]*\\) \\([^ ]*\\) *\\([0-9]*\\) \\([0-9:]*\\)\\( ?[A-Z]?[A-Z][A-Z]T\\( DST\\)?\\| ?[-+]?[0-9][0-9][0-9][0-9]\\|\\) [0-9][0-9]\\([0-9]*\\) *\\(remote from [^\n]*\\)?\n"
- "Regexp matching the delimiter of messages in UNIX mail format (UNIX From lines), minus the
-initial ^. ")
+ "From \\([^ \n]*\\(\\|\".*\"[^ \n]*\\)\\) ?\\([^ \n]*\\) \\([^ ]*\\) *\\([0-9]*\\) \\([0-9:]*\\)\\( ?[A-Z]?[A-Z][A-Z]T\\( DST\\)?\\| ?[-+]?[0-9][0-9][0-9][0-9]\\|\\) [0-9][0-9]\\([0-9]*\\) *\\(remote from [^\n]*\\)?\n" nil)
;;;; *** Rmail Mode ***