search
Find regular expression matches in text files, returning each match's path, line number, and line; optionally limit by path or glob and ignore case.
Instructions
Search text files for a regular expression; returns path, line number and line for each match. Optional start path, glob filter, ignore_case.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| glob | No | Glob on paths as shown, e.g. "*.rs". | |
| path | No | Directory or file to search; omit for everything. | |
| pattern | Yes | Regular expression (Rust regex syntax) matched against each line. | |
| ignore_case | No | Match case-insensitively (default false). |