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 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from discorde.inria.fr (discorde.inria.fr [192.93.2.38]) by yquem.inria.fr (Postfix) with ESMTP id 43F2CBC69 for ; Sun, 29 Apr 2007 17:42:02 +0200 (CEST) Received: from einhorn.in-berlin.de (einhorn.in-berlin.de [192.109.42.8]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id l3TFg1st005775 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Sun, 29 Apr 2007 17:42:02 +0200 X-Envelope-From: oliver@first.in-berlin.de X-Envelope-To: Received: from first (dslb-088-073-085-152.pools.arcor-ip.net [88.73.85.152]) (authenticated bits=0) by einhorn.in-berlin.de (8.13.6/8.13.6/Debian-1) with ESMTP id l3TFg0HT005495 for ; Sun, 29 Apr 2007 17:42:01 +0200 Received: by first (Postfix, from userid 501) id F2E643AEAAD; Sun, 29 Apr 2007 17:41:57 +0200 (CEST) Date: Sun, 29 Apr 2007 17:41:57 +0200 From: Oliver Bandel To: caml-list@yquem.inria.fr Subject: Re: [Caml-list] mboxlib reloaded ;-) Message-ID: <20070429154157.GA547@first.in-berlin.de> 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> <20070429104458.GB30510@furbychan.cocan.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070429104458.GB30510@furbychan.cocan.org> User-Agent: Mutt/1.5.6i X-Scanned-By: MIMEDefang_at_IN-Berlin_e.V. on 192.109.42.8 X-Miltered: at discorde with ID 4634BCC9.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; bandel:01 in-berlin:01 reloaded:01 0100,:01 0200,:01 bandel:01 lib:01 regexp:01 syntax:01 bindings:01 ocaml:01 28,:98 wrote:01 wrote:01 oliver:01 On Sun, Apr 29, 2007 at 11:45:11AM +0100, Richard Jones wrote: > 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? Aha, ok, you say there must be UTF-8 compatibility.... ...well I have not thought about this... well... ...good hint! ...any bindings for UTF-8-libs for OCaml avialable somewhere? Or other necessary things? Maybe using already available C-libs and only add an OCaml-binding might make sense? Any idea on that? Ciao, Oliver