News for hackers. Stuff that matters.
Re:Ripgrep is faster than grep, ag, Git grep, ucg, pt, sift ... by asicsp on Thursday November 30, 2023 @08:56AM (#38473552)
If you don't mind using PCRE, you can do it. For example:

    rg -P '(?=.*pat1)(?=.*pat2)(?=.*pat3)'
You could create a shell function shortcut if you need to use it often. But yeah, having it as a feature of the tool itself would be nice.

There are no comments on this comment yet.