An index search returns -1 for not found, not 0.

Fixes the hang in \v+ at end of string.