Date: Wed, 25 Sep 2024 15:01:57 +0000 From: bugzilla-noreply@freebsd.org To: standards@FreeBSD.org Subject: [Bug 281710] RegEXP bug in bracket expression [^...] - sed(1), grep(1), re_format(7) Message-ID: <bug-281710-99-7JVjQ1tj12@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-281710-99@https.bugs.freebsd.org/bugzilla/> References: <bug-281710-99@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D281710 Kyle Evans <kevans@freebsd.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kevans@freebsd.org --- Comment #1 from Kyle Evans <kevans@freebsd.org> --- On -CURRENT: kevans@ifrit:~$ echo '9=C3=A2' | /usr/bin/sed -n 's/\([^=C3=A2]\)\(= =C3=A2\)/-\1-\2-/p' -9-=C3=A2- kevans@ifrit:~$ echo '9=C3=A2' | /usr/bin/sed -En 's/([^=C3=A2])(=C3= =A2)/-\1-\2-/p'=20=20=20 -9-=C3=A2- kevans@ifrit:~$ echo '9=C3=A2' | /usr/bin/grep -E '[^=C3=A2]=C3=A2' 9=C3=A2 kevans@ifrit:~$ locale LANG=3Den_US.UTF-8 LC_CTYPE=3D"en_US.UTF-8" LC_COLLATE=3D"en_US.UTF-8" LC_TIME=3D"en_US.UTF-8" LC_NUMERIC=3D"en_US.UTF-8" LC_MONETARY=3D"en_US.UTF-8" LC_MESSAGES=3D"en_US.UTF-8" LC_ALL=3D (C.UTF-8 is also fine, as you would expect) --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-281710-99-7JVjQ1tj12>