rg Manual
ripgrep Rust version grep
, here records some common used options for it.
rg "xxx" -g "file_pattern.txt" -g "!*.out"
-i
: ignore case-s
: case sensitive
Patterns
!*.txt
: exclude*.txt
^.*fast.*$
:^
line head,$
line tail
ripgrep Rust version grep
, here records some common used options for it.
rg "xxx" -g "file_pattern.txt" -g "!*.out"
-i
: ignore case-s
: case sensitive!*.txt
: exclude *.txt
^.*fast.*$
: ^
line head, $
line tail