regex_search
Find specific lines of source code by providing a regular expression pattern. Returns matching code snippets from the indexed codebase.
Instructions
Search indexed code using a regular expression pattern. Returns exact line matching snippets.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of results to return. Defaults to 20, capped at 100. | |
| pattern | Yes | A valid regular expression pattern to match against source code. |