[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Findutils 4.2.23: incompatible regexp syntax
From: |
Andreas Metzler |
Subject: |
Re: Findutils 4.2.23: incompatible regexp syntax |
Date: |
Mon, 27 Jun 2005 19:16:48 +0200 |
User-agent: |
Mutt/1.5.9i |
On 2005-06-27 James Youngman <address@hidden> wrote:
> On Sun, Jun 26, 2005 at 10:55:38AM +0200, Andreas Schwab wrote:
> > Previous versions of find used the Emacs syntax for regexps.
> ... but if I recall correctly the documentation said the syntax was
> POSIX BRE.
Actually it says
| by default, Gnulib provides ‘‘basic’’ regular expressions.
and in
http://savannah.gnu.org/bugs/index.php?func=detailitem&item_id=4298
you said
| find(1) uses Gnulib's default re_match() implementation which provides
| "basic" regular expressions. I have updated the manual page in the CVS
| code to reflect this, and sent an email to bug-findutils asking if we
| should follow POSIX regexps instead. If the answer is yes, I will
| raise a separate bug.
> So there is also the issue of which bit to fix.
I'd vote for compability.
thanks, cu andreas
--
address@hidden:/tmp/findtest$ find
.
./*b
./*b/file
address@hidden:/tmp/findtest$ /tmp/find-regex-patch ./ -regextype \
posix-basic -regex '*b/file'
address@hidden:/tmp/findtest$