grex Regular Expression Generator from Test Cases
grex is a command-line tool and library that automatically generates regular expressions from user-provided test cases. Written in Rust with Python bindings, it produces the most specific regex that matches the given input, supporting Unicode 16.0, character class detection, quantifier notation, and case-insensitive matching.
grex Regular Expression Generator from Test Cases
grex is a command-line tool and library that automatically generates regular expressions from user-provided test cases. Written in Rust with Python bindings, it produces the most specific regex that matches the given input, supporting Unicode 16.0, character class detection, quantifier notation, and case-insensitive matching.
Installation
Method 1, Agent Skill Exchange
- Install from the marketplace listing: https://agentskillexchange.com/skills/grex-regex-generator-from-test-cases/
Method 2, Git clone
git clone https://github.com/agentskillexchange/skills.git && cd skills/skills/grex-regex-generator-from-test-cases
Method 3, Download ZIP
- Download the repository ZIP and extract
skills/grex-regex-generator-from-test-cases.
Method 4, Manual copy
- Copy this skill folder into your local skills directory, then reload your agent tooling.
Method 5, Fork and sync
- Fork the repository if you want to maintain local edits while syncing upstream changes.