From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id PAA20006 for caml-red; Fri, 28 Jul 2000 15:17:21 +0200 (MET DST) Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id DAA12897 for ; Fri, 28 Jul 2000 03:31:51 +0200 (MET DST) Received: from suburbia.net (suburbia.net [203.4.184.1]) by nez-perce.inria.fr (8.10.0/8.10.0) with ESMTP id e6S1VmL05933 for ; Fri, 28 Jul 2000 03:31:49 +0200 (MET DST) Received: by suburbia.net (Postfix, from userid 110) id 32AE56C4C1; Fri, 28 Jul 2000 11:31:45 +1000 (EST) To: caml-list@inria.fr Subject: rfc822 / date parser, ocamllex Cc: proff@iq.org From: Julian Assange Date: 28 Jul 2000 11:31:45 +1000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: weis@pauillac.inria.fr Does anyone know of an O'caml rfc822 address parser? `mmm', the O'caml web-browser has a simple date lexer, although its not rfc822 compliant. The ocamllex documentation doesn't mention any method of specifying start conditions. While I can see several different way of gaining this functionality using sub-lexers and grouping, is this the most elegant approach? Cheers, Julian.