I needed to find all the files that contained a specific string pattern. The first solution that comes to mind is using find piped with xargs grep:
With silver searcher:
ag 'abc.*(\n|.)*efg'
Speed optimizations of silver searcher could possibly shine here.