aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--noice.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/noice.c b/noice.c
index 1d34017..8d7f7f1 100644
--- a/noice.c
+++ b/noice.c
@@ -193,7 +193,7 @@ openwith(char *file)
for (i = 0; i < LEN(assocs); i++) {
if (regcomp(&regex, assocs[i].regex,
- REG_NOSUB | REG_EXTENDED) != 0)
+ REG_NOSUB | REG_EXTENDED | REG_ICASE) != 0)
continue;
if (regexec(&regex, file, 0, NULL, 0) == 0) {
bin = assocs[i].bin;