buggrep - Bugs: bug #27460, --perl-regexp \z\Z not available,...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #27460: --perl-regexp \z\Z not available, only $

Submitted by:  None
Submitted on:  Wed 16 Sep 2009 02:32:59 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Sat 06 Mar 2010 09:06:26 AM UTC, comment #1:

Fixed by a14685c2833f7c28a427fecfaf146e0a861d94ba.

Thank you for the bug report. This bug has been fixed in the
development sources, which can be downloaded using git from
git://git.sv.gnu.org/grep.git

Paolo Bonzini <bonzini>
Wed 16 Sep 2009 02:32:59 PM UTC, original submission:

perl has \z\Z
pcre has \z\Z
but grep -P doesn't support \Z

$ grep -V
GNU grep 2.5.4

Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

$ cat test
aba
abe

$ grep -P 'a\Z' test
$ grep -P 'a\z' test
$ grep -P 'a$' test
aba

Anonymous

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by bonzini (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 06 Mar 2010 09:07:07 AM UTCbonziniStatusNone=>Fixed
      Open/ClosedOpen=>Closed
      Summary--perl-regexp \\z\\Z not available, only $=>--perl-regexp \z\Z not available, only $
    Sat 06 Mar 2010 09:06:26 AM UTCbonziniSummary--perl-regexp \\z\\Z not available, only $=>--perl-regexp \z\Z not available, only $

    Back to the top


    Powered by Savane 3.1-cleanup1