[pcre-dev] [Bug 648] New: Match limit issue

Kezdőlap
Üzenet törlése
Szerző: Felipe Pena
Dátum:  
Címzett: pcre-dev
Tárgy: [pcre-dev] [Bug 648] New: Match limit issue
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=648
           Summary: Match limit issue
           Product: PCRE
           Version: N/A
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: bug
          Priority: medium
         Component: Code
        AssignedTo: ph10@???
        ReportedBy: felipensp@???
                CC: pcre-dev@???



I'd compiled as followed below:

felipe@pena:~/pcre-7.5-RC1$ ./configure --enable-pcretest-libreadline
--with-match-limit=999999999999999999

    Match limit ..................... : 999999999999999999
    Match limit recursion ........... : MATCH_LIMIT


And I tested:

re> /(\D+|<\d+>)*[!?]/
data> aaaaaaaaaaaaaaaaaaaaaaaa

Error -8

Whereas that:

 PCRE_ERROR_MATCHLIMIT     (-8)


The backtracking limit, as specified by the match_limit field in a
pcre_extra structure (or defaulted) was reached. See the description
above.


I ask, really Match limit was reached?


Regards,
Felipe Pena.


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email