diff options
Diffstat (limited to 'mansearch.c')
-rw-r--r-- | mansearch.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mansearch.c b/mansearch.c index 86f52e77..fe5def6a 100644 --- a/mansearch.c +++ b/mansearch.c @@ -608,6 +608,8 @@ exprterm(const struct mansearch *search, char *buf, int cs) e->bits = search->deftype; if ('~' == *v++) { + if (NULL != strstr(buf, "arch")) + cs = 0; if (0 != (irc = regcomp(&e->regexp, v, REG_EXTENDED | REG_NOSUB | (cs ? 0 : REG_ICASE)))) { regerror(irc, &e->regexp, errbuf, sizeof(errbuf)); |