git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* t7810.94 (git-grep -E -F -G) never passed
@ 2011-05-25  3:27 Brian Gernhardt
  2011-05-25 10:21 ` Michael J Gruber
  0 siblings, 1 reply; 4+ messages in thread
From: Brian Gernhardt @ 2011-05-25  3:27 UTC (permalink / raw)
  To: git@vger.kernel.org List

I'm not sure why it's supposed to pass, actually.  -G makes the pattern be a basic regex and basic regexen don't recognize the + repetition operator.

expecting success: 
	echo ab:aab >expected &&
	git grep -E -F -G a\\+b >actual &&
	test_cmp expected actual

--- expected	2011-05-25 03:19:05.000000000 +0000
+++ actual	2011-05-25 03:19:05.000000000 +0000
@@ -1 +1 @@
-ab:aab
+ab:a+b
not ok - 94 grep -E -F -G pattern

~~ Brian G

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-05-25 21:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-25  3:27 t7810.94 (git-grep -E -F -G) never passed Brian Gernhardt
2011-05-25 10:21 ` Michael J Gruber
2011-05-25 12:48   ` Brian Gernhardt
2011-05-25 21:22     ` Michał Kiedrowicz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).