mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-11-24 12:01:25 +01:00
Co-authored-by: marvin-context-protocol[bot] <225465937+marvin-context-protocol[bot]@users.noreply.github.com>
24 lines
735 B
Text
24 lines
735 B
Text
---
|
|
title: regex
|
|
sidebarTitle: regex
|
|
---
|
|
|
|
# `fastmcp.server.transforms.search.regex`
|
|
|
|
|
|
Regex-based search transform.
|
|
|
|
## Classes
|
|
|
|
### `RegexSearchTransform` <sup><a href="https://github.com/PrefectHQ/fastmcp/blob/main/fastmcp_slim/fastmcp/server/transforms/search/regex.py#L20" target="_blank"><Icon icon="github" style="width: 14px; height: 14px;" /></a></sup>
|
|
|
|
|
|
Search transform using regex pattern matching.
|
|
|
|
Tools are matched against their name, description, and parameter
|
|
information using Pydantic's Rust regex engine with case-insensitive
|
|
matching. Lookarounds and backreferences are not supported.
|
|
|
|
A search stops after about a second and returns the matches found so
|
|
far, so a costly pattern cannot hold the worker for long.
|
|
|