Skip to content

Cologler/regex-builder-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

regex builder

save you from regex hell.

>>> python
>>> from regex_builder import RegexBuilder
>>> builder = RegexBuilder()
>>> expr = builder.int_range(13, 255).reduce().compile()
>>> print(expr)
... 1[3-9]|[2-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5]

similar tools

Releases

No releases published

Packages

No packages published

Languages