SuperAPI AI 工具集

regex-tester

测试与质量

查看项目

更新于 10-15 16:43

技能介绍

用途:帮助用户测试和调试正则表达式,进行模式匹配,并提供常用模式库。触发方式为 /regex 命令,适用于需要测试正则或寻求模式匹配帮助的场景。

主要能力:匹配高亮、捕获组提取,以及内置常用模式库(如 email 等)。

使用方式:通过 python scripts/regex_tester.py 运行。测试模式:python scripts/regex_tester.py "\d+" "abc123def456";显示捕获组:python scripts/regex_tester.py "(\w+)@(\w+)" "user@domain" --groups;查找全部匹配:python scripts/regex_tester.py "\b\w{4}\b" "The quick brown fox" --all;使用常用模式:python scripts/regex_tester.py --pattern email "Contact: test@example.com"。

兼容性:Codex 与 Claude Code 均支持。

限制:公开资料未提供更多关于平台、收费、价格、效果或额外步骤的信息。