prefix++;
negative = 1;
} else if (prefix[0] != '!') {
- die ("Invalid search pattern: %s", prefix);
+ return -1;
}
}
if (regcomp(®ex, prefix, REG_EXTENDED))
- die("Invalid search pattern: %s", prefix);
+ return -1;
for (l = list; l; l = l->next) {
l->item->object.flags |= ONELINE_SEEN;