[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: strange regexp behavior
From: |
Thomas Weber |
Subject: |
Re: strange regexp behavior |
Date: |
Sun, 14 Sep 2008 17:08:55 +0200 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
On Sat, Sep 13, 2008 at 06:38:17AM -0700, dbateman wrote:
>
> Ok, I can't test this at the moment, but an internal error in PCRE to me
> means that its your version of PCRE itself that has trouble with this string
> and pattern. Though to sent a bug report to PCRE lists a short example that
> is separate from octave is probably needed to demonstrate to the PCRE
> developers that the issue is there and not with Octave.
The error code returned by PCRE is PCRE_ERROR_MATCHLIMIT.
The problem happens also with the pcretest program:
=======================================================================
$ pcretest
PCRE version 7.6 2008-01-28
re> '(\s*-*\d+[.]*\d*\s*)+\n'
data>
'\t4\n0000\t-0.00\t-0.0000\t4\t-0.00\t-0.0000\t4\n0000\t-0.00\t-0.0000\t0\t-0.00\t-'
Error -8
=======================================================================
Thomas
- strange regexp behavior, G.., 2008/09/12
- Re: strange regexp behavior, Sergei Steshenko, 2008/09/12
- Re: strange regexp behavior, dbateman, 2008/09/13
- Re: strange regexp behavior,
Thomas Weber <=
- Re: strange regexp behavior, G.., 2008/09/18
- Re: strange regexp behavior, David Bateman, 2008/09/18
- Re: strange regexp behavior, G.., 2008/09/18
- Re: strange regexp behavior, David Bateman, 2008/09/18
- Re: strange regexp behavior, Thomas Weber, 2008/09/18
- Re: strange regexp behavior, David Bateman, 2008/09/18
- Re: strange regexp behavior, Thomas Weber, 2008/09/21
- Re: strange regexp behavior, David Bateman, 2008/09/23
- Message not available
- Re: strange regexp behavior, David Bateman, 2008/09/23
- Re: strange regexp behavior, John W. Eaton, 2008/09/24