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
ocamlnet (aka netstring)
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2005-06-24 (18:23)
From: Richard Jones <rich@a...>
Subject: Re: [Caml-list] ocamlnet (aka netstring)
On Fri, Jun 24, 2005 at 08:31:59PM +0400, Anastasia Gornostaeva wrote:
> Hello.
> It is not possible to use Ocamlnet because the API of pcre-ocaml library
> was changed. Will the author update in the future this library?
> from changelog of pcre-ocaml:
> 2004-04-29:  Changed behaviour of "get_substring"!!!
>              It now does not return the empty string anymore if an
>              accessed substring was not captured.  It raises the exception
>              "Not_found" instead.

Luckily this change can be made in a backwards-compatible way.  I had
to do it for mod_caml IIRC.


Richard Jones, CTO Merjis Ltd.
Merjis - web marketing and technology -
Team Notepad - intranets and extranets for business -