------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1565
           Summary: pcregrep doesn't correctly anchor start of subject
           Product: PCRE
           Version: 8.36
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: bug
          Priority: medium
         Component: Code
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


Hi, I have an unexpected behaviour with pcregrep at least from version 8.30
until the last one: \A doesn't only anchor to the start of the subject but also
at the start of a line.
here is the command line and output:
 pcregrep -nM --buffer-size=4M '\A\s++<\?' test.php
1:   <?php
7:

   <?php

whereas it should only return
1:   <?php

Thanks guys


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

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

Reply via email to