ripgrepΒΆ guide Example 1: # rg -uu -tcpp -tc -tcmake -tmake "IImpl::topoffBuffers" . Print capture group only: rg '.*large1x1---(.*)---97' -or '$1' Pattern is not a regexp: -F