From: Duy Nguyen Date: Mon, 06 Jul 2015 12:23:52 GMT Subject: Re: Git grep does not support multi-byte characters (like UTF-8) Message-ID: In-Reply-To: <2008630603.1189842.1436182096558.JavaMail.apache@nm33.abv.bg> On Mon, Jul 6, 2015 at 6:28 PM, Plamen Totev wrote: > Hello, > > It looks like the git grep command does not support multi-byte character sets like UTF-8. As a result some of the grep functionality is not working. For example if you search for non Latin words the ignore case flag does not have effect(the search is case sensitive). I suspect there are some regular expressions that will not work as expected too. I think we over-optimized a bit. If you your system provides regex with locale support (e.g. Linux) and you don't explicitly use fallback regex implementation, it should work. I suppose your test patterns look "fixed" (i.e. no regex special characters)? Can you try just add "." and see if case insensitive matching works? -- Duy