Learn Simple Regular Expressions
A project to learn simple regular expressions. Also publish package to pypi to learn automated publishing.
This project contains list of regex based functions.
Warning: This is just for learning purposes and should not be used in production use case.
Quick Start
Installation
Using UV (Recommended)
OR
Using pip
Usage
>>> from lsre import is_iso_date
>>> is_iso_date('2025-08-22')
True
>>> is_iso_date('1999-13-01')
False
Architecture
Each function in module follows this template.
flowchart LR
A["Input text"] --> B["lsre.is_url(text)"]
B --> C{"Valid Input String?"}
C -->|"Yes"| D["True if text is url else False"]
C -->|"No"| E["Raise TypeError for wrong datatype"]
More details
For full list of available functions, see the Code Reference section of the docs.