[Bug 291172] regexp.h routines behave differently for my program and in the base grep
Date: Sun, 23 Nov 2025 12:16:27 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291172
--- Comment #4 from Konstantin Belousov <kib@FreeBSD.org> ---
(In reply to Gleb Popov from comment #2)
Did you read re_format(7)?
Obsolete (“basic”) regular expressions differ in several respects. ‘|’
is an ordinary character and there is no equivalent for its
functionality. ‘+’ and ‘?’ are ordinary characters, and their
functionality can be expressed using bounds (‘{1,}’ or ‘{0,1}’
respectively).
--
You are receiving this mail because:
You are the assignee for the bug.