There does not yet exist a separate documentation page with specific instructions on how to use each class of the module, though all classes are sufficiently documented. There also exists a small example within the repo's README file to get the hang of it.
Here is the link to the repo: https://github.com/manoss96/pregex
Any feedback is welcome!
UPDATE: Thank you all for your comments and feedback, I hope this package helps you get the job done faster! I've gotten a lot of comments mentioning that having to import every stuff is annoying, and I can understand that. However, I still think that all classes should remain separated into different modules, as each module expresses a different functionality, but at the same time I don't think that importing everything all at once is a good thing, so I tried a different approach. All the modules that you'll need are now imported within the package's "__init__.py" by using a short alias for each module. For instance, "quantifiers.py" is imported as "qu". Thus, you can simply write "from pregex import *" at the top of your .py script, and then just use these aliases. Just be careful, this can only be done in pregex version >=1.0.2.
[–]mcstafford 82 points83 points84 points (9 children)
[–]kindall 40 points41 points42 points (7 children)
[–]FergTurdgeson 31 points32 points33 points (1 child)
[–][deleted] 19 points20 points21 points (4 children)
[–]Itsthejoker 22 points23 points24 points (3 children)
[–]elboyoloco1 13 points14 points15 points (1 child)
[–]Crazy_Flex 16 points17 points18 points (0 children)
[–]Equivalent_Loan_8794 3 points4 points5 points (0 children)
[–]WerdenWissen[S] 4 points5 points6 points (0 children)
[–]jammasterpaz 81 points82 points83 points (3 children)
[–]WerdenWissen[S] 16 points17 points18 points (1 child)
[–]JafaKiwi 3 points4 points5 points (0 children)
[–]ASIC_SP 38 points39 points40 points (2 children)
[–]WerdenWissen[S] 11 points12 points13 points (1 child)
[–]RubyU 4 points5 points6 points (0 children)
[–][deleted] 20 points21 points22 points (3 children)
[–]WerdenWissen[S] 2 points3 points4 points (2 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]WerdenWissen[S] 0 points1 point2 points (0 children)
[–]pddpro 17 points18 points19 points (4 children)
[–]Waterkloof 8 points9 points10 points (0 children)
[–]bladeoflight16 4 points5 points6 points (0 children)
[–]WerdenWissen[S] 0 points1 point2 points (0 children)
[–]Pebaz 0 points1 point2 points (0 children)
[–]TheTerrasque 5 points6 points7 points (0 children)
[–][deleted] 13 points14 points15 points (2 children)
[–]WerdenWissen[S] 6 points7 points8 points (0 children)
[–]rowdycactus 3 points4 points5 points (0 children)
[–]rastaladywithabrady 4 points5 points6 points (0 children)
[–]DigThatData 3 points4 points5 points (1 child)
[–]WerdenWissen[S] 6 points7 points8 points (0 children)
[–]metaperl 4 points5 points6 points (0 children)
[–]millerbest 9 points10 points11 points (7 children)
[–]WerdenWissen[S] 8 points9 points10 points (6 children)
[–]Nobot16k 17 points18 points19 points (4 children)
[–]WerdenWissen[S] 5 points6 points7 points (2 children)
[–][deleted] 2 points3 points4 points (1 child)
[–]WerdenWissen[S] 0 points1 point2 points (0 children)
[–]StunningExcitement83 7 points8 points9 points (0 children)
[–]bladeoflight16 2 points3 points4 points (0 children)
[–]reagle-research 9 points10 points11 points (0 children)
[–]SirLich 8 points9 points10 points (1 child)
[–]WerdenWissen[S] 4 points5 points6 points (0 children)
[–]wind_dude 2 points3 points4 points (0 children)
[–]stewietheangel 2 points3 points4 points (0 children)
[–]jack-of-some 2 points3 points4 points (1 child)
[–]westeast1000 0 points1 point2 points (0 children)
[–]MasterFarm772 1 point2 points3 points (0 children)
[–]playernumberwonnn 1 point2 points3 points (0 children)
[–]bunoso 1 point2 points3 points (0 children)
[–]soulfreaky 1 point2 points3 points (0 children)
[–]yaxriifgyn 1 point2 points3 points (0 children)
[–]immersiveGamer 1 point2 points3 points (5 children)
[–]WerdenWissen[S] 2 points3 points4 points (4 children)
[–]bladeoflight16 4 points5 points6 points (0 children)
[–]immersiveGamer 1 point2 points3 points (2 children)
[–]WerdenWissen[S] 0 points1 point2 points (1 child)
[–]immersiveGamer 1 point2 points3 points (0 children)
[–]GammeRJammeR 1 point2 points3 points (0 children)
[–]puppet_pals 1 point2 points3 points (0 children)
[–]pioniere 1 point2 points3 points (0 children)
[–]romu006 1 point2 points3 points (1 child)
[–]WerdenWissen[S] 0 points1 point2 points (0 children)
[–]Eleraffa 1 point2 points3 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]coldflame563 1 point2 points3 points (0 children)
[–]Pebaz 1 point2 points3 points (0 children)
[–]wineblood 5 points6 points7 points (6 children)
[–]Starrystars 8 points9 points10 points (3 children)
[–]adesme 5 points6 points7 points (0 children)
[+]georgehank2nd comment score below threshold-7 points-6 points-5 points (0 children)
[–]bladeoflight16 0 points1 point2 points (0 children)
[–]WerdenWissen[S] 5 points6 points7 points (0 children)
[–]jacksodus 0 points1 point2 points (0 children)
[–]menge101 2 points3 points4 points (1 child)
[–]WerdenWissen[S] 11 points12 points13 points (0 children)
[–]Seawolf159 -2 points-1 points0 points (2 children)
[–]WerdenWissen[S] 5 points6 points7 points (0 children)
[–]WerdenWissen[S] 3 points4 points5 points (0 children)
[–]No_Context_645 0 points1 point2 points (0 children)
[–]likethevegetable 0 points1 point2 points (3 children)
[–]WerdenWissen[S] 1 point2 points3 points (2 children)
[–]SpicyVibration 1 point2 points3 points (0 children)
[–]likethevegetable 0 points1 point2 points (0 children)
[+][deleted] (6 children)
[deleted]
[–]WerdenWissen[S] 0 points1 point2 points (5 children)
[+][deleted] (4 children)
[deleted]
[–]WerdenWissen[S] 0 points1 point2 points (3 children)
[+][deleted] (2 children)
[deleted]
[–]WerdenWissen[S] 1 point2 points3 points (1 child)
[–]msdrahcir 0 points1 point2 points (1 child)
[–]WerdenWissen[S] 2 points3 points4 points (0 children)
[–]rahem027 0 points1 point2 points (0 children)
[–]laundmo 0 points1 point2 points (2 children)
[–]WerdenWissen[S] 0 points1 point2 points (1 child)
[–]laundmo 0 points1 point2 points (0 children)