Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Nov 2025 12:16:27 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 291172] regexp.h routines behave differently for my program and in the base grep
Message-ID:  <bug-291172-227-sBwUwljv8l@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-291172-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

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.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-291172-227-sBwUwljv8l>