| CPAN Ratings (Gamma) Regexp-Assemble reviews | |
| Home | Search | About | Login |
RSS | Module Info | Add a review of Regexp-Assemble
5 out of 5 found this review helpful:
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-21 02:15:02
Was this review helpful to you?
Yes
No
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-09 01:41:34
Was this review helpful to you?
Yes
No
|
Perl.org sites
: bugs
| dev
| history
| jobs
| learn
| lists
| use
Site Information and Contacts |
|