56 pages for regex.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
legal-summarization
Claude Developer Platform · in the page
about-claude/use-case-guides/legal-summarization
…Extractor.GetText(page))); // Remove page numbers text = Regex.Replace(text, @"\n\s*\d+\s*\n", "\n"); // Remove extra whitespace text = Regex.Replace(text, @"\s+", " ");…
ticket-routing
Claude Developer Platform · in the page
about-claude/use-case-guides/ticket-routing
…regular expression to extract `reasoning`. var reasoningMatch = Regex.Match(reasoningAndIntent, "<reasoning>(.*?)</reasoning>", RegexOptions.Singleline); var reasoning = reasoningMatch.Suc…
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,128}$`.…
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`<br />`tool_search_tool_bm25_20251119` | Server | None…
tool-search-tool
Claude Developer Platform · in the page
agents-and-tools/tool-use/tool-search-tool
…| `tool_search_tool_regex_20251119`, `tool_search_tool_bm25_20251119` | | Claude Mythos 5.1 (claude-mythos-5-1)…
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"` - `cache_control: optional BetaCacheControlEphemeral or null`…
Messages
Claude Developer Platform · in the page
api/beta/messages
…- `"text_editor_code_execution"` - `"tool_search_tool_regex"` - `"tool_search_tool_bm25"` - `cache_control: optional BetaCacheControlEphemeral or null`…
Batches
Claude Developer Platform · in the page
api/beta/messages/batches
…`"text_editor_code_execution"` - `"tool_search_tool_regex"` - `"tool_search_tool_bm25"` - `cache_control: optional BetaCacheControlEphemeral or null`…
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"` - `cache_control: optional BetaCacheControlEphemeral or null`…
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"` - `caller: optional BetaDirectCaller or BetaServerToolCaller or Be…
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"` - `cache_control: optional BetaCacheControlEphemeral or null`…
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"` - `cache_control: optional BetaCacheControlEphemeral or null`…
Messages
Claude Developer Platform · in the page
api/messages
…- `"text_editor_code_execution"` - `"tool_search_tool_regex"` - `"tool_search_tool_bm25"` - `cache_control: optional CacheControlEphemeral or null`…
Batches
Claude Developer Platform · in the page
api/messages/batches
…`"text_editor_code_execution"` - `"tool_search_tool_regex"` - `"tool_search_tool_bm25"` - `cache_control: optional CacheControlEphemeral or null`…
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"` - `cache_control: optional CacheControlEphemeral or null`…
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"` - `WebSearchToolResultBlock object` - `type: "web_searc…
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"` - `cache_control: optional CacheControlEphemeral or null`…
Create a Message
Claude Developer Platform · in the page
api/messages/create
…- `"text_editor_code_execution"` - `"tool_search_tool_regex"` - `"tool_search_tool_bm25"` - `cache_control: optional CacheControlEphemeral or null`…
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,128}$`. | | `description` | A detailed plain text description of what the…
tools
Claude Developer Platform · in the page
managed-agents/tools
…using glob patterns | | Grep | `grep` | Search text using regex patterns | | Web fetch | `web_fetch` | Fetch content from a URL | | We…
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
…earch** | `Glob`, `Grep` | Find files by pattern, search content with regex | | **Execution** | `Bash` | Run shell commands, scripts, git operations | | **Web** | `WebSearch`, `WebFetch` | Search the…
Intercept and control agent behavior with hooks
Claude Code CLI · in the page
agent-sdk/hooks
…`file_security_hook` for the Write, Edit, and NotebookEdit 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
…ber; multiline?: boolean; }; ``` 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…
Channels reference
Claude Code CLI · in the page
channels-reference
…he verdict 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…
Desktop application
Claude Code CLI · in the page
desktop
…ate to its end, and both lines where a test leaves two. Run `fail2ban-regex` there with the file and your jail's mode, for example `aggressive`: ```bash theme={null} fail2ban-regex -o ip lines.log "s…
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.md#filechanged) for how the same value also filters which hook groups run when a file chan…
How Claude Code works
Claude Code CLI · in the page
how-claude-code-works
…eorganize | | **Search** | Find files by pattern, search content with regex, explore codebases | | **Execution** | Run shell commands, start servers, run tests, use git | | **Web** | Search the web, f…
Connect Claude Code to an LLM gateway
Claude Code CLI · in the page
llm-gateway-connect
…way or upstream that checks each tool schema's `pattern` with its own regex engine rejects the whole request | Update to v2.1.268 or later, which doesn't send the regular expression. On an affected ve…
Deploy managed settings
Claude Code CLI · in the page
managed-settings
…l entry that is invalid or can't be enforced, such as a `hostPattern` regex that doesn't compile, is stripped and the valid subset is enforced. | | `availableModels` | Enforced as an empty allowlist u…
Test plugins with evals
Claude Code CLI · in the page
plugin-evals
…ers. A grader is a pass/fail check on what Claude produced, such as a regex over the reply, whether a particular tool was called, or a rubric that a second model judges the reply against. You don't h…
Recommend plugins for your org
Claude Code CLI · in the page
plugins/relevance
…dependency matching Each `manifestDeps` entry pairs two JavaScript `RegExp` source strings: * `file`: matched case-insensitively against the manifest file's path. The path is typically absolute, so…
Automate work with scheduled tasks
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`,…
All settings
Claude Code CLI · in the page
settings-reference
…your own command | Interface and terminal | Any file | | [`footerLinksRegexes`](#footerlinksregexes) | Make issue or review IDs in output into [clickable links](/docs/en/statusline.md#clickable-links)…
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. These 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
…get version before downloading instead of going silentNew `footerLinksRegexes` setting adds regex-matched link badges to the footer row [Full changelog for v2.1.166–v2.1.176 →](/docs/en/changelog.md#…
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…