[PATCH] grep: Don't bail out on first mismatch if '-w' option is set

2013-05-14 Thread Bartosz Golaszewski
This fixes bug 4520: 'grep -w fails when pattern is a strict substring of a word'. If '-w' option is set - grep will retry to match against the rest of the string after it finds a match not enclosed by delimiting symbols. Signed-off-by: Bartosz Golaszewski bartekg...@gmail.com ---

Re: [PATCH] grep: Don't bail out on first mismatch if '-w' option is set

2013-05-14 Thread Michael Tokarev
15.05.2013 01:01, Bartosz Golaszewski wrote: This fixes bug 4520: 'grep -w fails when pattern is a strict substring of a word'. If '-w' option is set - grep will retry to match against the rest of the string after it finds a match not enclosed by delimiting symbols. It's been fixed by commit

Re: [PATCH] grep: Don't bail out on first mismatch if '-w' option is set

2013-05-14 Thread Bartosz Gołaszewski
2013/5/14 Michael Tokarev m...@tls.msk.ru: 15.05.2013 01:01, Bartosz Golaszewski wrote: This fixes bug 4520: 'grep -w fails when pattern is a strict substring of a word'. If '-w' option is set - grep will retry to match against the rest of the string after it finds a match not enclosed by

Re: [PATCH] grep: Don't bail out on first mismatch if '-w' option is set

2013-05-14 Thread Denys Vlasenko
On Tuesday 14 May 2013 23:01, Bartosz Golaszewski wrote: This fixes bug 4520: 'grep -w fails when pattern is a strict substring of a word'. If '-w' option is set - grep will retry to match against the rest of the string after it finds a match not enclosed by delimiting symbols. Applied,