search: when looking for whole words, examine the entire line
This fixes https://savannah.gnu.org/bugs/?47933.
Этот коммит содержится в:
родитель
0cc3da5d5e
Коммит
18bdde4aa4
@ -324,6 +324,11 @@ int findnextstr(
|
||||
if (is_separate_word(found - fileptr->data, found_len,
|
||||
fileptr->data))
|
||||
break;
|
||||
else {
|
||||
/* Maybe there is a whole word in the rest of the line. */
|
||||
rev_start = found + 1;
|
||||
continue;
|
||||
}
|
||||
} else
|
||||
#endif
|
||||
break;
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user