Package: mboxgrep Version: 0.7.9-1 when using the -P option, mboxgrep tends to match everything. I have tried with simple string over a maildir, I got copy of the maildir...
short look at the code: if (config.headers) res1 = pcre_exec (pcre_pattern, hints, msg->headers, (int) strlen (msg->headers), 0, 0, of, BUFSIZ); if (config.body) res2 = pcre_exec (pcre_pattern, hints, msg->body, (int) strlen (msg->body), 0, 0, of, BUFSIZ); res1 = res1 ^ 1; res2 = res2 ^ 1; I think that the results should be compared to null instead: res1 = (res1 != NULL); res2 = (res2 != NULL); -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address. Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu. "They say when you play that M$ CD backward you can hear satanic messages." "That's nothing. If you play it forward it will install Windows."