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

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 26 Sep 2024 18:49:53 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281710

--- Comment #11 from Eric <erichanskrs@gmail.com> ---
(in reply to Kyle Evans comment #10)

Nothing that expansive either way; just one very old laptop & one forum
message.

I narrowed the problem down to:
--works NOT; there seems to be something wrong with [^ç]
sed -Ee 's/([^ç])ç/\1 /g;s/ç/\n/g'
sed -Ee 's/([^Z])Z/\1 /g;s/Z/\n/g'
couldn't explain the difference, then tried gsed; all that resulted in:
https://forums.freebsd.org/threads/bug-in-regexp-sed-1-grep-1-and-re_format-7.95088/

-- 
You are receiving this mail because:
You are on the CC list for the bug.