CyberZHG / toolbox

https://cyberzhg.github.io/toolbox/ Encoding and parsing tools.
GNU General Public License v3.0
949 stars 81 forks source link

Expanded regex syntax that can be accepted #29

Open Divide-By-0 opened 1 year ago

Divide-By-0 commented 1 year ago

Added some parsing to the grammar:

And improved build:

Code is a little brittle and there are no tests. There are now two input fields; one for closer-to-raw regex, and one for the fully parsed regex in the expected format. This new visualizer has been deployed (with credit back to this repo) at https://zkregex.com/min_dfa.

I moved all the website HTML to a build/ folder so may or may not work with Github Pages, but it renders perfectly with render.com.