Ask a question to get started
Enter to send•Shift+Enter new line
Search for a literal text pattern in files.
Uses ripgrep if available, falling back to Python search.
grep_raw( self, pattern: str, path: str | None = None, glob: str | None = None ) -> list[GrepMatch] | str
pattern
str
Literal string to search for (NOT regex).
path
str | None
None
Directory or file path to search in. Defaults to current directory.
glob
Optional glob pattern to filter which files to search.