From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by walapai.inria.fr (8.13.6/8.13.6) with ESMTP id pBMIoVKc005019 for ; Thu, 22 Dec 2011 19:50:32 +0100 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AjUBAIh6807AbSoIhWdsb2JhbABDhQ+nHCIBAQEKCwsbBCGBcgEBBSNmCwkPAgImAgIUGIhApWiRUROBHIJOhHiCBDNjBI1GhzqSNA X-IronPort-AV: E=Sophos;i="4.71,394,1320620400"; d="scan'208";a="124366201" Received: from einhorn.in-berlin.de ([192.109.42.8]) by mail4-smtp-sop.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-SHA; 22 Dec 2011 19:50:31 +0100 X-Envelope-From: oliver@first.in-berlin.de X-Envelope-To: Received: from first (e178036052.adsl.alicedsl.de [85.178.36.52]) (authenticated bits=0) by einhorn.in-berlin.de (8.13.6/8.13.6/Debian-1) with ESMTP id pBMIoUwE006812 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Thu, 22 Dec 2011 19:50:31 +0100 Received: by first (Postfix, from userid 1000) id 4C5A41540357; Thu, 22 Dec 2011 19:50:30 +0100 (CET) Date: Thu, 22 Dec 2011 19:50:30 +0100 From: oliver To: caml-list@inria.fr Message-ID: <20111222185030.GA6685@siouxsie> References: <20111222183914.GA6185@siouxsie> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20111222183914.GA6185@siouxsie> User-Agent: Mutt/1.5.20 (2009-06-14) X-Scanned-By: MIMEDefang_at_IN-Berlin_e.V. on 192.109.42.8 Subject: Re: [Caml-list] Fatal error: exception Pcre.Error(0) On Thu, Dec 22, 2011 at 07:39:14PM +0100, oliver wrote: > Hello, > > where is there a documentation about these kind of errors from pcre-lib? > I'm using Pcre.pmatch, which should just give me a bool. [...] If I remove ~flags:[`PARTIAL] from the call, this problem vanishes. And there are some non-matching items... Info on Pcre-module: /usr/lib/ocaml/pcre/META: ======================================================================= name="pcre" version="6.0.1" description="Perl Compatibility Regular Expressions" requires="" archive(byte)="pcre.cma" archive(native)="pcre.cmxa" linkopts = "" ======================================================================= /var/lib/ocaml/lintian/libpcre-ocaml-dev.info: ======================================================================= Package: libpcre-ocaml-dev Runtime: libpcre-ocaml Version: 6.0.1-2build1 File: debian/libpcre-ocaml-dev/usr/lib/ocaml/pcre/pcre.cma Force custom: no Extra C object files: -lpcre_stubs -lpcre -L/usr/lib Extra C options: -Wl,-Bsymbolic-functions ======================================================================= Not the newest one... (older Ubuntu system), so maybe it's an already known problem... Ciao, Oliver