nnn

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit a8bca5f440510967764c9f4ed7978d42c30eef04
parent dda34f5c73545034d61c4936d773d105149b1bd0
Author: Arun Prakash Jana <engineerarun@gmail.com>
Date:   Wed, 12 Feb 2020 23:02:02 +0530

Enable UTF8 for PCRE

Diffstat:
Msrc/nnn.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/nnn.c b/src/nnn.c @@ -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