Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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: -- (:)
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:  FAQ:
To unsubscribe, mail  Archives: