programmatically make regex in python
Project description
Regex builder
programmatically make regex in python
Simple example
from regex_builder import Regex, Any
regex = (
Regex()
.section(Any("a", "b", "c"))
.section("hello")
)
print(regex)
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
regex_builder-1.0.0.tar.gz
(2.7 kB
view details)
Built Distribution
File details
Details for the file regex_builder-1.0.0.tar.gz
.
File metadata
- Download URL: regex_builder-1.0.0.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 352a84203659c2568bd468c3c9f72d0181646b3663193696056cf5fbce112ca1 |
|
MD5 | 765910f09dd2d461f84fa7c11d5b1908 |
|
BLAKE2b-256 | 9ace5a66e409e536a1cf9517603de6006dcf991fc0f500d280b70d7e4cd41d2d |
File details
Details for the file regex_builder-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: regex_builder-1.0.0-py3-none-any.whl
- Upload date:
- Size: 4.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd1f94c14dc4bf0f834e0562673f780956ab647d87dee60b22ef33b335a01ac6 |
|
MD5 | 60cca819d59a59b5a297e6623018c5cd |
|
BLAKE2b-256 | a93f6ab4a0b98e1d828411e31ee9d96d498d1b93daa5fa69bc664723b07cb584 |