[pcre-dev] Problem with a regexp

Kezdőlap
Üzenet törlése
Szerző: Thomas Weber
Dátum:  
Címzett: pcre-dev
Tárgy: [pcre-dev] Problem with a regexp
Hi,

I'm not sure if the following is expected behaviour or a bug (the
problem came from a user who seems to experiment with regular
expressions):

=======================================================================
$ 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
=======================================================================

The same happens with 7.8. Is this error expected?

Thanks
    Thomas