/install ai-regex-assistant
Regex Assistant
AI-powered regular expression generation, explanation, testing, debugging, and cross-language conversion from your terminal.
Powered by Evolink.ai
When to Use
- User wants to generate a regex pattern from a plain language description
- User asks to explain what a regex pattern does
- User needs to test a regex against a file and find matches/edge cases
- User has a regex that doesn't work and needs debugging
- User needs to convert a regex between programming languages
- User wants a quick reference for regex syntax
Quick Start
1. Set your EvoLink API key
export EVOLINK_API_KEY="your-key-here"
Get a free key: evolink.ai/signup
2. Generate a regex
bash scripts/regex.sh generate "match email addresses" --lang python
3. Explain a regex
bash scripts/regex.sh explain "(?\x3C=@)[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}"
Capabilities
Local Commands (no API key needed)
| Command | Description |
|---|---|
cheatsheet |
Regex syntax quick reference — characters, quantifiers, groups, flags, common patterns |
AI Commands (require EVOLINK_API_KEY)
| Command | Description |
|---|---|
generate "\x3Cdesc>" [--lang \x3Clang>] |
AI generate regex from natural language with usage examples |
explain "\x3Cpattern>" [--lang \x3Clang>] |
AI explain regex pattern component by component |
test "\x3Cpattern>" \x3Cfile> |
AI test regex against file content, find matches and edge cases |
debug "\x3Cpattern>" "\x3Cinput>" "\x3Cexpected>" |
AI diagnose why a regex fails and provide a fix |
convert "\x3Cpattern>" --from \x3Clang> --to \x3Clang> |
AI convert regex between programming languages |
Supported Languages
python · javascript · go · java · rust · php · ruby · csharp · perl
Examples
Generate a regex for URLs
bash scripts/regex.sh generate "match HTTP and HTTPS URLs" --lang javascript
Explain a complex pattern
bash scripts/regex.sh explain "\b\d{1,3}(\.\d{1,3}){3}\b"
Test a regex against a log file
bash scripts/regex.sh test "\d{4}-\d{2}-\d{2}" server.log
Debug a failing regex
bash scripts/regex.sh debug "(\d+\.)+\d+" "192.168.1.1" "should match full IP but only matches partial"
Convert Python regex to Go
bash scripts/regex.sh convert "(?P\x3Cyear>\d{4})-(?P\x3Cmonth>\d{2})" --from python --to go
Quick reference
bash scripts/regex.sh cheatsheet
Configuration
| Variable | Default | Required | Description |
|---|---|---|---|
EVOLINK_API_KEY |
— | Yes (AI commands) | Your EvoLink API key. Get one free |
EVOLINK_MODEL |
claude-opus-4-6 |
No | Model for AI analysis |
Required binaries: python3, curl
Security
Data Transmission
AI commands send regex patterns and test content to api.evolink.ai for analysis by Claude. By setting EVOLINK_API_KEY and using these commands, you consent to this transmission. Data is not stored after the response is returned. The cheatsheet command runs entirely locally and never transmits data.
Network Access
api.evolink.ai— AI analysis (AI commands only)
Persistence & Privilege
Temporary files for API payloads are cleaned up automatically. No credentials or persistent data are stored.
Links
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install ai-regex-assistant - 安装完成后,直接呼叫该 Skill 的名称或使用
/ai-regex-assistant触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Regex Assistant 是什么?
AI-powered regular expression generation, explanation, testing, debugging, and cross-language conversion. Generate regex from natural language, explain compl... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 113 次。
如何安装 Regex Assistant?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install ai-regex-assistant」即可一键安装,无需额外配置。
Regex Assistant 是免费的吗?
是的,Regex Assistant 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Regex Assistant 支持哪些平台?
Regex Assistant 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Regex Assistant?
由 EvolinkAI(@evolinkai)开发并维护,当前版本 v1.0.0。