Subject: Re: git bug: Perl compatible regular expressions do not work as expected

From: Junio C Hamano <[email-masked]>
Date: Mon, 27 Mar 2023 09:30:51 -0700

Mario Grgic <[email-masked]> writes:

> Confirming that putting back NO_REGEX = YesPlease in the Makefile fixes the problem. I.e. the following patch fixes it for me:
>
> --- Makefile	2023-03-25 11:24:01.000000000 -0400
> +++ Makefile.patched	2023-03-25 11:25:11.000000000 -0400
> @@ -1554,6 +1554,7 @@
>  		APPLE_COMMON_CRYPTO = YesPlease
>  		COMPAT_CFLAGS += -DAPPLE_COMMON_CRYPTO
>  	endif
> +	NO_REGEX = YesPlease
>  	PTHREAD_LIBS =
>  endif

It will unfortunately break multibyte support on macOS by reverting
what 1819ad32 (grep: fix multibyte regex handling under macOS,
2022-08-26) did.