mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 11:51:27 +00:00
Enable UTF8 for PCRE
This commit is contained in:
parent
dda34f5c73
commit
a8bca5f440
|
@ -2059,7 +2059,7 @@ static char xchartohex(char c)
|
|||
static char * (*fnstrstr)(const char *haystack, const char *needle) = &strcasestr;
|
||||
#ifdef PCRE
|
||||
static const unsigned char *tables;
|
||||
static int pcreflags = PCRE_NO_AUTO_CAPTURE | PCRE_EXTENDED | PCRE_CASELESS;
|
||||
static int pcreflags = PCRE_NO_AUTO_CAPTURE | PCRE_EXTENDED | PCRE_CASELESS | PCRE_UTF8;
|
||||
#else
|
||||
static int regflags = REG_NOSUB | REG_EXTENDED | REG_ICASE;
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue