Version française
Home     About     Download     Resources     Contact us    
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: -- (:)
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.

Rich.

-- 
Richard Jones, CTO Merjis Ltd.
Merjis - web marketing and technology - http://merjis.com
Team Notepad - intranets and extranets for business - http://team-notepad.com