From: Mario Grgic Date: Sat, 25 Mar 2023 13:09:59 GMT Subject: Re: git bug: Perl compatible regular expressions do not work as expected Message-ID: In-Reply-To: The lowercase -p is to print the output in patch format. You can rewrite the command line as git log --all --patch --perl-regexp -G '\bmain\b’ I still get no output in any git version after 2.38.4