backward_search


Description:

public bool backward_search (string str, TextSearchFlags flags, out TextIter match_start, out TextIter match_end, TextIter? limit)

Same as forward_search, but moves backward.

match_end will never be set to a TextIter located after this, even if there is a possible match_start before or at this .

Parameters:

this

a TextIter where the search begins

str

search string

flags

bitmask of flags affecting the search

match_start

return location for start of match, or null

match_end

return location for end of match, or null

limit

location of last possible match_start, or null for start of buffer

Returns:

whether a match was found