Hello, I have encountered what I believe is a bug in GNU grep 3.8.
Consider the following simple regular expression with a mismatched brace:
^1{2,3]2$
The Mac version of grep (AT&T origin) properly flags this:
% egrep '^1{2,3]2$'
egrep: invalid repetition count(s)
%
GNU grep does not. Instead, it seems to backtrack and take away metacharacter
status from the brace, and therefore expects a literal match, so the only input
that would be accepted is:
1{2,3]2
Regards,
Bob Peraino
