| --ignore-case, -i | Case-insensitive search. | — |
| --smart-case, -S | Case-insensitive if the pattern is all lowercase, else case-sensitive. | — |
| --fixed-strings, -F | Treat the pattern as a literal string, not a regex. | — |
| --word-regexp, -w | Only match the pattern surrounded by word boundaries. | — |
| --type, -t <type> | Only search files of the given type, e.g. -t py. `rg --type-list` shows all. | — |
| --glob, -g <glob> | Include or exclude files matching a glob. Prefix with ! to exclude. | — |
| --hidden | Search hidden files and directories. | — |
| --no-ignore | Do not respect .gitignore / .ignore files. | — |
| --files-with-matches, -l | Print only the paths of files that contain a match. | — |
| --count, -c | Print the count of matching lines per file. | — |
| --after-context, -A <n> | Show n lines of trailing context. | — |
| --before-context, -B <n> | Show n lines of leading context. | — |
| --context, -C <n> | Show n lines of context on both sides. | — |
| --replace, -r <text> | Replace matches with the given text in the output (does not edit files). | — |