MichaÅ Kiedrowicz <michal.kiedrowicz@xxxxxxxxx> writes: > This patch adds few more tests to git-grep concerning the > -P/--perl-regexp option. > > While at it, add some generic tests for grep.extendedRegexp config > option, for detecting invalid regexep and check if "last one wins" rule > works for selecting regexp type. > > Signed-off-by: MichaÅ Kiedrowicz <michal.kiedrowicz@xxxxxxxxx> > --- > This is the promised update to tests and is meant to be applied on top of > mk/grep-pcre. Thanks, will queue. > t/t7810-grep.sh | 85 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ > 1 files changed, 85 insertions(+), 0 deletions(-) > > diff --git a/t/t7810-grep.sh b/t/t7810-grep.sh > index e845218..e061108 100755 > --- a/t/t7810-grep.sh > +++ b/t/t7810-grep.sh > @@ -32,6 +32,11 @@ test_expect_success setup ' > echo Hello_world > echo HeLLo_world > } >hello_world && > + { > + echo aab > + echo a+b > + echo a\\+b > + } >ab && At some point it would be a good idea to clean these up to use either cascading && or cat >ab <<\-EOF && ... EOF everywhere. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html