regexkit
Regex testing, matching, extraction, and replacement CLI. Human-friendly output + --json for automation.
Install
pip install regexkit-cli
Commands
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 for agent-optimized documentation.
License
MIT
Release files for regexkit-cli 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| regexkit_cli-0.1.0.tar.gz | 5.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| regexkit_cli-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.9 kB
Release files / regexkit_cli-0.1.0.tar.gz
| Download URL | regexkit_cli-0.1.0.tar.gz |
|---|---|
| Size | 5.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7db87817359502cf21c6084b406943fa5817df7366f1250bd57939954eeeabe9
|
|
BLAKE2b-256 checksum How to use checksums |
2d863146c0e1687bec0ebdc88b9ad51ce7abbe9d93ba4077d302178f424b1c20
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.2
|
Release files / regexkit_cli-0.1.0-py3-none-any.whl
| Download URL | regexkit_cli-0.1.0-py3-none-any.whl |
|---|---|
| Size | 6.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
48341d448cc44769f71a3fe0e15178b2fd3854bf55336f6a704c0112ab9296ca
|
|
BLAKE2b-256 checksum How to use checksums |
8bc321fbd347666f7dbdb2770c6200dc18d5e7c62e4e2e97c50c6dd6e1c039a7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.2
|