Re: git bug: Perl compatible regular expressions do not work as expected
- From
- Mario Grgic <mario_grgic@hotmail.com>
- Date
- Mar 25, 2023, 13:09 UTC
- Message-ID
- <MW4PR20MB5517888E63C13099E284B97590859@MW4PR20MB5517.namprd20.prod.outlook.com>
- In-Reply-To
- <CANgJU+Vn8ZLGcAYbuDeNkv6T5YdX6t20BqGQDPB0VL_TzoGSWg@mail.gmail.com>
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