mirror of
https://github.com/rspeer/wordfreq.git
synced 2024-12-24 09:51:38 +00:00
cc6920d7e4
* Don't repeat the logic that generates the ranges * Include only unassigned characters between two accepted ranges; this causes the resulting regexes to be a bit more readable. * Rearrange the script itself to avoid long lambdas and group helper functions together * Precompute the list of all the character classes for speed and terseness |
||
---|---|---|
.. | ||
gen_regex.py |