Hi, Steffen Nurpmeso wrote on Tue, May 02, 2017 at 10:04:06PM +0200:
> the snippet
>
> cat <<_EOT |grep '\(POSIX\|C\|en_\(US\|GB\)\)\.\(UTF-8\|utf8\)'
> C
> en_US.utf8
> en_US.UTF-8
> POSIX
> _EOT
>
> does not match on OpenBSD
Not a bug.
>From re_format(7):
BASIC REGULAR EXPRESSIONS
Basic regular expressions differ in several respects:
o `|', `+', and `?' are ordinary characters and there is no
equivalent for their functionality.
Yours,
Ingo
