Capture the contents of a function, then use (*scs:...) to limit the match results to those whose captured text contains specific text.
(*scs:...)