Skip to main content

Python numeric range regular expression generator

Project description

Python numeric range regular expression generator

Another like packages generates incorrect or excessive patterns.


pip install range-regex



git clone git://


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)



Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

range-regex-1.0.4.tar.gz (2.6 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page