From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=AWL autolearn=disabled version=3.1.3 Received: from discorde.inria.fr (discorde.inria.fr [192.93.2.38]) by yquem.inria.fr (Postfix) with ESMTP id 2E2D0BC6C for ; Sun, 29 Apr 2007 12:45:23 +0200 (CEST) Received: from furbychan.cocan.org (furbychan.cocan.org [80.68.91.176]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id l3TAjMvn026892 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Sun, 29 Apr 2007 12:45:23 +0200 Received: from rich by furbychan.cocan.org with local (Exim 3.35 #1 (Debian)) id 1Hi6tz-0008Ex-00; Sun, 29 Apr 2007 11:45:11 +0100 Date: Sun, 29 Apr 2007 11:45:11 +0100 To: Oliver Bandel Cc: caml-list@yquem.inria.fr Subject: Re: [Caml-list] mboxlib reloaded ;-) Message-ID: <20070429104458.GB30510@furbychan.cocan.org> References: <20070427135425.GA1161@first.in-berlin.de> <20070427162911.GA10099@furbychan.cocan.org> <20070427231220.GA1507@first.in-berlin.de> <1177721646.16582.8.camel@rosella.wigram> <20070428104746.GA363@first.in-berlin.de> <20070428125453.1fef4ae4@kerneis.info> <20070428114450.GI363@first.in-berlin.de> <1177768191.11923.24.camel@rosella.wigram> <20070428141812.GD2396@first.in-berlin.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070428141812.GD2396@first.in-berlin.de> User-Agent: Mutt/1.5.9i From: Richard Jones X-Miltered: at discorde with ID 46347742.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; reloaded:01 0200,:01 bandel:01 lib:01 regexp:01 syntax:01 28,:98 wrote:01 oliver:01 caml-list:01 writes:01 defined:02 match:02 library:03 let:03 On Sat, Apr 28, 2007 at 04:18:12PM +0200, Oliver Bandel wrote: > The main intend of the lib (ys, a library, not a certain > application) was to have a tool at hand, that makes > complex things achievable easy. [...] > let mymatch = match_header_regexp ".*richard" NoCase [...] > Opens the mbox-file "MB1" and writes > all mails with the "richard"-string in the header > to the mbox-file "MB1.ready". There's a whole lots of issues that this doesn't cover. For example, what about internationalised headers using the (rather crazy) syntax defined in RFC 2047? >>From the RFC: From: =?US-ASCII?Q?Keith_Moore?= To: =?ISO-8859-1?Q?Keld_J=F8rn_Simonsen?= CC: =?ISO-8859-1?Q?Andr=E9?= Pirard Subject: =?ISO-8859-1?B?SWYgeW91IGNhbiByZWFkIHRoaXMgeW8=?= =?ISO-8859-2?B?dSB1bmRlcnN0YW5kIHRoZSBleGFtcGxlLg==?= Rich. -- Richard Jones Red Hat