Skip to content
Sections
>> Trisquel >> Balíky >> etiona >> perl >> libregexp-optimizer-perl
etiona  ] [  nabia  ] [  aramo  ]
[ Zdroj: libregexp-optimizer-perl  ]

Balík: libregexp-optimizer-perl (0.23-1)

modules for optimizing regular expressions

This contains two modules, Regexp::List and Regexp::Optimizer.

Regexp::List offers a method which turns a list of words into an optimized regular expression which matches all words therein. The optimized regular expression is much more efficient than a simple-minded '|'-concatenation.

Regexp:Optimizer factors out common suffices/prefices in regular expressions (trie optimization). Currently, the user has to optimize "foo|far" and "foo|goo" into "f(?:oo|ar)" and "[fg]oo" by hand; this module does it automatically.

Ostatné balíky súvisiace s balíkom libregexp-optimizer-perl

  • závisí
  • odporúča
  • navrhuje
  • dep: libregexp-assemble-perl
    Perl module to merge several regular expressions
  • dep: perl
    Larry Wall's Practical Extraction and Report Language

Stiahnuť libregexp-optimizer-perl

Stiahnuť pre všetky dostupné architektúry
Architektúra Veľkosť balíka Nainštalovaná veľkosť Súbory
all 16.9 kB69 kB [zoznam súborov]