comment fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1975 35c25a1d-7b9e-4130-9fde-d3aeb78583b8master
parent
7cfea8bb8c
commit
6b1c2adc86
|
@ -322,7 +322,7 @@ const char *strstrwrapper(const char *haystack, const char *needle,
|
||||||
&& haystack + regmatches[0].rm_so <= start) {
|
&& haystack + regmatches[0].rm_so <= start) {
|
||||||
const char *retval = haystack + regmatches[0].rm_so;
|
const char *retval = haystack + regmatches[0].rm_so;
|
||||||
|
|
||||||
/* Search forward until there is no more match. */
|
/* Search forward until there are no more matches. */
|
||||||
while (regexec(&search_regexp, retval + 1, 1, regmatches,
|
while (regexec(&search_regexp, retval + 1, 1, regmatches,
|
||||||
REG_NOTBOL) == 0 && retval + 1 +
|
REG_NOTBOL) == 0 && retval + 1 +
|
||||||
regmatches[0].rm_so <= start)
|
regmatches[0].rm_so <= start)
|
||||||
|
|
Loading…
Reference in New Issue