Synchronous forward search. It is recommended to use the asynchronous functions instead, to not block the user interface. However, if you are sure that the buffer is small, this function is more convenient to use.
start of search.
return location for start of match, or NULL. out[allow-none]
return location for end of match, or NULL. out[allow-none]
whether a match was found. Since 3.10
See Implementation
Synchronous forward search. It is recommended to use the asynchronous functions instead, to not block the user interface. However, if you are sure that the buffer is small, this function is more convenient to use.