Skip to main content

Expressive Regex

PyPI - License PyPI - License Codecov

This project was made with inspiration from Super Expressive for JavaScript.

Expressive Regex allow you to build regular expressions in almost natural language and without external dependency.

Documentation

Example to match a telephone number that can be in the format 555-555-555, 555 555 555 or 555555555.

ExpressiveRegex()\
    .exactly(2).group\
        .oneOrMore.digit\
        .optional.setOfLiterals\
            .char('-')\
            .whitespaceChar\
        .end()\
    .end()\
    .oneOrMore.digit\
.toRegexString()
"(?:\d+[\-\s]?){2}\d+"

Metadata

Release files for expressive-regex 0.4.5

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

Source distribution (sdist)

Source distribution for expressive-regex 0.4.5
File Size Uploaded Provenance Actions
expressive_regex-0.4.5.tar.gz 6.6 kB Without provenance Details for expressive_regex-0.4.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for expressive-regex 0.4.5
File Interpreter ABI Platform Actions
expressive_regex-0.4.5-py3-none-any.whl Python 3 none any Details for expressive_regex-0.4.5-py3-none-any.whl

Total release size: 14.1 kB

Release files / expressive_regex-0.4.5.tar.gz

Download URL expressive_regex-0.4.5.tar.gz
Size 6.6 kB
Tags Source
SHA-256 checksum
How to use checksums
0eeaa7422e516c1a4505dcd9377a262e7e7ec6460b3aaa97f926ca3bb0d1a26e
BLAKE2b-256 checksum
How to use checksums
bb694da62d93dc9560a01205bd3b73b686fbf7f214d872be9ab46aad2e0139ae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.0.10 CPython/3.7.1 Linux/4.15.0-1077-gcp

Release files / expressive_regex-0.4.5-py3-none-any.whl

Download URL expressive_regex-0.4.5-py3-none-any.whl
Size 7.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ca8a24e63a27ffbe5e8477be16a4e63a9de10f3510afd23ed094159279c3227a
BLAKE2b-256 checksum
How to use checksums
54474a1b518bb14ae663013cb84b88f53e923b725383ebf9b86e905284bbc9f7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.0.10 CPython/3.7.1 Linux/4.15.0-1077-gcp

Security for expressive-regex 0.4.5

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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.4.5 This release

2 release files No provenance

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