Skip to main content
Python numeric range regular expression generator
=========================

Another like packages generates incorrect or excessive patterns.

Installation
=========================
::

pip install range-regex

or

::

git clone git://github.com/dimka665/range-regex.git

Usage
=========================
::

from range_regex import regex_for_range
from range_regex import bounded_regex_for_range

regex_for_range(12, 34)
bounded_regex_for_range(12, 34)

generates

"1[2-9]|2\d|3[0-4]"
"\b(1[2-9]|2\d|3[0-4])\b"

Metadata

Release files for range-regex 1.0.4

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

Source distribution (sdist)

Source distribution for range-regex 1.0.4
File Size Uploaded Provenance
range-regex-1.0.4.tar.gz 2.6 kB Without provenance Details

Release files / range-regex-1.0.4.tar.gz

Download URL range-regex-1.0.4.tar.gz
Size 2.6 kB
Tags Source
SHA-256 checksum
How to use checksums
fec0910a58786e4094b53a339a4013cecd43cd350da36b8dc4a245a537d47fdf
BLAKE2b-256 checksum
How to use checksums
f07ab2e2142fe63b0ac3fa5a6374d8cdced52aa4d2a93a131ef70e2be14ddb69
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for range-regex 1.0.4

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