Regexp-Assemble reviews

cpanratings
 

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.

Philippe 'BooK' Bruhat - 2006-03-21T02:15:02 (permalink)

6 out of 6 found this review helpful. Was this review helpful to you?  Yes No

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.

Robert Rothenberg - 2005-02-09T01:41:34 (permalink)

5 out of 5 found this review helpful. Was this review helpful to you?  Yes No