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: Alexander V. Voinov <avv@q...>
Subject: Re: [Caml-list] Some sugar for regexp matching using camlp4
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?


Bug reports:  FAQ:
To unsubscribe, mail  Archives: