rg Manual

ripgrep Rust version grep, here records some common used options for it.

rg "xxx" -g "file_pattern.txt" -g "!*.out"

Patterns