Performance, Debugging, and Multiline Search/See what happens with binary detection

Override binary skipping during diagnosis.

Section: Debug missing or surprising results

See what happens with binary detection

bash
bash
rg -a 'PNG' asset.bin
Explanation

Binary detection can hide expected matches in mixed-content files.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Debug missing or surprising results
Inspect filtering decisions
Show diagnostics about ignores, globs, and traversal.
OpenIn sheetbashsame section
Verify advanced regex needs
Compare default engine vs PCRE2 behavior.
OpenIn sheetbashsame section
Audit ignore-file influence
Run without ignore support to compare results.
OpenIn sheetbashsame section
Use trace logging for deeper internals
Emit more verbose debugging than `--debug`.
OpenIn sheetbashsame section
Prefer literal search when possible
Use fixed strings for maximum speed.
OpenIn sheetbash1 tag match
Search across line boundaries
Allow regex matches to span multiple lines.
OpenIn sheetbash1 tag match