https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251775

Yuri Pankov <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #1 from Yuri Pankov <[email protected]> ---
It's not grep itself, it's our regex implementation.

POSIX says it's UB:

*+?{
    The asterisk, plus-sign, question-mark, and left-brace shall be special
except when used in a bracket expression. Any of the following uses produce
undefined results:
    - If a left-brace is not part of a valid interval expression

re_format(7) is free interpretation of the standard.

FWIW, the best way is to fix your regular expressions.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to