Skip to main content
  • Returns matching lines with their path and line number.
  • Skips gitignored and binary files.

Input

boolean
Case-insensitive matching. Default false.
string
Only search matching files, e.g. .rs (file name) or src/**/.rs (relative path).
integer
Stop after this many matches. Default 100, cap 500.
string
File or directory to search. Default: the project directory.
string
required
Rust regex matched against each line.

Output

integer
object[]
integer
string
string
boolean