From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/54030 Path: main.gmane.org!not-for-mail From: Jesper Harder Newsgroups: gmane.emacs.gnus.general Subject: Re: How to split on content-length? Date: Wed, 24 Sep 2003 03:20:41 +0200 Organization: http://purl.org/harder/ Sender: ding-owner@lists.math.uh.edu Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1064366613 22635 80.91.224.253 (24 Sep 2003 01:23:33 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 24 Sep 2003 01:23:33 +0000 (UTC) Original-X-From: ding-owner+M2570@lists.math.uh.edu Wed Sep 24 03:23:31 2003 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1A1yNP-0000yK-00 for ; Wed, 24 Sep 2003 03:23:31 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1A1yMn-0004G3-00; Tue, 23 Sep 2003 20:22:53 -0500 Original-Received: from justine.libertine.org ([66.139.78.221]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1A1yMi-0004Fy-00 for ding@lists.math.uh.edu; Tue, 23 Sep 2003 20:22:48 -0500 Original-Received: from quimby.gnus.org (quimby.gnus.org [80.91.224.244]) by justine.libertine.org (Postfix) with ESMTP id 37B363A0084 for ; Tue, 23 Sep 2003 20:22:47 -0500 (CDT) Original-Received: from news by quimby.gnus.org with local (Exim 3.35 #1 (Debian)) id 1A1yTB-0002cj-00 for ; Wed, 24 Sep 2003 03:29:29 +0200 Original-To: ding@gnus.org Original-Path: localhost.localdomain!nobody Original-Newsgroups: gnus.ding Original-Lines: 14 Original-NNTP-Posting-Host: 0xc3f95334.esnxr2.ras.tele.dk Original-X-Trace: quimby.gnus.org 1064366969 10088 195.249.83.52 (24 Sep 2003 01:29:29 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: Wed, 24 Sep 2003 01:29:29 +0000 (UTC) X-Face: ^RrvqCr7c,P$zTR:QED"@h9+BTm-"fjZJJ-3=OU7.)i/K]<.J88}s>'Z_$r; writes: > 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 You /could/ use a regexp, e.g. [1-9][4-9][0-9]\\{4,\\} which matches any number greater than 139999.