This project was created as an experiment to see how accurately I can generate valid regex when simply given a string(s) to match.
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:
\d{3}[-]\d{3}[-]\d{4}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
RegexGenerator-1.1.0.tar.gz
(2.8 kB
view hashes)