perl-Regexp-Assemble-0.38-alt1.noarch.rpm


Advertisement

Description

perl-Regexp-Assemble - Assemble multiple Regular Expressions into a single RE

Property Value
Distribution ALT Linux Sisyphus
Repository Classic noarch
Package name perl-Regexp-Assemble
Package version 0.38
Package release alt1
Package architecture noarch
Package type rpm
Installed size 245.07 KB
Download size 245.07 KB
Official Mirror ftp.altlinux.org
Regexp::Assemble takes an arbitrary number of regular expressions
and assembles them into a single regular expression (or RE) that
matches all that the individual REs match.
As a result, instead of having a large list of expressions to loop
over, a target string only needs to be tested against one expression.
This is interesting when you have several thousand patterns to deal
with. Serious effort is made to produce the smallest pattern possible.
It is also possible to track the original patterns, so that you can
determine which, among the source patterns that form the assembled
pattern, was the one that caused the match to occur.
You should realise that large numbers of alternations are processed
in perl's regular expression engine in O(n) time, not O(1). If you
are still having performance problems, you should look at using a
trie. Note that Perl's own regular expression engine will implement
trie optimisations in perl 5.10 (they are already available in
perl 5.9.3 if you want to try them out). `Regexp::Assemble' will
do the right thing when it knows it's running on a a trie'd perl.
(At least in some version after this one).
Some more examples of usage appear in the accompanying README. If
that file isn't easy to access locally, you can find it on a web
repository such as
http://search.cpan.org/dist/Regexp-Assemble/README or
http://cpan.uwinnipeg.ca/htdocs/Regexp-Assemble/README.html.

Alternatives

Package Version Architecture Repository
perl-Regexp-Assemble - - -

Requires

Name Value
/usr/share/perl5 -
perl(constant.pm) -
perl(overload.pm) -
perl(re.pm) -
rpmlib(PayloadIsLzma) -

Provides

Name Value
perl(Regexp/Assemble.pm) = 0.380
perl-Regexp-Assemble = 0.38-alt1

Download

Type URL
Binary Package perl-Regexp-Assemble-0.38-alt1.noarch.rpm
Source Package perl-Regexp-Assemble-0.38-alt1.src.rpm

Install Howto

  1. Add the following line to /etc/apt/sources.list:
    
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/Sisyphus noarch classic
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/Sisyphus noarch classic
    
  2. Update the package index:
    # sudo apt-get update
  3. Install perl-Regexp-Assemble rpm package:
    # sudo apt-get install perl-Regexp-Assemble

Files

Path
/usr/share/doc/perl-Regexp-Assemble-0.38/Changelog.ini
/usr/share/doc/perl-Regexp-Assemble-0.38/Changes
/usr/share/doc/perl-Regexp-Assemble-0.38/LICENSE
/usr/share/doc/perl-Regexp-Assemble-0.38/README
/usr/share/doc/perl-Regexp-Assemble-0.38/TODO
/usr/share/doc/perl-Regexp-Assemble-0.38/examples/assemble
/usr/share/doc/perl-Regexp-Assemble-0.38/examples/debugging
/usr/share/doc/perl-Regexp-Assemble-0.38/examples/failure.01.pl
/usr/share/doc/perl-Regexp-Assemble-0.38/examples/fee
/usr/share/doc/perl-Regexp-Assemble-0.38/examples/file.1
/usr/share/doc/perl-Regexp-Assemble-0.38/examples/file.2
/usr/share/doc/perl-Regexp-Assemble-0.38/examples/file.3
/usr/share/doc/perl-Regexp-Assemble-0.38/examples/file.4
/usr/share/doc/perl-Regexp-Assemble-0.38/examples/ircwatcher
/usr/share/doc/perl-Regexp-Assemble-0.38/examples/naive
/usr/share/doc/perl-Regexp-Assemble-0.38/examples/roman
/usr/share/doc/perl-Regexp-Assemble-0.38/examples/stress-test.pl
/usr/share/doc/perl-Regexp-Assemble-0.38/examples/tld
/usr/share/doc/perl-Regexp-Assemble-0.38/examples/track-5.10
/usr/share/doc/perl-Regexp-Assemble-0.38/examples/unquotemeta
/usr/share/doc/perl-Regexp-Assemble-0.38/examples/hostmatch/bad.canonical
/usr/share/doc/perl-Regexp-Assemble-0.38/examples/hostmatch/error.canonical
/usr/share/doc/perl-Regexp-Assemble-0.38/examples/hostmatch/good.canonical
/usr/share/doc/perl-Regexp-Assemble-0.38/examples/hostmatch/hostmatch
/usr/share/doc/perl-Regexp-Assemble-0.38/examples/hostmatch/source.in
/usr/share/perl5/Regexp/Assemble.pm

Changelog

2017-08-02 - Igor Vlasenko <viy@altlinux.ru> 0.38-alt1
- automated CPAN update
2016-04-20 - Igor Vlasenko <viy@altlinux.ru> 0.37-alt1
- automated CPAN update
2015-10-11 - Igor Vlasenko <viy@altlinux.ru> 0.36-alt1
- automated CPAN update
2013-09-24 - Igor Vlasenko <viy@altlinux.ru> 0.35-alt2
- fixed pod
2012-05-30 - Igor Vlasenko <viy@altlinux.ru> 0.35-alt1
- initial build for ALT Linux Sisyphus

See Also

Package Description
perl-Regexp-Bind-0.05-alt2.noarch.rpm Bind variables to captured buffers
perl-Regexp-Common-2017060201-alt1.noarch.rpm Regexp-Common - Provide commonly requested regular expressions
perl-Regexp-Common-WithActions-0.01-alt1.noarch.rpm adds actions to Regexp::Common
perl-Regexp-Common-net-CIDR-0.03-alt1_9.noarch.rpm Provide patterns for CIDR blocks
perl-Regexp-Grammars-1.048-alt1_3.noarch.rpm Add grammatical parsing features to perl regular expressions
perl-Regexp-IPv6-0.03-alt1_21.noarch.rpm Regular expression for IPv6 addresses
perl-Regexp-Optimizer-0.23-alt2.noarch.rpm optimizes regular expressions
perl-Regexp-Parser-0.22-alt1.noarch.rpm base class for parsing regexes
perl-Regexp-Shellish-0.93-alt2.1.noarch.rpm Shell-like regular expressions
perl-Regexp-Stringify-0.06-alt2.noarch.rpm Stringify a Regexp object
perl-Reply-0.42-alt1.noarch.rpm read, eval, print, loop, yay!
perl-Reply-scripts-0.42-alt1.noarch.rpm Reply scripts
perl-Return-MultiLevel-0.05-alt1.noarch.rpm return across multiple call levels
perl-Return-Value-1.666005-alt1.noarch.rpm Polymorphic Return Values
perl-Role-Basic-0.13-alt2.noarch.rpm Just roles. Nothing else
Advertisement
Advertisement