Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/zomatree/regex-builder

a lib for making regex programmatically
https://github.com/zomatree/regex-builder

Last synced: 8 days ago
JSON representation

a lib for making regex programmatically

Awesome Lists containing this project

README

        

# Regex builder

programmatically make regex in python

## Simple example

```py
from regex_builder import Regex, Any

regex = (
Regex()
.section(Any("a", "b", "c"))
.section("hello")
)

print(regex)
```