Commit Graph

14 Commits

Author SHA1 Message Date
Joshua Chin
7c189ef129 created alternate implementation of func-to-regex 2015-07-10 11:03:57 -04:00
Andrew Lin
f591e74663 Whoops -- put back 'file' as a variable name. (The perils of trusting syntax highlighting...) 2015-07-09 16:18:56 -04:00
Andrew Lin
cc6920d7e4 Tweaks to the regex generator for brevity:
* 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
2015-07-08 15:29:31 -04:00
Joshua Chin
b9578ae21e removed unused imports 2015-07-07 16:21:22 -04:00
Joshua Chin
27ea107e6f cleaned up gen regex 2015-07-07 16:00:24 -04:00
Joshua Chin
f04ca8fc9e updated emoji parser 2015-07-07 15:43:34 -04:00
Joshua Chin
9b851f3afe updated docstring 2015-07-07 15:33:51 -04:00
Joshua Chin
ae4699029d fixed spacing 2015-07-07 15:23:15 -04:00
Joshua Chin
5510fce675 fixed gen_regex 2015-07-07 15:22:04 -04:00
Joshua Chin
bd172594d3 fix grammar 2015-07-07 14:59:28 -04:00
Joshua Chin
10b5727725 updated _emoji_char_class docstring 2015-07-07 14:58:50 -04:00
Joshua Chin
22fbea4248 updated gen_regex to be run as script 2015-07-07 14:50:56 -04:00
Joshua Chin
f2b615b0f0 updated imports 2015-07-07 14:46:42 -04:00
Joshua Chin
476a909e4d factored out regex generation 2015-07-07 14:38:21 -04:00