regexp_optimized_union 0.1.0
Regexp.optimized_union(word_list, regexp_options) generates optimized regexp for matching union of word list. Optimations include: treed common prefix extraction, common suffix aggregation and optional leaf to ?. Mostly the same as described in http://search.cpan.org/~dankogai/Regexp-Optimizer-0.15/lib/Regexp/List.pm#IMPLEMENTATION