浏览代码

Enable UTF8 for PCRE

master
Arun Prakash Jana 4 年前
父节点
当前提交
a8bca5f440
找不到此签名对应的密钥 GPG 密钥 ID: A75979F35C080412
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      src/nnn.c

+ 1
- 1
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


正在加载...
取消
保存