Merge branch 'rs/use-enhanced-bre-on-macos' into maint-2.39
commita67610f4ab77d4a3e3d1173e40d1a1250b5d1933
authorJunio C Hamano <gitster@pobox.com>
Tue, 14 Feb 2023 22:15:49 +0000 (14 14:15 -0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 14 Feb 2023 22:15:49 +0000 (14 14:15 -0800)
treee1c974e2fb1a7ead31034342a1bcac1ce1efa76c
parent11b53f8e52b9a7cbc9d7907ff719c535ff0d36f7
parent54463d32ef6798c772c8bbf69b2c1897a854db9f
Merge branch 'rs/use-enhanced-bre-on-macos' into maint-2.39

Newer regex library macOS stopped enabling GNU-like enhanced BRE,
where '\(A\|B\)' works as alternation, unless explicitly asked with
the REG_ENHANCED flag.  "git grep" now can be compiled to do so, to
retain the old behaviour.

* rs/use-enhanced-bre-on-macos:
  use enhanced basic regular expressions on macOS
git-compat-util.h