Skip to main content

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


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 details)

Uploaded Source

File details

Details for the file RegexGenerator-1.1.0.tar.gz.

File metadata

  • Download URL: RegexGenerator-1.1.0.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/54.1.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.1

File hashes

Hashes for RegexGenerator-1.1.0.tar.gz
Algorithm Hash digest
SHA256 5a3e52361d9f99fad354390d1d87e34fbf8e0a132350608b50a7bbdd3dd91659
MD5 913ffd8e91d7a9d9dd57ef007a86a555
BLAKE2b-256 1a54369bf73bd32538a14036ac21835716b398cf099460251664ad32663d3426

See more details on using hashes here.

Supported by

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