English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
[Caml-list] Some sugar for regexp matching using camlp4
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2001-07-17 (12:15)
From: Francois Pottier <Francois.Pottier@i...>
Subject: Re: [Caml-list] Some sugar for regexp matching using camlp4

> 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
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