DEBFIND Suche nach Debian-Paketen

Suchplatform für Softwarepakete und Archive Debian-basierter Linux-Distributionen

beta ! Diese website wird noch weiterentwickelt.

Liste aller Kategorien/Sektionen | Suchmaske | Haftungsausschluß

Paketbeschreibung


Paketnamelibregexp-assemble-perl
BeschreibungAssemble multiple Regular Expressions into a single RE
Archiv/RepositoryOffizielles Ubuntu Archiv lucid (universe)
Version0.34-2
Sektionuniverse/perl
Prioritätoptional
Installierte Größe292 Byte
Hängt ab vonperl (>= 5.6.0-16)
Empfohlene Pakete
PaketbetreuerUbuntu MOTU Developers
Quelle
Paketgröße91094 Byte
Prüfsumme MD5243450dd2972ea027c31278ad5ef4fc9
Prüfsumme SHA17388faec25f6a491046c9db44a01d0afc5452db6
Prüfsumme SHA2563ba0fe9f42fd527565823a9a712768943ade976d2fb873dffaafb358f7d207ca
Link zum Herunterladenlibregexp-assemble-perl_0.34-2_all.deb
Ausführliche BeschreibungRegexp::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).


Impressum
Linux is a registered trademark of Linus Torvalds