mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 12:32:40 +03:00
Merge branch '2764_pcre_case_sentitive'
* 2764_pcre_case_sentitive: Ticket #2764: Case sensitive search with SEARCH_TYPE_PCRE
This commit is contained in:
commit
db832810fe
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user