[pcre-dev] [Bug 1185] New: RunGrepTest fails (test #4 "pcreg…

Startseite
Nachricht löschen
Autor: J0nny
Datum:  
To: pcre-dev
Betreff: [pcre-dev] [Bug 1185] New: RunGrepTest fails (test #4 "pcregrep newline settings")
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1185
           Summary: RunGrepTest fails (test #4 "pcregrep newline settings")
           Product: PCRE
           Version: 8.21
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Severity: bug
          Priority: low
         Component: Code
        AssignedTo: ph10@???
        ReportedBy: gui-tuning@???
                CC: pcre-dev@???



Created an attachment (id=526)
--> (http://bugs.exim.org/attachment.cgi?id=526)
pcregrep_crlf_test4.patch

os: MINGW32_NT-6.1 J0NNY-PC 1.0.17(0.48/3/2) 2011-04-24 23:39 i686 Msys
pcre revision: 813

test #4
> pattern=`printf 'xxx\r\njkl'`
> $valgrind $pcregrep -n --newline=crlf -F "$pattern" testNinput >>testtry


fails, becouse msys replace \r\n with whitespace.

Possible solution in attachment.


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