Re: [PATCH v2 7/9] grep/pcre: support utf-8

2015-07-11 Thread Plamen Totev
lets have file that contains the string TILRAUN: HALLÓÓÓ HEIMUR! the following command git grep -P "HALLÓ{3}" will not match the file while  git grep -P "HAL{2}ÓÓÓ" will. That's because the L symbol is a single byte. Regards, Plamen Totev -- To unsubscribe from this l

Re: Git grep does not support multi-byte characters (like UTF-8)

2015-07-07 Thread Plamen Totev
Junio C Hamano writes: > Plamen Totev writes:  >  > > pickaxe search also uses kwsearch so the case insensitive search with  > > it does not work (e.g. git log -i -S). Maybe this is a less of a  > > problem here as one is expected to search for exact string (hence  >

Re: [PATCH] grep: use regcomp() for icase search with non-ascii patterns

2015-07-07 Thread Plamen Totev
On 07.07. 2015 at 02:02, Duy Nguyen  wrote:  > On Tue, Jul 7, 2015 at 3:10 AM, René Scharfe wrote: > > Am 06.07.2015 um 14:42 schrieb Nguyễn Thái Ngọc Duy: > > So the optimization before this patch was that if a string was searched for > > without -F then it would be treated as a fixed string

Re: Git grep does not support multi-byte characters (like UTF-8)

2015-07-07 Thread Plamen Totev
etter if new function is introduced that performs keyword searches so it could be used by both grep, diffcore-pickaxe and any other code in the future that may require such functionality. Or maybe diffcore-pickaxe should use grep instead of directly kwset/regcomp Regards, Plamen Totev >

Git grep does not support multi-byte characters (like UTF-8)

2015-07-06 Thread Plamen Totev
to be copied from the GNU grep utility but the multi-byte support is left out. I just wondered what could be the reason.  Regards,  Plamen Totev -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majord...@vger.kernel.org More majordom