Date: Sat, 12 Dec 2020 06:45:06 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 251775] bsdgrep: egrep regards '{foo}' as invalid regular expression Message-ID: <bug-251775-227-77mTF61Iaz@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-251775-227@https.bugs.freebsd.org/bugzilla/> References: <bug-251775-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=3D251775 --- Comment #3 from Yasuhiro KIMURA <yasu@utahime.org> --- (In reply to Yuri Pankov from comment #1) Thanks for explanation. Then please let me ask one more question. While investigating I also found following two patterns are accepted by gnu= grep but rejected bsdgrep. * '(foo|)' * '.{0,256}' According to re_format(7) both of them are invalid as regular expression. T= hen are they also invalid with POSIX standard? --=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-251775-227-77mTF61Iaz>