Piping ripgrep's output to Python for filtering (separate filename from match)

前端 未结 0 1862
春和景丽
春和景丽 2020-12-02 07:25

I need to use ripgrep to find a certain pattern. This will be a string describing a chemical reaction. The output of ripgrep looks something like this:

~ rg -         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题