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
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 - http://merjis.com
Team Notepad - intranets and extranets for business - http://team-notepad.com