[Bug 291172] regexp.h routines behave differently for my program and in the base grep

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 23 Nov 2025 12:21:04 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291172

--- Comment #5 from Konstantin Belousov <kib@FreeBSD.org> ---
And from the latest POSIX 2024 standard:

9.3.2 BRE Ordinary Characters:
The '?', '+', and '|' characters; it is implementation-defined whether "\?",
"\+", and
"\|" each match the literal character '?', '+', or '|', respectively, or behave
as
described for the ERE special characters '?', '+', and '|', respectively (see
Section 9.4.3,
on page 188).

-- 
You are receiving this mail because:
You are the assignee for the bug.