Skip to main content

A Python library for programmatically generating Regex.

Project description

Regex-Generator

This project was created as an experiment to see how accurately I can generate valid regex when simply given a string(s) to match.

How to use

Basic Example:

from RegexGenerator import RegexGenerator

myRegexGenerator = RegexGenerator("123-555-7676")

print(myRegexGenerator).get_regex()

Expected Output:

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

regex-generator-lib-0.1.3.tar.gz (2.1 kB view hashes)

Uploaded Source

Built Distribution

regex_generator_lib-0.1.3-py3-none-any.whl (3.3 kB view hashes)

Uploaded Python 3

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