Source Intelligence
Sweep 28 Aug 2026 · 00:00Z Build v2.1.250 478 read Stable v2.1.236 Latest v2.1.250 Next v2.1.250 Feeds RSS JSON llms.txt

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

Search the documentation

50 pages for regex.

Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it. Cut at 50, so a narrower query shows the rest.

define-tools Claude Developer Platform · in the page agents-and-tools/tool-use/define-tools …--------- | | `name` | The name of the tool. Must match the regex `^[a-zA-Z0-9_-]{1,64}$`.… how-tool-use-works Claude Developer Platform · in the page agents-and-tools/tool-use/how-tool-use-works …em. A clear sign that you should be using tools: if you're writing a regex to extract a decision from model output, that decision should have been a tool call. Parsing free-form text to recover struc… tool-reference Claude Developer Platform · in the page agents-and-tools/tool-use/tool-reference …agents-and-tools/tool-use/tool-search-tool) | `tool_search_tool_regex_20251119` `tool_search_tool_bm25_20251119` | Server | None… tool-search-tool Claude Developer Platform · in the page agents-and-tools/tool-use/tool-search-tool …| Claude Fable 5 (claude-fable-5) | `tool_search_tool_regex_20251119`, `tool_search_tool_bm25_20251119` | | Claude Mythos 5 (claude-mythos-5) | `tool_search_tool_regex_202… troubleshooting-tool-use Claude Developer Platform · in the page agents-and-tools/tool-use/troubleshooting-tool-use …| | `Unsupported regex feature in pattern field: ...` | A `pattern` in a strict tool's `input_schema` uses a regex feature tha… Beta Claude Developer Platform · in the page api/beta …- `"text_editor_code_execution"` - `"tool_search_tool_regex"` - `"tool_search_tool_bm25"` - `type: "server_tool_use"` - `cache_control: optional BetaCacheC… Messages Claude Developer Platform · in the page api/beta/messages …- `"text_editor_code_execution"` - `"tool_search_tool_regex"` - `"tool_search_tool_bm25"` - `type: "server_tool_use"` - `cache_control: optional BetaCacheC… Batches Claude Developer Platform · in the page api/beta/messages/batches …- `"text_editor_code_execution"` - `"tool_search_tool_regex"` - `"tool_search_tool_bm25"` - `type: "server_tool_use"` - `cache_control: optiona… Create a Message Batch Claude Developer Platform · in the page api/beta/messages/batches/create …- `"text_editor_code_execution"` - `"tool_search_tool_regex"` - `"tool_search_tool_bm25"` - `type: "server_tool_use"` - `cache_control: optiona… Retrieve Message Batch results Claude Developer Platform · in the page api/beta/messages/batches/results …- `"text_editor_code_execution"` - `"tool_search_tool_regex"` - `"tool_search_tool_bm25"` - `type: "server_tool_use"` default: server_tool_us… Count tokens in a Message Claude Developer Platform · in the page api/beta/messages/count_tokens …- `"text_editor_code_execution"` - `"tool_search_tool_regex"` - `"tool_search_tool_bm25"` - `type: "server_tool_use"` - `cache_control: optional BetaCacheC… Create a Message Claude Developer Platform · in the page api/beta/messages/create …- `"text_editor_code_execution"` - `"tool_search_tool_regex"` - `"tool_search_tool_bm25"` - `type: "server_tool_use"` - `cache_control: optional BetaCacheC… Messages Claude Developer Platform · in the page api/messages …- `"text_editor_code_execution"` - `"tool_search_tool_regex"` - `"tool_search_tool_bm25"` - `type: "server_tool_use"` - `cache_control: optional CacheContr… Batches Claude Developer Platform · in the page api/messages/batches …- `"text_editor_code_execution"` - `"tool_search_tool_regex"` - `"tool_search_tool_bm25"` - `type: "server_tool_use"` - `cache_control: optiona… Create a Message Batch Claude Developer Platform · in the page api/messages/batches/create …- `"text_editor_code_execution"` - `"tool_search_tool_regex"` - `"tool_search_tool_bm25"` - `type: "server_tool_use"` - `cache_control: optiona… Retrieve Message Batch results Claude Developer Platform · in the page api/messages/batches/results …- `"text_editor_code_execution"` - `"tool_search_tool_regex"` - `"tool_search_tool_bm25"` - `type: "server_tool_use"` default: server_tool_us… Count tokens in a Message Claude Developer Platform · in the page api/messages/count_tokens …- `"text_editor_code_execution"` - `"tool_search_tool_regex"` - `"tool_search_tool_bm25"` - `type: "server_tool_use"` - `cache_control: optional CacheContr… Create a Message Claude Developer Platform · in the page api/messages/create …- `"text_editor_code_execution"` - `"tool_search_tool_regex"` - `"tool_search_tool_bm25"` - `type: "server_tool_use"` - `cache_control: optional CacheContr… overview Claude Developer Platform · in the page build-with-claude/overview …of tools by dynamically discovering and loading tools on-demand using regex- and BM25-based search, optimizing context usage and improving tool selection accuracy. | ZDR… structured-outputs Claude Developer Platform · in the page build-with-claude/structured-outputs …error with details. </Accordion> <Accordion title="Pattern support (regex)"> **Supported regex features:** * Full matching (`^...$`) and partial matching * Quantifiers: `*`, `+`, `?`, simple… API usage primer for Claude Claude Developer Platform · in the page claude_api_primer …----------- | | `name` | The name of the tool. Must match the regex `^[a-zA-Z0-9_-]{1,64}$`. | | `description` | A detailed plaintext description of what the t… tools Claude Developer Platform · in the page managed-agents/tools …using glob patterns | | Grep | `grep` | Text search using regex patterns | | Web fetch | `web_fetch` | Fetch content from a URL | | Web search | `web_… develop-tests Claude Developer Platform · in the page test-and-evaluate/develop-tests …g candidate, string reference) { var candidateWords = Regex.Split(candidate.ToLowerInvariant().Trim(), @"\s+"); var referenceWords = Regex.Split(reference.ToLowerInvariant().… How the agent loop works Claude Code CLI · in the page agent-sdk/agent-loop …| Find files by pattern, search content with regex | | **Execution** | `Bash` | Run s… Intercept and control agent behavior with hooks Claude Code CLI · in the page agent-sdk/hooks …) triggers `file_security_hook` only for file modification tools. * A regex (`^mcp__`) triggers `mcp_audit_hook` for any MCP tool whose name starts with `mcp__`. * An omitted matcher triggers `global_… Agent SDK reference - TypeScript Claude Code CLI · in the page agent-sdk/typescript …ltiline?: boolean; }; ``` Powerful search tool built on ripgrep with regex support. ### TaskStop **Tool name:** `TaskStop` ```typescript theme={null} type TaskStopInput = { task_id?: string; s… Configure auto mode Claude Code CLI · in the page auto-mode-config …-your-effective-config) include your entries. Entries are prose, not regex or tool patterns. The classifier reads them as natural-language rules. Write them the way you would describe your infrastruc… Claude Code changelog Claude Code CLI · in the page changelog …inel copy (the whole file, or just the spans captured by an `extract` regex) while the sandbox proxy substitutes the real value on egress; on macOS file masking falls back to `deny` * Added warnings… Channels reference Claude Code CLI · in the page channels-reference …erdict format and emits the permission notification instead. The regex matches the ID format Claude Code generates: five letters, never `l`. The `/i` flag tolerates phone autocorrect capitalizing… Debug your configuration Claude Code CLI · in the page debug-your-config …te"` matches the same tools. Before v2.1.191, a comma fell through to regex evaluation and the matcher never matched, so use `|` if you aren't on v2.1.191 yet. * A misspelled tool name produces a matc… Hooks reference Claude Code CLI · in the page hooks …A matcher on the regular-expression path is tested with JavaScript's `RegExp.prototype.test`, which succeeds on a match anywhere in the value. `Edit.*` matches both `Edit` and `NotebookEdit`; wrap the… Automate actions with hooks Claude Code CLI · in the page hooks-guide …lits this value into literal filenames rather than evaluating it as a regex. See [FileChanged](/docs/en/hooks#filechanged) for how the same value also filters which hook groups run when a file changes… How Claude Code works Claude Code CLI · in the page how-claude-code-works …| **Search** | Find files by pattern, search content with regex, explore codebases | | **Execution… Create and distribute a plugin marketplace Claude Code CLI · in the page plugin-marketplaces …} ] } ``` Allow all marketplaces from an internal git server using regex pattern matching on the host. This is the recommended approach for [GitHub Enterprise Server](/docs/en/github-enterprise-ser… Recommend plugins for your org Claude Code CLI · in the page plugin-relevance …est files larger than 512 KB are skipped. Both values are JavaScript `RegExp` source strings of at most 256 characters. `file` matches case-insensitively. `pattern` is case-sensitive. Maximum 10 entri… Automate work with routines Claude Code CLI · in the page routines …: equals, contains, starts with, is one of, is not one of, or matches regex. The `matches regex` operator tests the entire field value, not a substring within it. To match any title containing `hotfi… Catch security issues as Claude writes code Claude Code CLI · in the page security-guidance …tom per-edit patterns Create `.claude/security-patterns.yaml` to add regex or substring rules to the [per-edit pattern check](#on-each-file-edit). These run as deterministic string matches alongside… Self-hosted environments reference Claude Code CLI · in the page self-hosted-environments-reference …pending on which Slack integration created them, so match both with a regex selector such as `{client_platform=~"claude[-_]in[-_]slack"}`. Use `sum()` for the fleet total. | | `claude_code_self_hosted… Claude Code settings Claude Code CLI · in the page settings …| | `footerLinksRegexes` | Render extra clickable badges in the footer when a regex matches turn output. Each entry has a `pattern`,… Claude Code settings reference Claude Code CLI · in the page settings-reference …e and terminal | Any file | | [`footerLinksRegexes`](#footerlinksregexes) | Make issue or review IDs in output into [clic… Customize your status line Claude Code CLI · in the page statusline …in the conversation, without writing a script, configure [`footerLinksRegexes`](/docs/en/settings-reference#footerlinksregexes) instead. Here's an example of a [multi-line status line](#display-multi… Tools reference Claude Code CLI · in the page tools-reference …a `new_string` and replaces the first with the second. It doesn't use regex or fuzzy matching. Three checks must pass for an edit to apply. Before any of them, a path matched by a [`Read` deny rule](… Voice dictation Claude Code CLI · in the page voice-dictation …d for coding vocabulary in both modes. Common development terms like `regex`, `OAuth`, `JSON`, and `localhost` are recognized correctly, and your current project name and git branch name are added as… Week 24 · June 8–12, 2026 Claude Code CLI · in the page whats-new/2026-w24 …wnloading instead of going silent</div> <div>New <code>footerLinksRegexes</code> setting adds regex-matched link badges to the footer row</div> </div> </div> [Full changelog for v2.1.166–v2.1.1… Client Best Practices Model Context Protocol · in the page docs/2024-11-05/develop/clients/client-best-practices …oose a search strategy: * **Keyword-based**: Keyword matching (BM25, regex). Simple and effective, particularly for descriptive tool names and descriptions. * **Embedding-based**: Vector-similarity r… Client Best Practices Model Context Protocol · in the page docs/2025-03-26/develop/clients/client-best-practices …oose a search strategy: * **Keyword-based**: Keyword matching (BM25, regex). Simple and effective, particularly for descriptive tool names and descriptions. * **Embedding-based**: Vector-similarity r… Client Best Practices Model Context Protocol · in the page docs/2025-06-18/develop/clients/client-best-practices …oose a search strategy: * **Keyword-based**: Keyword matching (BM25, regex). Simple and effective, particularly for descriptive tool names and descriptions. * **Embedding-based**: Vector-similarity r… Client Best Practices Model Context Protocol · in the page docs/2025-11-25/develop/clients/client-best-practices …oose a search strategy: * **Keyword-based**: Keyword matching (BM25, regex). Simple and effective, particularly for descriptive tool names and descriptions. * **Embedding-based**: Vector-similarity r… Client Best Practices Model Context Protocol · in the page docs/2026-07-28/develop/clients/client-best-practices …oose a search strategy: * **Keyword-based**: Keyword matching (BM25, regex). Simple and effective, particularly for descriptive tool names and descriptions. * **Embedding-based**: Vector-similarity r… Client Best Practices Model Context Protocol · in the page docs/draft/develop/clients/client-best-practices …oose a search strategy: * **Keyword-based**: Keyword matching (BM25, regex). Simple and effective, particularly for descriptive tool names and descriptions. * **Embedding-based**: Vector-similarity r…