[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #13495] repetition operator syntax changed in 4.2.21
From: |
Andreas Metzler |
Subject: |
[bug #13495] repetition operator syntax changed in 4.2.21 |
Date: |
Tue, 21 Jun 2005 17:40:14 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050513 Debian/1.7.8-1 |
URL:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=13495>
Summary: repetition operator syntax changed in 4.2.21
Project: findutils
Submitted by: ametzler
Submitted on: Die 21.06.2005 um 17:40
Category: find
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Release: 4.2.23
Fixed Release: None
_______________________________________________________
Details:
This is no bug-port but a request for discussion.
touch a0 b
now try to search for files with a name ending in a number (i.e. a0). With
4.2.2[123] you'll need to use
find . -regex '.*[0-9]\+'
with earlier versions you'll need
find . -regex '.*[0-9]+'
This breaks backwards compability but OTOH the new syntax (requiring \+)
matches GNU grep behavior.
Basic regex seem to be painful, glibc claims to support "POSIX regex
functions" but the basic regexes it actually implements match neither the
definition given in regex.7 (claiming to document POSIX 1003.2) nor the online
available IEEE Std 1003.1, 2004 Edition. (A implementaion of POSIX re e.g.
would not be allowed to support \|)
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=13495>
_______________________________________________
Nachricht geschickt von/durch Savannah
http://savannah.gnu.org/
- [bug #13495] repetition operator syntax changed in 4.2.21,
Andreas Metzler <=