ソースを参照

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


読み込み中…
キャンセル
保存