Merge branch '2764_pcre_case_sentitive'

* 2764_pcre_case_sentitive:
  Ticket #2764: Case sensitive search with SEARCH_TYPE_PCRE
This commit is contained in:
Slava Zanko 2012-04-09 11:31:00 +03:00
commit db832810fe

View File

@ -748,7 +748,7 @@ mc_search__cond_struct_new_init_regex (const char *charset, mc_search_t * lc_mc_
if (str_isutf8 (charset) && mc_global.utf8_display)
{
pcre_options |= PCRE_UTF8;
if (lc_mc_search->is_case_sensitive)
if (!lc_mc_search->is_case_sensitive)
pcre_options |= PCRE_CASELESS;
}
else