[Bug 281710] RegEXP bug in bracket expression [^...] - sed(1), grep(1), re_format(7)

[email protected]
Newsgroups gmane.os.freebsd.devel.standards
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281710

Olivier Certner <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #3 from Olivier Certner <[email protected]> ---
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.