Browse thread
[Caml-list] Some sugar for regexp matching using camlp4
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ 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? 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