bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: grep 2.5.1: two errors in 'make check'


From: Stepan Kasal
Subject: Re: grep 2.5.1: two errors in 'make check'
Date: Mon, 3 Feb 2003 13:29:02 +0100
User-agent: Mutt/1.2.5.1i

Hello,
        thank you for your bug report.

On Sat, Feb 01, 2003 at 01:49:42PM -0500, Patrick Smith wrote:
>       echo - | grep -E -e '(*)b'

This is a change in the way regex interprets this illegal pattern.
New regex correctly reports the error:

>       grep: Unmatched ) or \)

>       echo civic | grep -E -e \
>          '^(.?)(.?)(.?)(.?)(.?)(.?)(.?)(.?)(.?).?\9\8\7\6\5\4\3\2\1$'
> 
> expecting exit code 0.  Instead, the exit code is 1, with no output.

This seems to be a bug in current regex code.

To hide the first problem and solve the second one, ./configure grep
--with-included-regex .

Or you can relatively safely ignore the bugs.

Regards,
        Stepan Kasal




reply via email to

[Prev in Thread] Current Thread [Next in Thread]