Regex Builder Pack
★Trusted◇Sandbox optionalv1.0.0MIT✔Verified80by AgentNode · published 5 months ago · toolpack
Build, test, and explain regular expressions with AI assistance.
Generate regex patterns from natural language, test patterns against sample text, get explanations of complex regex, and convert between regex flavors.
Quick Start
agentnode install regex-builder-packRuns in a subprocess with filtered environment by default. Declared permissions are policy-checked, not sandboxed.
Usage
From packagefrom regex_builder_pack.tool import run
result = run(
action="build_regex",
description="Match US phone numbers in formats like (555) 123-4567, 555-123-4567, or 5551234567",
test_strings=[
"Call me at (555) 123-4567 after 5pm",
"My number is 555-867-5309",
"Phone: 8005551234",
"Not a phone: 12-34"
]
)
print(f"Pattern: {result['pattern']}")
print(f"Flags: {result['flags']}")
print(f"\nExplanation: {result['explanation']}")
for test in result["test_results"]:
status = "MATCH" if test["matched"] else "NO MATCH"
print(f" [{status}] {test['input']}")
if test["matched"]:
print(f" Groups: {test['groups']}")Runs locally on your machine. No execution data is sent to AgentNode. Permissions are checked before execution. Learn how this works
Verification
Package installs and imports correctly. runtime checks passed.
This package was executed and validated by AgentNode before listing. Install, import, and runtime checks passed.
Verified in real_auto mode
Last verified 8/8/2026· Runner v2.0.0
Use this when you need to...
- ›Build email validation patterns from natural language descriptions
- ›Generate regex for parsing structured log file entries
- ›Explain complex existing regular expressions in plain English
- ›Test regex patterns against sample strings and show match groups
- ›Convert glob patterns and simple rules into production regex
README
Version History
Capabilities
Permissions
Declared by the publisher. Checked before execution by the policy gate.
Permissions are policy-checked before execution. For trusted and curated packages that run on the host, network and filesystem access are policy-checked but not OS-sandboxed. When runtime isolation is required for untrusted/community code, AgentNode uses sandbox-or-fail-closed if the required container runtime and pinned image are available. Learn more
Privacy
All tool execution happens locally on your machine. AgentNode never receives:
- • Tool inputs or outputs
- • Execution logs
- • Data your agent processes
Only install events and search queries are sent to the registry.
agentnode install regex-builder-packFiles (3)
License
MITStats
Compatibility
Frameworks
Runtime
pythonPython Version
>=3.10Trust & Security
Publisher
AgentNode
@agentnode