Re: git bug: Perl compatible regular expressions do not work as expected
- From
- demerphq <demerphq@gmail.com>
- Date
- Mar 25, 2023, 13:04 UTC
- Message-ID
- <CANgJU+Vn8ZLGcAYbuDeNkv6T5YdX6t20BqGQDPB0VL_TzoGSWg@mail.gmail.com>
- In-Reply-To
- <MW4PR20MB5517583CBEEF34B1E87CCF1290859@MW4PR20MB5517.namprd20.prod.outlook.com>
On Sat, 25 Mar 2023 at 14:00, Mario Grgic <mario_grgic@hotmail.com> wrote:
> git log --all -p -G '\bmain\b'
I think you want -P not -p.
cheers, Yves