code_search
Locate code patterns using regex, retrieving file paths and line numbers. Filter results with context or file patterns, and include capture groups or matched text for detailed analysis.
Instructions
Search for code patterns using regex and return file locations with line numbers
Input Schema
Name | Required | Description | Default |
---|---|---|---|
context_pattern | No | Optional context pattern to filter matches | |
file_pattern | No | Optional file glob pattern to limit search scope | |
include_capture_groups | No | Include capture groups in the results | |
include_matched_text | No | Include matched text in the results | |
search_pattern | Yes | Regular expression pattern to search for |