help-octave
[Top][All Lists]
Advanced

[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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]