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 $

Submitter:  None
Submitted:  Wed 16 Sep 2009 02:32:59 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned 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

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-03-06 bonzini StatusNone Fixed
        Open/ClosedOpen Closed
        Summary--perl-regexp \\z\\Z not available, only $ --perl-regexp \z\Z not available, only $
    2010-03-06 bonzini Summary--perl-regexp \\z\\Z not available, only $ --perl-regexp \z\Z not available, only $

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code