projects
/
mymail.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed the leading from regexp.
[mymail.git]
/
mymail.c
diff --git
a/mymail.c
b/mymail.c
index
b1734f2
..
f2397a6
100644
(file)
--- a/
mymail.c
+++ b/
mymail.c
@@
-764,7
+764,7
@@
int main(int argc, char **argv) {
struct search_condition search_conditions[MAX_NB_SEARCH_CONDITIONS];
if(regcomp(&leading_from_line_regexp,
struct search_condition search_conditions[MAX_NB_SEARCH_CONDITIONS];
if(regcomp(&leading_from_line_regexp,
- "^From [^ ]*
@[^ ]* \\(Mon\\|Tue\\|Wed\\|Thu\\|Fri\\|Sat\\|Sun\\) \\(Jan\\|Feb\\|Mar\\|Apr
\\|Jun\\|Jul\\|Aug\\|Sep\\|Oct\\|Nov\\|Dec\\) [ 123][0-9] [0-9][0-9]:[0-9][0-9]:[0-9][0-9] [0-9][0-9][0-9][0-9]\n$",
+ "^From [^ ]*
\\(Mon\\|Tue\\|Wed\\|Thu\\|Fri\\|Sat\\|Sun\\) \\(Jan\\|Feb\\|Mar\\|Apr\\|May
\\|Jun\\|Jul\\|Aug\\|Sep\\|Oct\\|Nov\\|Dec\\) [ 123][0-9] [0-9][0-9]:[0-9][0-9]:[0-9][0-9] [0-9][0-9][0-9][0-9]\n$",
0)) {
fprintf(stderr,
"mymail: Cannot compile leading \"from\" line regexp. That is strange.\n");
0)) {
fprintf(stderr,
"mymail: Cannot compile leading \"from\" line regexp. That is strange.\n");