Re: [PATCH/RFC] grep: add a perlRegexp configuration option
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jul 31, 2012, 20:30 UTC
- Message-ID
- <7vboivishe.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <CADFUPgfHQCzdnXfby5b+z-pRkt5o6MAVEf_1waWER3iVtM1TZA@mail.gmail.com>
J Smith <dark.panda@gmail.com> writes:
> ... For the sake of completeness (verbosity? pedantry?) I also > included a setting for "extended" which is equivalent to true.
Good thinking.
> With this sort of change, would a more generic "grep.regexpMode", > "grep.patternType" or something similar perhaps be more descriptive, > with "grep.extendedRegexp" being aliased for backwards compatibility > purposes? I could also add that functionality if desired.
A variable called "extendedRegexp" already reads quite naturally if it can have value to say what kind of extendedness is desired, at least to me. So I do not care too deeply either way.