for(i = allitems; i; i = i->next)
if(!i->matched && !strncasecmp(pattern, i->text, plen))
for(i = allitems; i; i = i->next)
if(!i->matched && !strncasecmp(pattern, i->text, plen))
int
strcaseido(const char *text, const char *pattern) {
for(; *text && *pattern; text++)
int
strcaseido(const char *text, const char *pattern) {
for(; *text && *pattern; text++)