Subject: | Mbox: odd year causes seperator to be ignored |
I'm trying to parse Thunderbird Mailboxes. Unfortunately, sometimes the
separator is not detected because the year is 1965
From - Mon Jan 1 00:00:00 1965
I understand that the separators in mbox implementations are a hell to
support in a generic way because of the differences in implementations.
Could you make the detection of separators more configurable, for
example by providing an way that allows the user to specify a custom
separation detection function?
I've worked around the problem for me by changing the corresponding line
in Mail::Box::Parser:Perl:
next if $sep eq 'From ' && $line !~ m/ \d{4}\b/;