Skip to main content

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.

Metadata

Release files for guardrails-ai-regex-match 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for guardrails-ai-regex-match 0.1.0
File Size Uploaded Provenance
guardrails_ai_regex_match-0.1.0.tar.gz 4.1 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for guardrails-ai-regex-match 0.1.0
File Interpreter ABI Platform
guardrails_ai_regex_match-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 8.0 kB

Release files / guardrails_ai_regex_match-0.1.0.tar.gz

Download URL guardrails_ai_regex_match-0.1.0.tar.gz
Size 4.1 kB
Tags Source
SHA-256 checksum
How to use checksums
851a73b6317977d6dd70e8533ca3f0ec0a628f59646bcc7194dcbf6a6e56467e
BLAKE2b-256 checksum
How to use checksums
166c54550c7a8a04d36b43517f9c22c4dbba510893efe696741ca8b8fdc4b80e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.4

Release files / guardrails_ai_regex_match-0.1.0-py3-none-any.whl

Download URL guardrails_ai_regex_match-0.1.0-py3-none-any.whl
Size 3.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ce51f0e0e662cbc9e90bb5278db0062b037adb5a4bc3603f8c66a6c10b57e328
BLAKE2b-256 checksum
How to use checksums
bd254ae89acaecaecbbf245435819e68f47d5250cc1271b0c11558603d8faff3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.4

Security for guardrails-ai-regex-match 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page