Up to C 39.5.0
Every time you enter a new character in the search string, the new search is performed for the complete string.
As soon as no more matches are found for the current string the search field is colored red and it make no sense to add further characters to the string.