Hacker News new | ask | show | jobs
by dnet 3941 days ago
Exrex does the same in Python and much more:

   - Generating all matching strings
   - Generating a random matching string
   - Counting the number of matching strings
   - Simplification of regular expressions
https://github.com/asciimoo/exrex (AGPL licensed)
1 comments

That's cool, thanks. I've discovered sre_parse thanks to that link, so cool too.