Date: Mon, 10 Sep 2018 17:40:47 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 223524] whatis 'c++' fails with regex error Message-ID: <bug-223524-227-NfWblu5dYm@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-223524-227@https.bugs.freebsd.org/bugzilla/> References: <bug-223524-227@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=3D223524 Kyle Evans <kevans@freebsd.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kevans@freebsd.org --- Comment #4 from Kyle Evans <kevans@freebsd.org> --- Hi, I'll take a look at fixing this in the upcoming weeks. The branch at [1] is inherently wrong; they can't just take a string and stuff it into an ERE li= ke that and hope it works-- one needs to escape any special characters to make them ordinary, and the user shouldn't be expected to do this manually. The behavior from stable/10 is technically wrong, but yields the correct re= sult by coincidence because gnuregex allows 'c++', though it has a different mea= ning than expected. I think we can come up with a reasonable compromise that sti= ll does exactly what you expect it to do. [1] https://svnweb.freebsd.org/base/head/contrib/mdocml/mansearch.c?revision=3D= 324362&view=3Dmarkup#l754 --=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-223524-227-NfWblu5dYm>
