← 返回
未分类 Key 中文

Regex Assistant

AI-powered regular expression generation, explanation, testing, debugging, and cross-language conversion. Generate regex from natural language, explain compl...
AI驱动的正则表达式生成、解释、测试、调试及跨语言转换。从自然语言生成正则表达式,解释...
evolinkai evolinkai 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 需要
★ 0
Stars
📥 356
下载
💾 0
安装
1
版本
#latest

概述

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 "(?<=@)[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}"

Capabilities

Local Commands (no API key needed)

CommandDescription
----------------------
cheatsheetRegex syntax quick reference — characters, quantifiers, groups, flags, common patterns

AI Commands (require EVOLINK_API_KEY)

CommandDescription
----------------------
generate "" [--lang ]AI generate regex from natural language with usage examples
explain "" [--lang ]AI explain regex pattern component by component
test "" AI test regex against file content, find matches and edge cases
debug "" "" ""AI diagnose why a regex fails and provide a fix
convert "" --from --to 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\d{4})-(?P\d{2})" --from python --to go

Quick reference

bash scripts/regex.sh cheatsheet

Configuration

VariableDefaultRequiredDescription
------------
EVOLINK_API_KEYYes (AI commands)Your EvoLink API key. Get one free
EVOLINK_MODELclaude-opus-4-6NoModel 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

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-07 08:06 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

dev-programming

YouTube

byungkyu
使用托管OAuth集成YouTube Data API,支持搜索视频、管理播放列表、获取频道数据及评论互动,适用于用户需要时使用此技能。
★ 142 📥 42,188
dev-programming

Mcporter

steipete
使用 mcporter CLI 直接列出、配置、认证及调用 MCP 服务器/工具(支持 HTTP 或 stdio),涵盖临时服务器、配置编辑及 CLI/类型生成功能。
★ 198 📥 68,337
dev-programming

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 687 📥 331,541