msk-ono / re2py

Implementation of Ruxx Cox's https://swtch.com/~rsc/regexp/regexp1.html in python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

re2py

Implementation of Ruxx Cox's https://swtch.com/~rsc/regexp/regexp1.html in python

How to use

See tests/ and examples/.

Visualize in SVG format

NFA

REGEX = a(bb)+a

Match process

REGEX = a(bb)+a STRING = abbbba

About

Implementation of Ruxx Cox's https://swtch.com/~rsc/regexp/regexp1.html in python

License:MIT License


Languages

Language:Python 97.9%Language:Shell 2.1%