[pcre-dev] [Bug 872] New: Failed to match

Top Page
Delete this message
Author: Mike
Date:  
To: pcre-dev
New-Topics: [pcre-dev] [Bug 872] Failed to match
Subject: [pcre-dev] [Bug 872] New: Failed to match
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=872
           Summary: Failed to match
           Product: PCRE
           Version: 7.6
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: bug
          Priority: medium
         Component: Code
        AssignedTo: ph10@???
        ReportedBy: obuhov@???
                CC: pcre-dev@???



text to match = "   th     is     i s   a   t e s  t     "


regexp1 =
"(.*\n*)*(.*\n*)*(.*\n*)*(.*\n*)*(.*\n*)*(.*\n*)*(.*\n*)*(.*\n*)*(.*\n*)*(.*\n*)*(.*\n*)*(.*\n*)*(.*\n*)*(.*\n*)*(.*\n*)*(.|\n)(.*\n*)*(.|\n)"

regexp2="(.*\n*)*(.*\n*)*(.*\n*)*(.*\n*)*(.*\n*)*(.*\n*)*(.*\n*)*(.*\n*)*(.*\n*)*(.*\n*)*(.*\n*)*(.*\n*)*(.*\n*)*(.*\n*)*(.|\n)(.*\n*)*(.*\n*)*(.|\n)"

Results:
regexp1 is failed to match the text. (FAIL)
regexp2 successfully matches the text.(OK)

Expected results:
both regual expressions should succefully match the text.

Reproduced at version 7.9.


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