GrandMoff100 / RegexFactory

Dynamically construct regex patterns with native python representations
https://regexfactory.readthedocs.io
GNU General Public License v3.0
7 stars 4 forks source link

implement precedence and adds tests for correctness #20

Open Alan-Chen99 opened 6 months ago

Alan-Chen99 commented 6 months ago

attempts to assign a precedence to each combinator.

generates some redundant parenthesis, but fixes some bugs.

Alan-Chen99 commented 6 months ago

(tests has not been updated yet)

Alan-Chen99 commented 5 months ago

@GrandMoff100 Fixed pylint errors, please review

GrandMoff100 commented 5 months ago

This is a huge PR lol

Please split it up into easily reviewable small ones (~50ish additions/deletions max)

GrandMoff100 commented 5 months ago

Otherwise your changes might be more suitable for a library of your own.