logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Regexp::List - Assemble multiple Regular Expressions into a single RE

Author

       Dan Kogai, "<dankogai+cpan at gmail.com>"

Bugs

       Please  report  any bugs or feature requests to "bug-regexp-optimizer at rt.cpan.org", or through the web
       interface at <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Regexp-Optimizer>.  I will be notified,  and
       then you'll automatically be notified of progress on your bug as I make changes.

Deprecated

       use Regexp::Assemble instead.

Description

       This module exists just for the sake of compatibility w/ version 0.16 and below.

       new
         Just a stub.

       list2re
         Simply does:

           Regexp::Asssemble->new->add(@list);

Name

       Regexp::List - Assemble multiple Regular Expressions into a single RE

See Also

       Regexp::Optimizer, Regexp::Assemble

Support

       You can find documentation for this module with the perldoc command.

           perldoc Regexp::Optimizer

       You can also look for information at:

       •   RT: CPAN's request tracker (report bugs here)

           <http://rt.cpan.org/NoAuth/Bugs.html?Dist=Regexp-Optimizer>

       •   AnnoCPAN: Annotated CPAN documentation

           <http://annocpan.org/dist/Regexp-Optimizer>

       •   CPAN Ratings

           <http://cpanratings.perl.org/d/Regexp-Optimizer>

       •   Search CPAN

           <http://search.cpan.org/dist/Regexp-Optimizer/>

Synopsis

         use Regexp::List;
         my $rl = Regexp::List->new();
         my @list = ( 'ab+c', 'ab+-',  'a\w\d+', 'a\d+' );
         print $rl->list2re(@list);
         # Regexp::Asssemble->new->add(@list);

Version

       $Id: List.pm,v 0.20 2013/02/23 13:43:59 dankogai Exp $

See Also