Control: clone -1 -2
Control: reassign -2 glibc
Control: retitle -2 glibc: Wrong results with regex backreferences
Control: forwarded -2 https://sourceware.org/bugzilla/show_bug.cgi?id=11053
Control: block -1 by -2

El 08/12/17 a las 10:34, Paul Eggert escribió:
> On 12/08/2017 03:11 AM, Santiago R.R. wrote:
> > $ echo 1111111111111 | grep -E '^(11+)\1+$|^1?$' ; echo $?
> > 1111111111111
> > 0
> > 
> > Shouldn't the last grep command exit 1 too?
> 
> Yes it should. This appears to be due to a longstanding bug in the glibc
> regular expression matcher. See:
> 
> https://sourceware.org/bugzilla/show_bug.cgi?id=11053
> 

Hi,

Thanks for the info. I am reassigning this bug to glibc (and keeping a
copy of it for grep, in case possible future users will notice the
issue).

Cheers,

 -- Santiago

Reply via email to