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

Página Principal
Apagar esta mensagem
Autor: Mike
Data:  
Para: pcre-dev
Tópicos Novos: [pcre-dev] [Bug 872] Failed to match
Assunto: [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