> It seems most packagers build with PCRE v2 now (CC: > git-packagers@). I.e. we'd keep something like compile_fixed_regexp() > (and as an aside just use PCRE's \Q...\E instead of our own escaping). OpenBSD does PCRE v1 without JIT but HardenedBSD does and therefore segfaults when calling: `git grep -P`. A fix probably based on the old proposed patchset[1] will be needed in this case with more urgency Carlo [1] https://public-inbox.org/git/20181209230024.43444-1-carenas@xxxxxxxxx/