diff options
author | sin <sin@2f30.org> | 2015-05-05 18:45:35 +0100 |
---|---|---|
committer | sin <sin@2f30.org> | 2015-05-05 18:45:35 +0100 |
commit | b9cac3a190df07bcc0da7aa8318983f8e061f7c0 (patch) | |
tree | a624f1c5ff553c9ebb3b2a5c3759ac62f15a1dad | |
parent | 2ab57e77995749b6c9a5b374128ba0601bfa1cbe (diff) | |
download | nnn-b9cac3a190df07bcc0da7aa8318983f8e061f7c0.tar.gz |
Make setfilter() regexes case-insensitive
-rw-r--r-- | noice.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -211,7 +211,7 @@ setfilter(regex_t *regex, char *filter) char *errbuf; int r; - r = regcomp(regex, filter, REG_NOSUB | REG_EXTENDED); + r = regcomp(regex, filter, REG_NOSUB | REG_EXTENDED | REG_ICASE); if (r != 0) { errbuf = xmalloc(COLS * sizeof(char)); regerror(r, regex, errbuf, COLS * sizeof(char)); |