Skip to content
Back to skills

Regex Tester

ASecurity

测试和调试正则表达式,支持匹配高亮、捕获组和常用模式库。

  • 85 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added February 7, 2026
developmentpythonbashexpressgit

Works with

  • claude code

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned February 12, 2026

npx -y skills add AIDotNet/MoYuCode --skill regex-tester --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Regex Tester?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Regex Tester
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/aidotnet-regex-tester/badge)](https://www.skillsdirectory.com/skills/aidotnet-regex-tester)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: regex-tester
description: 测试和调试正则表达式,支持匹配高亮、捕获组和常用模式库。
metadata:
  short-description: 测试正则表达式
source:
  repository: https://github.com/python/cpython
  license: PSF
---

# Regex Tester Tool

## Description
Test and debug regular expressions with match highlighting, capture group extraction, and a library of common patterns.

## Trigger
- `/regex` command
- User needs to test regex
- User wants pattern matching help

## Usage

```bash
# Test pattern
python scripts/regex_tester.py "\\d+" "abc123def456"

# Show capture groups
python scripts/regex_tester.py "(\\w+)@(\\w+)" "user@domain" --groups

# Find all matches
python scripts/regex_tester.py "\\b\\w{4}\\b" "The quick brown fox" --all

# Use common pattern
python scripts/regex_tester.py --pattern email "Contact: test@example.com"
```

## Tags
`regex`, `pattern`, `match`, `test`, `text`

## Compatibility
- Codex: ✅
- Claude Code: ✅

Files in this skill

  • SKILL.md977 B
  • scripts/regex_tester.py3.2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…