A lightweight library to get regex of a string.
Project description
Installation
```pip install -U AutoReg```
Example
from AutoReg import AutoReg
ar=AutoReg()
print(ar.getRegex('ahjas'))
Params
Below are few parameters we have to provide according to our requirements:
1 Case_Sensitive :(default=True)
It is True means we consider the case of alphabets else it means we do not consider the lowercase or uppercase of alphabets.
2 Char_Sensitive :(default=True)
It is True means we consider the count of alphabets present in the string else it will provide the generic one.
3 Digit_Sensitive :(default=True)
It is True means we consider the count of digits present in the string else it will provide the generic one.
4 Space_Sensitive :(default= True)
It is True means we consider the count of space present in the string else it will provide the generic one.
5 Specialchar_Sensitive :(default= True)
It is True means we consider the count of special characters present in the string else it will provide the generic one.
More Updates Coming Soon... 😄
Contact
I would like to get feedback from the community. If you have feature suggestions, support questions or general comments, please email me at susmit.vssut@gmail.com
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
File details
Details for the file AutoReg-1.1.tar.gz.
File metadata
- Download URL: AutoReg-1.1.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
02ea065a4a16589c19d139275dc859858c12e791c1c12349a518de6a3f6789e9
|
|
| MD5 |
76d2694a9b061876167229995d5329a0
|
|
| BLAKE2b-256 |
f8c953efc55f67068dd9abba0e19f7c90ebee01d7175244dd442134e2384d845
|