Regexp-Assemble reviews


RSS | Module Info | Add a review of Regexp-Assemble

Regexp-Assemble (0.23) *****

This is the single most useful Regexp module that I know.
No longer will I compute my regexps with code like $re = qr/@{[join '|', reverse sort @items]}/ !

Perl 6 should definitely provide a way to assemble regular expressions in such an optimised way.

Regexp-Assemble (0.09) *****

Rather that loop through an array of Regexps looking for a match, this module allows for one to combine them all into one Regexp. This makes code much cleaner and easier to maintain. It is an excellent module.

Note that I'm not sure how well optimized the combined Regexp is compared to iterating through a loop, but for my purposes this hasn't been a concern.