[pcre-dev] [Bug 577] New: pcregrep crashing on a particular …

Góra strony
Delete this message
Autor: skavishwar
Data:  
Dla: pcre-dev
Temat: [pcre-dev] [Bug 577] New: pcregrep crashing on a particular regex
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=577
           Summary: pcregrep crashing on a particular regex
           Product: PCRE
           Version: 7.2
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: bug
          Priority: high
         Component: Code
        AssignedTo: ph10@???
        ReportedBy: s_kavishwar@???
                CC: pcre-dev@???



Created an attachment (id=205)
--> (http://bugs.exim.org/attachment.cgi?id=205)
the text im searching for

Hi,

I am running the pcregrep program, which comes with the PCRE library (ver 7.2)
against a file with a regex and it's crashing in the match() function:

pcregrep -f regex text

gives a Segmentation fault

The regex is:
\<body[^\>]+\>\s?(?:\<div\>\<font[^\>]+\>(?:[^\<]|\<br\>)*\<\/font\>[^\<]*\<\/div\>\s?){1,5}\<div\>\<a[^\>]+\>\<img[^\>]+\>\<\/a\>\<\/div\>\s?(?:\<div\>\<font[^\>]+\>(?:[^\<]|\<br\>)*\<\/font\>[^\<]*\<\/div\>\s?){1,5}\<\/body\>

I'm on Fedora Core 4 OS.

Please advise.

Thanks.


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