regex-tester Skill
Validate, test, and debug regular expressions by executing them against sample inputs. Use when asked to build, verify, or explain a regex pattern. Published by microsoft in Build26-BRK243-claw-and-agent-harness-in-microsoft-foundry.
What is regex-tester Skill?
Validate, test, and debug regular expressions by executing them against sample inputs. Use when asked to build, verify, or explain a regex pattern. Published by microsoft in Build26-BRK243-claw-and-agent-harness-in-microsoft-foundry. This profile combines repository metadata with install, compatibility, and usage signals so developers can quickly decide whether it fits their agent workflow before opening the source repository.
Automated repository signals based on public metadata such as recency, license, installation evidence, and adoption. These are not a security audit or endorsement.
Key capabilities
- Includes SKILL.md support
- Reusable instructions support
- Testing
- Writing
- Testing use cases
- Writing use cases
Technical details
- Install or run with Copy skill directory
When to use regex-tester Skill
- Use it for testing.
- Use it for writing.
Built with
Editorial notes
Source
- Creator: microsoft
- Repository: microsoft/Build26-BRK243-claw-and-agent-harness-in-microsoft-foundry
- Skill file: src/Agent-Harness/Harness_Step04_CodeExecution/skills/regex-tester/SKILL.md
What it does
Validate, test, and debug regular expressions by executing them against sample inputs. Use when asked to build, verify, or explain a regex pattern.
Skill instructions
Usage When the user asks you to create, validate, or debug a regular expression: 1. Understand the requirement — clarify what the pattern should match and what it should reject. 2. Consult the cheatsheet — review references/regex-cheatsheet.md for syntax reminders if needed. 3. Write and execute test code — use the executecode tool to run Python code that: - Compiles the regex with re.compile() - Tests it against a set of positive examples (should match) and negative examples (should not match) - Extracts and displays any capturing groups - Reports pass/fail for each test case 4. Iterate — if any test fails, refine the pattern and re-run until all cases pass. 5. Present the result — give the user the final pattern, explain what each part does, and show the test results. Example Test Script python import re pattern = re.compile(r'^[\w.+-]+@[\w-]+.[\w.-]+$') positives = ["user@example.com", "first.last+tag@sub.domain.org"] negatives = ["@missing.com", "no-at-sign", "spaces in@address.co
Explore related resources
Frequently asked questions
What is regex-tester?
regex-tester is a open-source AI agent skill with Copy skill directory. Validate, test, and debug regular expressions by executing them against sample inputs. Use when asked to build, verify, or explain a regex pattern.
Who is regex-tester best for?
regex-tester is best for reusing agent instructions, scripts, and references, testing workflows, writing workflows.
How do I install regex-tester?
Install or run regex-tester using Copy skill directory. Check regex-tester for the latest setup command.
Is regex-tester actively maintained?
regex-tester may need a closer maintenance check before production use.