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

Bug#884075: [Bug regex/11053] Wrong results with backreferences



On 9/5/22 18:06, vincent-srcware at vinc17 dot net wrote:

What is the status of this bug? The comment says that it is fixed, and I could
check on an Ubuntu 22.04.1 LTS machine with libc6 2.35-0ubuntu3.1 that regbug.c
and rebug2.c no longer fail, but the result is still incorrect with the grep
example from Debian bug 884075:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=884075

vinc17@gcc92:~$ echo 11111111111 | grep -E '^(11+)\1+$|^1?$' ; echo $?
11111111111
0

It looks like my comment <https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=884075#27> was incorrect, in that the two bugs are different bugs. glibc bug 11053 is fixed, but Debian bug 884075 is not fixed. Perhaps a better match for Debian bug 884075 is glibc bug 10844.

It's not an important bug. However, if you have time to fix it please feel free to send in a fix.


Reply to: