------- 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: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


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

-- 
## List details at http://lists.exim.org/mailman/listinfo/pcre-dev 

Reply via email to