[pcre-dev] Problem with a regexp

Αρχική Σελίδα
Delete this message
Συντάκτης: Thomas Weber
Ημερομηνία:  
Προς: pcre-dev
Αντικείμενο: [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