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 OAA10489; Tue, 17 Jul 2001 14:15:34 +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 OAA10541 for ; Tue, 17 Jul 2001 14:15:31 +0200 (MET DST) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by concorde.inria.fr (8.11.1/8.10.0) with ESMTP id f6HCFTb03253; Tue, 17 Jul 2001 14:15:30 +0200 (MET DST) Received: (from fpottier@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id OAA10391; Tue, 17 Jul 2001 14:15:29 +0200 (MET DST) Date: Tue, 17 Jul 2001 14:15:28 +0200 From: Francois Pottier To: Markus Mottl Cc: caml-list@inria.fr Subject: Re: [Caml-list] Some sugar for regexp matching using camlp4 Message-ID: <20010717141528.A10252@pauillac.inria.fr> Reply-To: Francois.Pottier@inria.fr References: <20010716175406.A25317@pauillac.inria.fr> <20010717123655.B9902@fichte.ai.univie.ac.at> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Mailer: Mutt 1.0i In-Reply-To: <20010717123655.B9902@fichte.ai.univie.ac.at>; from markus@mail4.ai.univie.ac.at on Tue, Jul 17, 2001 at 12:36:55PM +0200 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk > Note that it should be possible to assert the required number of subgroups > at compile-time if the user supplied a constant string: you'd only have > to compile the pattern string to a regexp within the camlp4-rule and > check things there. Sounds good, except this would require building a custom version of camlp4, because it can't dynamically load the Pcre library (as far as I can tell). -- François Pottier Francois.Pottier@inria.fr http://pauillac.inria.fr/~fpottier/ ------------------- 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