From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id TAA27659; Mon, 16 Jul 2001 19:37:38 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id TAA27569 for ; Mon, 16 Jul 2001 19:37:37 +0200 (MET DST) Received: from shaker.exelixis.com (shaker.exelixis.com [209.0.11.254]) by concorde.inria.fr (8.11.1/8.10.0) with ESMTP id f6GHbZT07964; Mon, 16 Jul 2001 19:37:35 +0200 (MET DST) Received: by shaker.exelixis.com; id KAA15493; Mon, 16 Jul 2001 10:37:29 -0700 (PDT) Received: from unknown(172.29.16.196) by shaker.exelixis.com via smap (V5.5) id xma015483; Mon, 16 Jul 01 10:36:53 -0700 Message-ID: <3B53266C.28DB52EA@quasar.ipa.nw.ru> Date: Mon, 16 Jul 2001 10:37:48 -0700 From: "Alexander V. Voinov" X-Mailer: Mozilla 4.75 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: Francois.Pottier@inria.fr CC: caml-list@inria.fr Subject: Re: [Caml-list] Some sugar for regexp matching using camlp4 References: <20010716175406.A25317@pauillac.inria.fr> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Hi Francois, Francois Pottier wrote: > extract x, y, ... matching e against r in e' > This is of course pretty modest, but it seems that, with a small > number of such constructs, O'Caml could be turned into a rather nice > textual manipulation language. (Something often requested on this > list.) Opinions and further suggestions are welcome. It would be great. The first question upon the announcement itself (I didn't yet played with the extension): what does it do when the match fails? Raises an exception? Alexander ------------------- Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr