Re: [PATCH 5/5] grep: remove regflags from the public grep_opt API

2017-06-29 Thread Ævar Arnfjörð Bjarmason
On Thu, Jun 29 2017, Stefan Beller jotted: > On Wed, Jun 28, 2017 at 2:58 PM, Ævar Arnfjörð Bjarmason > wrote: >> Refactor calls to the grep machinery to always pass opt.ignore_case & >> opt.extended_regexp_option instead of setting the equivalent regflags >> bits. >> >> The

Re: [PATCH 5/5] grep: remove regflags from the public grep_opt API

2017-06-29 Thread Stefan Beller
On Wed, Jun 28, 2017 at 2:58 PM, Ævar Arnfjörð Bjarmason wrote: > Refactor calls to the grep machinery to always pass opt.ignore_case & > opt.extended_regexp_option instead of setting the equivalent regflags > bits. > > The bug fixed when making -i work with -P in commit

[PATCH 5/5] grep: remove regflags from the public grep_opt API

2017-06-28 Thread Ævar Arnfjörð Bjarmason
Refactor calls to the grep machinery to always pass opt.ignore_case & opt.extended_regexp_option instead of setting the equivalent regflags bits. The bug fixed when making -i work with -P in commit 9e3cbc59d5 ("log: make --regexp-ignore-case work with --perl-regexp", 2017-05-20) was really just