Ensure content matches a provided regular expression. This can be used to validate content such as email addresses, phone numbers, and more.
Project description
guardrails-ai-regex-match
Ensure content matches a provided regular expression. This can be used to validate content such as email addresses, phone numbers, and more.
Installation
pip install guardrails-ai-regex-match
This validator ships local models. After installing, run the post-install step to download them:
python -m guardrails_ai.regex_match.post_install
Usage
from guardrails import Guard
from guardrails_ai.regex_match import RegexMatch
guard = Guard().use(RegexMatch)
License
MIT — © Guardrails AI.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file guardrails_ai_regex_match-0.1.0.tar.gz.
File metadata
- Download URL: guardrails_ai_regex_match-0.1.0.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
851a73b6317977d6dd70e8533ca3f0ec0a628f59646bcc7194dcbf6a6e56467e
|
|
| MD5 |
38f150f213d47548af0ca38f8e79c81b
|
|
| BLAKE2b-256 |
166c54550c7a8a04d36b43517f9c22c4dbba510893efe696741ca8b8fdc4b80e
|
File details
Details for the file guardrails_ai_regex_match-0.1.0-py3-none-any.whl.
File metadata
- Download URL: guardrails_ai_regex_match-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ce51f0e0e662cbc9e90bb5278db0062b037adb5a4bc3603f8c66a6c10b57e328
|
|
| MD5 |
2980f13388229c827fdf74f62d240bcb
|
|
| BLAKE2b-256 |
bd254ae89acaecaecbbf245435819e68f47d5250cc1271b0c11558603d8faff3
|