In a previous question, Make region(s) invisible (not evaluated) to query-replacy and similar commands, I learned about isearch-filter-predicate
. Now, I wonder if is there a similar method to make regions invisible to functions like string-match
, occur
etc.