Metadata-Version: 2.4
Name: regexkit-cli
Version: 0.1.0
Summary: Regex testing, matching, extraction, and replacement CLI
Author-email: Marcus <marcus.builds.things@gmail.com>
License-Expression: MIT
Project-URL: Homepage, https://github.com/marcusbuildsthings-droid/regexkit
Project-URL: Issues, https://github.com/marcusbuildsthings-droid/regexkit/issues
Keywords: regex,cli,text,pattern,match,extract
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Text Processing
Classifier: Topic :: Utilities
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: click>=8.0
Dynamic: license-file

# regexkit

Regex testing, matching, extraction, and replacement CLI. Human-friendly output + `--json` for automation.

## Install

```bash
pip install regexkit-cli
```

## Commands

```bash
regexkit test '\d+' "abc 123"              # Test if pattern matches
regexkit match '(\w+)@(\w+\.\w+)' text     # Find all matches with groups
regexkit extract '\b\d{3}\b' -f data.txt    # Extract matches, one per line
regexkit replace 'foo' 'bar' "foo baz foo"  # Replace matches
regexkit split '[,;]' "a,b;c"              # Split by pattern
regexkit escape 'hello.world*'              # Escape special chars
regexkit explain '^\d{3}-\d{4}$'            # Explain pattern tokens
```

All commands support `-i` (ignorecase), `-m` (multiline), `-s` (dotall), `--json`, and file/stdin input.

## For AI Agents

See [SKILL.md](SKILL.md) for agent-optimized documentation.

## License

MIT
