sup

A curses threads-with-tags style email client

sup.git

git clone https://supmua.dev/git/sup/
commit 1965503ae5758d0a43f7819a26e25c406c57512b
parent 601e3c0f0e0098ffdf71219a465a23813a417268
Author: wmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Date:   Mon,  4 Dec 2006 14:47:54 +0000

BREAK_RE => /^From \S+/


git-svn-id: svn://rubyforge.org/var/svn/sup/trunk@65 5c8cc53c-5e98-4d25-b20a-d8db53a31250

Diffstat:
M lib/sup/mbox.rb | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/sup/mbox.rb b/lib/sup/mbox.rb
@@ -4,14 +4,14 @@ module Redwood
 
 ## some utility functions
 module MBox
-  BREAK_RE = /^From \S+@\S+/
+  BREAK_RE = /^From \S+/
 
   def read_header f
     header = {}
     last = nil
 
     ## i do it in this weird way because i am trying to speed things up
-    ## at load-message time.
+    ## when scanning over large mbox files.
     while(line = f.gets)
       case line
       when /^From:\s+(.*)$/i: header[last = "From"] = $1