projects
/
nnn.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dda34f5
)
Enable UTF8 for PCRE
author
Arun Prakash Jana <engineerarun@gmail.com>
Wed, 12 Feb 2020 17:32:02 +0000 (23:02 +0530)
committer
Arun Prakash Jana <engineerarun@gmail.com>
Wed, 12 Feb 2020 17:32:02 +0000 (23:02 +0530)
src/nnn.c
patch
|
blob
|
history
diff --git
a/src/nnn.c
b/src/nnn.c
index a31b30e462e8f90c588efcc4bab6b468c1845dde..571530ef6adb2e5fa88e348d6878d4a7a0ef83e0 100644
(file)
--- 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