caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: oliver@first.in-berlin.de
To: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] PCRE: Invalid_argument("Pcre.get_offset_start: illegal offset")
Date: Fri, 24 Dec 2010 15:25:01 +0100	[thread overview]
Message-ID: <20101224142501.GA3936@siouxsie> (raw)
In-Reply-To: <20101224040306.GA18312@siouxsie>

On Fri, Dec 24, 2010 at 05:03:06AM +0100, oliver@first.in-berlin.de wrote:
> Hello,
> 
> I could not find a description in the PCRE-documentation,
> where this error comes from.
> 
> This does occur on my call to get_substring,
> but get_substring has documented exceptions,
> in case something goes wrong:
> 
>     * Invalid_argument if n is not in the range of the number of substrings.
>     * Not_found if the corresponding subpattern did not capture a substring.
[...]

It seems that trying to extract more substrings than are available,
this exception is raised.

This behaviour seems not to be documented.

Ciao,
   Oliver

  reply	other threads:[~2010-12-24 14:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-24  4:03 oliver
2010-12-24 14:25 ` oliver [this message]
2010-12-25 20:12   ` Markus Mottl
2010-12-25 20:29     ` oliver

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20101224142501.GA3936@siouxsie \
    --to=oliver@first.in-berlin.de \
    --cc=caml-list@yquem.inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).