File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,12 @@ public function __construct(
1818 * Get the messages from the mbox file.
1919 */
2020 public function messages (
21- string $ delimiter = '/^From \\S+ \\s+(Mon|Tue|Wed|Thu|Fri|Sat|Sun) \\s+(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) \\s+ \\d{1,2} \\s+ \\d{2}: \\d{2}: \\d{2} \\s+ \\d{4}/ '
21+ string $ delimiter = '/^From\s+\S+\s+ ' // From
22+ .'(Mon|Tue|Wed|Thu|Fri|Sat|Sun)\s+ ' // Day
23+ .'(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s+ ' // Month
24+ .'\d{1,2}\s+\d{2}:\d{2}:\d{2} ' // Time (HH:MM:SS)
25+ .'(?:\s+[+-]\d{4})? ' // Optional Timezone ("+0000")
26+ .'\s+\d{4}/ ' // Year
2227 ): Generator {
2328 if (! $ handle = fopen ($ this ->filepath , 'r ' )) {
2429 throw new RuntimeException ('Failed to open mbox file: ' .$ this ->filepath );
Original file line number Diff line number Diff line change @@ -495,7 +495,7 @@ Seattle, WA 98195-5065
495495mmh1@uw.edu
496496
497497
498- From nobody Thu May 5 21:08:05 2011
498+ From nobody Tue Mar 11 01:31:25 +0000 2025
499499Return-Path : <mmh1@uw.edu >
500500Received : from mx1.cac.washington.edu (mx1.cac.washington.edu [140.142.32.206 ])
501501 by mailman2.u.washington.edu (8.14.4+UW11.03/8.14.4+UW11.03) with ESMTP
You can’t perform that action at this time.
0 commit comments