Date: Sun, 23 Nov 2025 11:29:31 +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-7Gpy6tDKNg@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 Konstantin Belousov <kib@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kib@FreeBSD.org --- Comment #1 from Konstantin Belousov <kib@FreeBSD.org> --- I beleieve that: 1. '+' must not be escaped by backslash, it becomes ordinary character to match 2. '+' only works as metasymbol for extended regexps, so you need REG_EXTENDED BTW, why did you specified literal 4 as flag for regexec? -- 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-7Gpy6tDKNg>
