diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2016-06-25 07:22:33 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-07-01 12:44:57 -0700 |
commit | 9d9babb84d45234132f3cb1f4527ce1106e3d2ec (patch) | |
tree | d087573f2adde39ba70c0c864a01962fbbe8e67c /grep.h | |
parent | e944d9d932b3653debcfdd16eec2721eed0670e5 (diff) | |
download | git-9d9babb84d45234132f3cb1f4527ce1106e3d2ec.tar.gz |
grep/pcre: prepare locale-dependent tables for icase matching
The default tables are usually built with C locale and only suitable
for LANG=C or similar. This should make case insensitive search work
correctly for all single-byte charsets.
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'grep.h')
-rw-r--r-- | grep.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -48,6 +48,7 @@ struct grep_pat { regex_t regexp; pcre *pcre_regexp; pcre_extra *pcre_extra_info; + const unsigned char *pcre_tables; kwset_t kws; unsigned fixed:1; unsigned ignore_case:1; |