[Bug 281710] RegEXP bug in bracket expression [^...] - sed(1), grep(1), re_format(7)
Date: Wed, 25 Sep 2024 19:06:45 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281710 Olivier Certner <olce@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |olce@FreeBSD.org --- Comment #3 from Olivier Certner <olce@FreeBSD.org> --- Tested these: echo 'a' | grep '[abà]' echo '9â' | grep -E '[^â]â' echo 'â' | grep -E '[^â]â' Same discrepancies between -CURRENT (as of mid-August) and 14-STABLE (as of mid-May). If I apply the above patch to that 14-STABLE, I get correct behavior (and consistent with -CURRENT) for these 3 tests and all Eric's problematic tests of comment 1. (In reply to Kyle Evans from comment #2) So it looks like just MFCing this commit (git just does it automatically) will solve this issue. It should have been so in the first place. Could you please do it both to stable/13 and stable/14? Else I can take care of that if you prefer. Thanks and regards. -- You are receiving this mail because: You are the assignee for the bug.