Re: git bug: Perl compatible regular expressions do not work as expected
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Mar 27, 2023, 16:30 UTC
- Message-ID
- <xmqqcz4ucg1w.fsf@gitster.g>
- In-Reply-To
- <MW4PR20MB551779102E85B305E9F675E990859@MW4PR20MB5517.namprd20.prod.outlook.com>
Mario Grgic <mario_grgic@hotmail.com> writes:
Show 11 quoted lines
> 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.