grep.txt 673 B

12345678
  1. - Fast content search tool that works with any codebase size
  2. - Searches file contents using regular expressions
  3. - Supports full regex syntax (eg. "log.*Error", "function\s+\w+", etc.)
  4. - Filter files by pattern with the include parameter (eg. "*.js", "*.{ts,tsx}")
  5. - Returns file paths with at least one match sorted by modification time
  6. - Use this tool when you need to find files containing specific patterns
  7. - If you need to identify/count the number of matches within files, use the Bash tool with `rg` (ripgrep) directly. Do NOT use `grep`.
  8. - When you are doing an open ended search that may require multiple rounds of globbing and grepping, use the Agent tool instead