From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Delivered-To: caml-list@yquem.inria.fr Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id 56037BCAE for ; Fri, 24 Jun 2005 20:23:56 +0200 (CEST) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id j5OINt32028475 for ; Fri, 24 Jun 2005 20:23:56 +0200 Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id UAA24373 for ; Fri, 24 Jun 2005 20:23:55 +0200 (MET DST) Received: from furbychan.cocan.org (furbychan.cocan.org [80.68.91.176]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id j5OINtSJ002371 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Fri, 24 Jun 2005 20:23:55 +0200 Received: from rich by furbychan.cocan.org with local (Exim 3.35 #1 (Debian)) id 1Dlswt-00031z-00 for ; Fri, 24 Jun 2005 19:30:43 +0100 Date: Fri, 24 Jun 2005 19:30:43 +0100 Cc: caml-list@inria.fr Subject: Re: [Caml-list] ocamlnet (aka netstring) Message-ID: <20050624183042.GB11629@furbychan.cocan.org> References: <20050624163159.GA62201@ermine.home> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050624163159.GA62201@ermine.home> User-Agent: Mutt/1.3.28i From: Richard Jones X-Miltered: at concorde with ID 42BC4FBC.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at nez-perce with ID 42BC4FBB.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 ocamlnet:01 netstring:01 ocamlnet:01 api:01 pcre-ocaml:01 pcre-ocaml:01 iirc:01 notepad:01 wrote:01 exception:01 behaviour:01 caml:02 string:03 library:03 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on yquem.inria.fr X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.0.2 X-Spam-Level: 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