Re: [PATCH 2/2] grep/pcre2: factor out literal variable
From: Junio C Hamano <hidden> Date: 2021-12-20 20:53:26
Ævar Arnfjörð Bjarmason [off-list ref] writes:
Aside: Not needed for this change, but I wonder if we could benefit minutely
from:
#ifdef PCRE2_LITERAL
options |= PCRE2_LITERAL;
#endif
It'll save PCRE2 the small effort of finding that we've got no metacharacters.
After the dust settles, it would be a good addition in a separate
patch.
Thanks.