From: Tom Koelman <tkoelman@xs4all.nl>
Subject: How to split on content-length?
Date: Tue, 23 Sep 2003 10:54:20 +0200 [thread overview]
Message-ID: <uzngvdgw3.fsf@assurancetourix.xs4all.nl> (raw)
Hi,
I am using regular splitting to sort my mail in a lot of groups. Now I
would like to add a group containing all the "big" mails, with big
being defined as, say, bigger than 140k (Swen anyone?). I guess I
should write a function now to do that, because I don't think I can
use a regular expression to express that I want to split if
X-Content-Length: is followed by a number bigger dan 143360, but I
don't understand the doc. It says:
The second element can also be a function. In that case, it
will be called narrowed to the headers with the first element of
the rule as the argument. It should return a non-`nil' value if
it thinks that the mail belongs in that group.
Does this mean the second argument will contain the headers?
Tom
next reply other threads:[~2003-09-23 8:54 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-23 8:54 Tom Koelman [this message]
2003-09-23 18:41 ` Hanak David
2003-09-24 1:20 ` Jesper Harder
2003-09-24 6:44 ` Tom Koelman
2003-09-24 11:00 ` Ted Zlatanov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=uzngvdgw3.fsf@assurancetourix.xs4all.nl \
--to=tkoelman@xs4all.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).