version 1.20, 2014/01/19 01:18:34 |
version 1.21, 2014/01/19 23:09:30 |
Line 608 exprterm(const struct mansearch *search, char *buf, in |
|
Line 608 exprterm(const struct mansearch *search, char *buf, in |
|
e->bits = search->deftype; |
e->bits = search->deftype; |
|
|
if ('~' == *v++) { |
if ('~' == *v++) { |
|
if (NULL != strstr(buf, "arch")) |
|
cs = 0; |
if (0 != (irc = regcomp(&e->regexp, v, |
if (0 != (irc = regcomp(&e->regexp, v, |
REG_EXTENDED | REG_NOSUB | (cs ? 0 : REG_ICASE)))) { |
REG_EXTENDED | REG_NOSUB | (cs ? 0 : REG_ICASE)))) { |
regerror(irc, &e->regexp, errbuf, sizeof(errbuf)); |
regerror(irc, &e->regexp, errbuf, sizeof(errbuf)); |