a &lt;file&gt; allows for providing a search pattern
containing a \0.</p>
</div>
<div class="paragraph">
<p>Not all pattern types support patterns containing \0. Git will error
out if a given pattern type can&#8217;t support such a pattern. The
<code>--perl-regexp</code> pattern type when compiled against the PCRE v2 backend
has the widest support for these types of patterns.</p>
</div>
<div class="paragraph">
<p>In versions of Git before 2.23.0 patterns containing \0 would be
silently considered fixed. Thi