Subject: RE: bug#8686: 24.0.50; `re-search-backward' does not respect `search-invisible'

From: "Drew Adams" <[email-masked]>
Date: Tue, 17 May 2011 19:18:31 -0700

> > Question: What is the simplest way, from Lisp, to get the "low-level
> > C" search functions to optionally respect/ignore hidden text?
> 
> Something like
> 
>   (while (and (re-search-forward blabla)
>               (invisible-p (point)))
>     ...)
> 
> The same idea can be used with syntax-ppss to skip over 
> matches that are inside comments/strings.

Yes, but why not have this built into the search functions themselves, just as
is done for isearch?  That was the point/suggestion.