[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #27460] --perl-regexp \z\Z not available, only $
From: |
anonymous |
Subject: |
[bug #27460] --perl-regexp \z\Z not available, only $ |
Date: |
Wed, 16 Sep 2009 14:33:00 +0000 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3 |
URL:
<http://savannah.gnu.org/bugs/?27460>
Summary: --perl-regexp \z\Z not available, only $
Project: grep
Submitted by: None
Submitted on: Wed 16 Sep 2009 02:32:59 PM UTC
Category: None
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
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
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?27460>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug #27460] --perl-regexp \z\Z not available, only $,
anonymous <=